libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

commit 69df4aac2070c071bc16ab320e6fff580680cfd3
parent 3571aad743966970e616012fa5538d6ec90cfffb
Author: Kris Maglione <kris@suckless.org>
Date:   Wed,  7 Jul 2010 18:14:45 -0400

[debian] Fix PREFIX and DESTDIR

Diffstat:
debian/changelog | 6++++++
debian/rules | 11+++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog @@ -1,3 +1,9 @@ +libixp-hg (137) unstable; urgency=low + + * [debian] Add 'deb' make target. + + -- Kris Maglione <kris@suckless.org> Tue, 06 Jul 2010 21:24:20 -0400 + libixp-hg (136) unstable; urgency=low * Add debhelper to debian build dependency list. diff --git a/debian/rules b/debian/rules @@ -1,5 +1,16 @@ #!/usr/bin/make -f +PACKAGE=$(shell awk 'NR == 1 { print $$2 }' debian/control) + +FLAGS = PREFIX=/usr \ + DESTDIR=$(CURDIR)/debian/wmii-hg/ + %: dh $@ +override_dh_auto_build: + $(MAKE) $(FLAGS) all + +override_dh_auto_install: + $(MAKE) $(FLAGS) install +