Commit 22d45449 authored by Łukasz Nowak's avatar Łukasz Nowak

Trust environment to provide install command in PATH.

There is no rule to put install in /usr/bin.
parent dbd59b03
--- pdftk-1.44-dist.original/pdftk/Makefile.Base 2010-10-28 23:19:18.000000000 +0200
+++ pdftk-1.44-dist/pdftk/Makefile.Base 2011-03-29 13:51:25.000000000 +0200
@@ -35,22 +35,24 @@
diff --git a/pdftk/Makefile.Base b/pdftk/Makefile.Base
index 0bedd04..36a439e 100644
--- a/pdftk/Makefile.Base
+++ b/pdftk/Makefile.Base
@@ -35,22 +35,24 @@ javalib :
$(MAKE) -f Makefile -iC $(JAVALIBPATH) all
attachments.o : attachments.cc attachments.h pdftk.h $(JAVALIB)
......@@ -22,7 +24,7 @@
install:
- /usr/bin/install pdftk /usr/local/bin
+ mkdir -p ${DEST}/bin
+ /usr/bin/install pdftk ${DEST}/bin
+ install pdftk ${DEST}/bin
uninstall:
- $(RM) $(RMFLAGS) /usr/local/bin/pdftk
......
......@@ -16,7 +16,7 @@ download-only = true
[pdftk-1.44-Makefile.Base-DEST-LDFLAGS.patch]
<= pdftk-patch-download
md5sum = 7b8268061f011c9b63613a078ac941ae
md5sum = 04a3607213e4e638c1fd993321804499
filename = pdftk-1.44-Makefile.Base-DEST-LDFLAGS.patch
[pdftk-hooks-download]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment