root authored 13 years ago
1) #!/usr/bin/make -f 2) # -*- makefile -*- 3) 4) # Uncomment this to turn on verbose mode. 5) #export DH_VERBOSE=1 6) 7) 8) 9) 10) 11) configure: configure-stamp 12) configure-stamp: 13) dh_testdir 14) # Add here commands to configure the package. 15) 16) touch configure-stamp 17) 18) 19) build: build-stamp 20) 21) build-stamp: configure-stamp 22) dh_testdir 23) 24) # Add here commands to compile the package. 25) cd $(CURDIR) && ./autogen.sh 26) cd $(CURDIR) && $(MAKE) 27) 28) touch $@ 29) 30) clean: 31) dh_testdir 32) dh_testroot 33) rm -f build-stamp configure-stamp 34) 35) # Add here commands to clean up after the build process. 36) cd $(CURDIR) && $(MAKE) clean 37) 38) dh_clean 39) 40) install: build 41) dh_testdir 42) dh_testroot 43) dh_clean -k 44) dh_installdirs 45) 46) # Add here commands to install the package into debian/wifidog-gateway. 47) cp $(CURDIR)/wifidog.conf $(CURDIR)/debian/wifidog-gateway/etc 48) cp $(CURDIR)/wifidog-msg.html $(CURDIR)/debian/wifidog-gateway/etc 49) cp $(CURDIR)/scripts/init.d/wifidog $(CURDIR)/debian/wifidog-gateway/etc/init.d 50) 51) cp $(CURDIR)/src/wdctl $(CURDIR)/debian/wifidog-gateway/usr/bin
Benjamin Renard authored 13 years ago
52) cp $(CURDIR)/src/.libs/wifidog $(CURDIR)/debian/wifidog-gateway/usr/bin