bbruns 2014-04-12 15:27:58 +00:00
parent d05f450d00
commit a601184ec0
2 changed files with 5 additions and 4 deletions

View File

@ -7,6 +7,7 @@ install:
$(DESTDIR)$(PREFIX)/etc/srfirewall $(DESTDIR)$(PREFIX)/etc/srfirewall
cp -r bin/* $(DESTDIR)$(PREFIX)/bin/ cp -r bin/* $(DESTDIR)$(PREFIX)/bin/
cp -r lib/* $(DESTDIR)$(PREFIX)/lib/srfirewall/ cp -r lib/* $(DESTDIR)$(PREFIX)/lib/srfirewall/
if [ ! -e $(DESTDIR)$(PREFIX)/etc/srfirewall/main.conf ]; then cp -r etc/* $(DESTDIR)$(PREFIX)/etc/srfirewall/; fi
install-etc: install-etc:
cp -r etc/* $(DESTDIR)$(PREFIX)/etc/srfirewall/ cp -r etc/* $(DESTDIR)$(PREFIX)/etc/srfirewall/

8
debian/rules vendored
View File

@ -5,8 +5,8 @@
#export DH_VERBOSE=1 #export DH_VERBOSE=1
%: %:
dh $@ dh $@ --with quilt
override_dh_auto_install: #override_dh_auto_install:
$(MAKE) DESTDIR=$$(pwd)/debian/srfirewall PREFIX=/usr install # $(MAKE) DESTDIR=$$(pwd)/debian/srfirewall PREFIX=/usr install
$(MAKE) DESTDIR=$$(pwd)/debian/srfirewall PREFIX=/usr install-etc # $(MAKE) DESTDIR=$$(pwd)/debian/srfirewall PREFIX=/usr install-etc