1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#!/usr/bin/make -f
include /usr/share/quilt/quilt.make
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
dh build
touch $@
override_dh_auto_build:
make -C src
clean: unpatch
unpatch: debhelper_clean
debhelper_clean: $(QUILT_STAMPFN)
dh clean
override_dh_auto_test:
@echo "No automatic tests, if you want to test that it works try running ./debian/test"
install: build
dh $@
override_dh_installinit:
dh_installinit -pdhttpd --update-rcd-params='defaults 50' --init-script=dhttpd
binary-arch: install
dh $@
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean debhelper_clean unpatch override_dh_installinit override_dh_auto_build build
|