summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 63781f4a066148a721d51921dd791dd03c62cf61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
%:
	dh $@  --with=systemd

override_dh_auto_configure:

override_dh_auto_build:
	$(MAKE) build

override_dh_auto_clean:
	$(MAKE) distclean

override_dh_auto_install:
	install -d $$(pwd)/debian/tmp/usr/bin/
	install -m 755 $$(pwd)/bin/rhimportd $$(pwd)/debian/tmp/usr/bin/
	install -m 755 $$(pwd)/debian/rhimportd.pre $$(pwd)/debian/tmp/usr/bin/
	install -d $$(pwd)/debian/tmp/etc/
	install -m 644 $$(pwd)/debian/rhimportd.conf $$(pwd)/debian/tmp/etc/
	install -d $$(pwd)/debian/tmp/usr/share/rhimportd/
	cp -r $$(pwd)/web-static/ $$(pwd)/debian/tmp/usr/share/rhimportd/