mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-06 21:58:34 +00:00
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
This commit is contained in:
parent
e37d4d13e3
commit
a8a95fba47
@ -1,3 +1,10 @@
|
||||
2011-06-23 Jay Berkenbilt <ejb@ql.org>
|
||||
|
||||
* make/libtool.mk (install): Do not strip executables and shared
|
||||
libraries during installation. Leave that up to the packager.
|
||||
|
||||
* configure.ac: disable -Werror by default.
|
||||
|
||||
2011-05-07 Jay Berkenbilt <ejb@ql.org>
|
||||
|
||||
* libqpdf/QPDF_linearization.cc (isLinearized): remove unused
|
||||
|
@ -33,7 +33,7 @@ Release Reminders
|
||||
make_dist does the following:
|
||||
|
||||
./autogen.sh
|
||||
./configure --enable-doc-maintenance
|
||||
./configure --enable-doc-maintenance --enable-werror
|
||||
make build_manual
|
||||
make distclean
|
||||
|
||||
|
@ -114,12 +114,12 @@ if test "$BUILDRULES" != "msvc"; then
|
||||
AC_MSG_CHECKING(for whether to use -Werror)
|
||||
AC_ARG_ENABLE(werror,
|
||||
AS_HELP_STRING([--enable-werror],
|
||||
[whether to use werror (default is yes if -Wall works)]),
|
||||
[whether to use werror (default is no)]),
|
||||
[if test "$enableval" = "yes"; then
|
||||
qpdf_USE_WERROR=1;
|
||||
else
|
||||
qpdf_USE_WERROR=0;
|
||||
fi], [qpdf_USE_WERROR=$qpdf_USE_WALL])
|
||||
fi], [qpdf_USE_WERROR=0])
|
||||
if test "$qpdf_USE_WERROR" = "1"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
CFLAGS="$CFLAGS -Werror"
|
||||
|
@ -98,15 +98,15 @@ install: all
|
||||
./mkinstalldirs $(DESTDIR)$(includedir)/qpdf
|
||||
./mkinstalldirs $(DESTDIR)$(docdir)
|
||||
./mkinstalldirs $(DESTDIR)$(mandir)/man1
|
||||
$(LIBTOOL) --mode=install install -s -c \
|
||||
$(LIBTOOL) --mode=install install -c \
|
||||
libqpdf/$(OUTPUT_DIR)/libqpdf.la \
|
||||
$(DESTDIR)$(libdir)/libqpdf.la
|
||||
$(LIBTOOL) --finish $(DESTDIR)$(libdir)
|
||||
$(RM) $(DESTDIR)$(libdir)/libqpdf.la
|
||||
$(LIBTOOL) --mode=install install -s -c \
|
||||
$(LIBTOOL) --mode=install install -c \
|
||||
qpdf/$(OUTPUT_DIR)/qpdf \
|
||||
$(DESTDIR)$(bindir)/qpdf
|
||||
$(LIBTOOL) --mode=install install -s -c \
|
||||
$(LIBTOOL) --mode=install install -c \
|
||||
zlib-flate/$(OUTPUT_DIR)/zlib-flate \
|
||||
$(DESTDIR)$(bindir)/zlib-flate
|
||||
cp qpdf/fix-qdf $(DESTDIR)$(bindir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user