Set PREFIX in debian/rules and create necessary directories.
authorgregor herrmann <gregoa@debian.org>
Sun, 8 May 2011 13:19:09 +0000 (13:19 -0000)
committergregor herrmann <gregoa@debian.org>
Sun, 8 May 2011 13:19:09 +0000 (13:19 -0000)
debian/changelog
debian/cpulimit.dirs [new file with mode: 0644]
debian/rules

index 212e6c4..4fab925 100644 (file)
@@ -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 <gregoa@debian.org>  Sun, 08 May 2011 14:58:46 +0200
 
diff --git a/debian/cpulimit.dirs b/debian/cpulimit.dirs
new file mode 100644 (file)
index 0000000..0c25af9
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1/
index 2d33f6a..a9ba814 100755 (executable)
@@ -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