wmii/debian/rules

33 lines
649 B
Plaintext
Raw Normal View History

2007-05-10 22:30:22 +04:00
#!/usr/bin/make -f
2010-07-08 02:47:39 +04:00
PACKAGE=$(shell awk 'NR == 1 { print $$2 }' debian/control)
FLAGS = DESTDIR=$(CURDIR)/debian/$(PACKAGE)/ \
PREFIX=/usr \
ETC=/etc/X11 \
STATIC= \
TERMINAL=x-terminal-emulator
2007-05-10 22:30:22 +04:00
2009-10-16 11:28:54 +04:00
%:
dh $@
2007-05-10 22:30:22 +04:00
override_dh_installwm:
dh_installwm --priority=60
2009-10-16 11:28:54 +04:00
override_dh_compress:
dh_compress -X.pdf
2007-05-10 22:30:22 +04:00
2010-07-08 02:47:39 +04:00
override_dh_auto_build:
$(MAKE) $(FLAGS) all
2009-10-16 11:28:54 +04:00
override_dh_auto_install:
2010-07-08 02:47:39 +04:00
$(MAKE) $(FLAGS) install
rm debian/$(PACKAGE)/usr/share/doc/wmii/LICENSE
install -D -m0644 img/icon.png debian/$(PACKAGE)/usr/share/icons/wmii.png
install -D -m0644 debian/file/wmii.desktop debian/$(PACKAGE)/usr/share/xsessions/wmii.desktop
2007-05-10 22:30:22 +04:00
2010-07-08 02:47:39 +04:00
.depend:
true
2007-05-10 22:30:22 +04:00