aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/01-nyancat-debhelper.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/01-nyancat-debhelper.patch')
-rw-r--r--debian/patches/01-nyancat-debhelper.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/01-nyancat-debhelper.patch b/debian/patches/01-nyancat-debhelper.patch
new file mode 100644
index 0000000..e23f98a
--- /dev/null
+++ b/debian/patches/01-nyancat-debhelper.patch
@@ -0,0 +1,15 @@
+Description: Add $(DESTDIR) to install path
+ Debhelper doesn't like hardcoded install paths.
+Author: Jonathan McCrohan <jmccrohan@gmail.com>
+Date: Tue, 17 Apr 2012 13:32:20 +0100
+---
+--- nyancat-0.1+git20120401.5a88b86.orig/Makefile
++++ nyancat-0.1+git20120401.5a88b86/Makefile
+@@ -33,6 +33,6 @@ distcheck: $(distdir).tar.gz
+ @echo "*** Package $(distdir).tar.gz is ready for distribution."
+
+ install: all
+- install src/nyancat /usr/bin/${package}
++ install -Dm 0755 src/nyancat $(DESTDIR)/usr/bin/${package}
+
+ .PHONY: FORCE all clean check dist distcheck install