Makefile (537B)
1 ROOT=. 2 include $(ROOT)/mk/hdr.mk 3 include $(ROOT)/mk/wmii.mk 4 5 DIRS = \ 6 doc \ 7 examples \ 8 man \ 9 lib \ 10 cmd \ 11 rc \ 12 alternative_wmiircs 13 14 DOCS = FAQ \ 15 LICENSE \ 16 README 17 18 deb-dep: 19 IFS=', '; \ 20 apt-get -qq install build-essential $$(sed -n 's/([^)]*)//; s/^Build-Depends: \(.*\)/\1/p' debian/control) 21 22 DISTRO = unstable 23 deb: 24 $(ROOT)/util/genchangelog wmii-hg $(VERSION) $(DISTRO) 25 dpkg-buildpackage -rfakeroot -b -nc 26 [ -d .hg ] && hg revert debian/changelog || true 27 28 include $(ROOT)/mk/dir.mk 29