rules (253B)
1 #!/usr/bin/make -f 2 3 PACKAGE=$(shell awk 'NR == 1 { print $$2 }' debian/control) 4 5 FLAGS = PREFIX=/usr \ 6 DESTDIR=$(CURDIR)/debian/$(PACKAGE)/ 7 8 %: 9 dh $@ 10 11 override_dh_auto_build: 12 $(MAKE) $(FLAGS) all 13 14 override_dh_auto_install: 15 $(MAKE) $(FLAGS) install 16