From: gregor herrmann Date: Sun, 8 May 2011 13:19:09 +0000 (-0000) Subject: Set PREFIX in debian/rules and create necessary directories. X-Git-Tag: debian/1.3-1~1 X-Git-Url: https://git.toastfreeware.priv.at/debian/cpulimit.git/commitdiff_plain/69a444c4f6c96ed40364ead995477c2453232459 Set PREFIX in debian/rules and create necessary directories. --- diff --git a/debian/changelog b/debian/changelog index 212e6c4..4fab925 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ cpulimit (1.3-1) UNRELEASED; urgency=low * Bump debhelper compatibility level to 8. * debian/copyright: update formatting and packaging copyright years. * Switch to source format 3.0 (quilt). + * Set PREFIX in debian/rules and create necessary directories. -- gregor herrmann Sun, 08 May 2011 14:58:46 +0200 diff --git a/debian/cpulimit.dirs b/debian/cpulimit.dirs new file mode 100644 index 0000000..0c25af9 --- /dev/null +++ b/debian/cpulimit.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1/ diff --git a/debian/rules b/debian/rules index 2d33f6a..a9ba814 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,10 @@ #!/usr/bin/make -f +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + %: dh $@ + +override_dh_auto_install: + PREFIX=$(TMP)/usr dh_auto_install