Commit a8a95fba47e32356d536671d6c5ebd82a6c4507c

Authored by Jay Berkenbilt
1 parent e37d4d13

disable -Werror by default, don't strip shared libraries and executables during install

git-svn-id: svn+q:///qpdf/trunk@1058 71b93d88-0707-0410-a8cf-f5a4172ac649
ChangeLog
  1 +2011-06-23 Jay Berkenbilt <ejb@ql.org>
  2 +
  3 + * make/libtool.mk (install): Do not strip executables and shared
  4 + libraries during installation. Leave that up to the packager.
  5 +
  6 + * configure.ac: disable -Werror by default.
  7 +
1 8 2011-05-07 Jay Berkenbilt <ejb@ql.org>
2 9  
3 10 * libqpdf/QPDF_linearization.cc (isLinearized): remove unused
... ...
README.maintainer
... ... @@ -33,7 +33,7 @@ Release Reminders
33 33 make_dist does the following:
34 34  
35 35 ./autogen.sh
36   - ./configure --enable-doc-maintenance
  36 + ./configure --enable-doc-maintenance --enable-werror
37 37 make build_manual
38 38 make distclean
39 39  
... ...
configure.ac
... ... @@ -114,12 +114,12 @@ if test &quot;$BUILDRULES&quot; != &quot;msvc&quot;; then
114 114 AC_MSG_CHECKING(for whether to use -Werror)
115 115 AC_ARG_ENABLE(werror,
116 116 AS_HELP_STRING([--enable-werror],
117   - [whether to use werror (default is yes if -Wall works)]),
  117 + [whether to use werror (default is no)]),
118 118 [if test "$enableval" = "yes"; then
119 119 qpdf_USE_WERROR=1;
120 120 else
121 121 qpdf_USE_WERROR=0;
122   - fi], [qpdf_USE_WERROR=$qpdf_USE_WALL])
  122 + fi], [qpdf_USE_WERROR=0])
123 123 if test "$qpdf_USE_WERROR" = "1"; then
124 124 AC_MSG_RESULT(yes)
125 125 CFLAGS="$CFLAGS -Werror"
... ...
make/libtool.mk
... ... @@ -98,15 +98,15 @@ install: all
98 98 ./mkinstalldirs $(DESTDIR)$(includedir)/qpdf
99 99 ./mkinstalldirs $(DESTDIR)$(docdir)
100 100 ./mkinstalldirs $(DESTDIR)$(mandir)/man1
101   - $(LIBTOOL) --mode=install install -s -c \
  101 + $(LIBTOOL) --mode=install install -c \
102 102 libqpdf/$(OUTPUT_DIR)/libqpdf.la \
103 103 $(DESTDIR)$(libdir)/libqpdf.la
104 104 $(LIBTOOL) --finish $(DESTDIR)$(libdir)
105 105 $(RM) $(DESTDIR)$(libdir)/libqpdf.la
106   - $(LIBTOOL) --mode=install install -s -c \
  106 + $(LIBTOOL) --mode=install install -c \
107 107 qpdf/$(OUTPUT_DIR)/qpdf \
108 108 $(DESTDIR)$(bindir)/qpdf
109   - $(LIBTOOL) --mode=install install -s -c \
  109 + $(LIBTOOL) --mode=install install -c \
110 110 zlib-flate/$(OUTPUT_DIR)/zlib-flate \
111 111 $(DESTDIR)$(bindir)/zlib-flate
112 112 cp qpdf/fix-qdf $(DESTDIR)$(bindir)
... ...
make_dist
... ... @@ -110,7 +110,7 @@ if ($version_error)
110 110 }
111 111  
112 112 run("./autogen.sh");
113   -run("./configure --enable-doc-maintenance");
  113 +run("./configure --enable-doc-maintenance --enable-werror");
114 114 run("make build_manual");
115 115 run("make distclean");
116 116 cd($pwd);
... ...