summaryrefslogtreecommitdiff
path: root/data/apt-rdepends/makefile.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-12-12 12:22:43 -1000
committerSam Bingner <sam@bingner.com>2018-12-12 12:22:43 -1000
commit8392357d8d02c96c1a0b6933c0748e47c29e7e30 (patch)
tree768c720bd5ea29f74ef8d24ec04906615d9ab487 /data/apt-rdepends/makefile.diff
parent9a4df01578b80a11383cc2376e38104c7c7644f6 (diff)
parent289fb68d04f3511395da101a87a87eb176ef36d4 (diff)
Merge testing to master
Diffstat (limited to 'data/apt-rdepends/makefile.diff')
-rw-r--r--data/apt-rdepends/makefile.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/data/apt-rdepends/makefile.diff b/data/apt-rdepends/makefile.diff
new file mode 100644
index 000000000..731851ba2
--- /dev/null
+++ b/data/apt-rdepends/makefile.diff
@@ -0,0 +1,30 @@
+diff -ur apt-rdepends-1.3.0/Makefile apt-rdepends-1.3.0+iPhone/Makefile
+--- apt-rdepends-1.3.0/Makefile 2005-09-21 11:10:56.000000000 -1000
++++ apt-rdepends-1.3.0+iPhone/Makefile 2018-11-30 22:41:05.000000000 -1000
+@@ -21,7 +21,8 @@
+
+ SHELL = /bin/sh
+
+-prefix = /usr/local
++DESTDIR ?=
++prefix = /usr
+ exec_prefix = ${prefix}
+
+ bindir = ${exec_prefix}/bin
+@@ -36,12 +37,12 @@
+ pod2man --section=8 --release=${VERSION} --center=" " $< > $@
+
+ install :
+- mkdir -p ${bindir}; \
+- ${INSTALL} apt-rdepends ${bindir}; \
++ mkdir -p "${DESTDIR}/${bindir}"; \
++ ${INSTALL} apt-rdepends "${DESTDIR}/${bindir}"; \
+
+ install-man : all
+- mkdir -p ${mandir}/man8; \
+- ${INSTALL_DATA} apt-rdepends.8 ${mandir}/man8;
++ mkdir -p "${DESTDIR}/${mandir}/man8"; \
++ ${INSTALL_DATA} apt-rdepends.8 "${DESTDIR}/${mandir}/man8";
+
+ clean :
+ rm -f apt-rdepends.8