From 69a444c4f6c96ed40364ead995477c2453232459 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Sun, 8 May 2011 13:19:09 +0000 Subject: [PATCH] Set PREFIX in debian/rules and create necessary directories. --- debian/changelog | 1 + debian/cpulimit.dirs | 2 ++ debian/rules | 6 ++++++ 3 files changed, 9 insertions(+) create mode 100644 debian/cpulimit.dirs 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 -- 2.30.2