aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/01-nyancat-make-install.patch
blob: 54c4a557886970d8f63614e9a9c404187a667b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Add $(DESTDIR) to install path
 Required for debhelper dh_install
 .
 nyancat (0.1+git20120401.5a88b86-1) unstable; urgency=low
 .
   * Initial release (Closes: #661565)
Author: Jonathan McCrohan <jmccrohan@gmail.com>
Bug-Debian: http://bugs.debian.org/661565

---
--- 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