rules (649B)
1 #!/usr/bin/make -f 2 3 PACKAGE=$(shell awk 'NR == 1 { print $$2 }' debian/control) 4 5 FLAGS = DESTDIR=$(CURDIR)/debian/$(PACKAGE)/ \ 6 PREFIX=/usr \ 7 ETC=/etc/X11 \ 8 STATIC= \ 9 TERMINAL=x-terminal-emulator 10 11 %: 12 dh $@ 13 14 override_dh_installwm: 15 dh_installwm --priority=60 16 17 override_dh_compress: 18 dh_compress -X.pdf 19 20 override_dh_auto_build: 21 $(MAKE) $(FLAGS) all 22 23 override_dh_auto_install: 24 $(MAKE) $(FLAGS) install 25 26 rm debian/$(PACKAGE)/usr/share/doc/wmii/LICENSE 27 install -D -m0644 img/icon.png debian/$(PACKAGE)/usr/share/icons/wmii.png 28 install -D -m0644 debian/file/wmii.desktop debian/$(PACKAGE)/usr/share/xsessions/wmii.desktop 29 30 .depend: 31 true 32