diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-07 13:01:05 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-12-07 13:01:05 -1000 |
commit | dabe8669a56fca398da9a7dd117eb74f874cddc0 (patch) | |
tree | 1e9f41f484e72a02652b600498a7b09aee62b7e6 /data/apt-rdepends/makefile.diff | |
parent | bae6eae573376ebc0e942e88c4f6eaea9b0f1574 (diff) |
Update to use libapt instead of apt7-lib for apt1.4+ and add apt-rdepends
Diffstat (limited to 'data/apt-rdepends/makefile.diff')
-rw-r--r-- | data/apt-rdepends/makefile.diff | 30 |
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 |