wmii/debian/rules

33 lines
649 B
Makefile
Executable File

#!/usr/bin/make -f
PACKAGE=$(shell awk 'NR == 1 { print $$2 }' debian/control)
FLAGS = DESTDIR=$(CURDIR)/debian/$(PACKAGE)/ \
PREFIX=/usr \
ETC=/etc/X11 \
STATIC= \
TERMINAL=x-terminal-emulator
%:
dh $@
override_dh_installwm:
dh_installwm --priority=60
override_dh_compress:
dh_compress -X.pdf
override_dh_auto_build:
$(MAKE) $(FLAGS) all
override_dh_auto_install:
$(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
.depend:
true