Skip to content

Commit

Permalink
Use ./install-sh instead of install -c
Browse files Browse the repository at this point in the history
  • Loading branch information
jberkenbilt committed Mar 7, 2013
1 parent 29f5830 commit 197af34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2013-03-07 Jay Berkenbilt <[email protected]>

* Use ./install-sh (already present) instead of "install -c" to
install executables to fix portability problems against different
UNIX variants.

2013-03-03 Jay Berkenbilt <[email protected]>

* Add protected terminateParsing method to
Expand Down
6 changes: 3 additions & 3 deletions make/libtool.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ install: all
./mkinstalldirs $(DESTDIR)$(includedir)/qpdf
./mkinstalldirs $(DESTDIR)$(docdir)
./mkinstalldirs $(DESTDIR)$(mandir)/man1
$(LIBTOOL) --mode=install install -c \
$(LIBTOOL) --mode=install ./install-sh \
libqpdf/$(OUTPUT_DIR)/libqpdf.la \
$(DESTDIR)$(libdir)/libqpdf.la
$(LIBTOOL) --finish $(DESTDIR)$(libdir)
$(LIBTOOL) --mode=install install -c \
$(LIBTOOL) --mode=install ./install-sh \
qpdf/$(OUTPUT_DIR)/qpdf \
$(DESTDIR)$(bindir)/qpdf
$(LIBTOOL) --mode=install install -c \
$(LIBTOOL) --mode=install ./install-sh \
zlib-flate/$(OUTPUT_DIR)/zlib-flate \
$(DESTDIR)$(bindir)/zlib-flate
cp qpdf/fix-qdf $(DESTDIR)$(bindir)
Expand Down

0 comments on commit 197af34

Please sign in to comment.