mirror of https://github.com/0intro/wmii
30 lines
537 B
Makefile
30 lines
537 B
Makefile
ROOT=.
|
|
include $(ROOT)/mk/hdr.mk
|
|
include $(ROOT)/mk/wmii.mk
|
|
|
|
DIRS = \
|
|
doc \
|
|
examples \
|
|
man \
|
|
lib \
|
|
cmd \
|
|
rc \
|
|
alternative_wmiircs
|
|
|
|
DOCS = FAQ \
|
|
LICENSE \
|
|
README
|
|
|
|
deb-dep:
|
|
IFS=', '; \
|
|
apt-get -qq install build-essential $$(sed -n 's/([^)]*)//; s/^Build-Depends: \(.*\)/\1/p' debian/control)
|
|
|
|
DISTRO = unstable
|
|
deb:
|
|
$(ROOT)/util/genchangelog wmii-hg $(VERSION) $(DISTRO)
|
|
dpkg-buildpackage -rfakeroot -b -nc
|
|
[ -d .hg ] && hg revert debian/changelog || true
|
|
|
|
include $(ROOT)/mk/dir.mk
|
|
|