mirror of https://github.com/qpdf/qpdf.git
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>
|
2011-05-07 Jay Berkenbilt <ejb@ql.org>
|
||||||
|
|
||||||
* libqpdf/QPDF_linearization.cc (isLinearized): remove unused
|
* libqpdf/QPDF_linearization.cc (isLinearized): remove unused
|
||||||
|
|
|
@ -33,7 +33,7 @@ Release Reminders
|
||||||
make_dist does the following:
|
make_dist does the following:
|
||||||
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure --enable-doc-maintenance
|
./configure --enable-doc-maintenance --enable-werror
|
||||||
make build_manual
|
make build_manual
|
||||||
make distclean
|
make distclean
|
||||||
|
|
||||||
|
|
|
@ -114,12 +114,12 @@ if test "$BUILDRULES" != "msvc"; then
|
||||||
AC_MSG_CHECKING(for whether to use -Werror)
|
AC_MSG_CHECKING(for whether to use -Werror)
|
||||||
AC_ARG_ENABLE(werror,
|
AC_ARG_ENABLE(werror,
|
||||||
AS_HELP_STRING([--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
|
[if test "$enableval" = "yes"; then
|
||||||
qpdf_USE_WERROR=1;
|
qpdf_USE_WERROR=1;
|
||||||
else
|
else
|
||||||
qpdf_USE_WERROR=0;
|
qpdf_USE_WERROR=0;
|
||||||
fi], [qpdf_USE_WERROR=$qpdf_USE_WALL])
|
fi], [qpdf_USE_WERROR=0])
|
||||||
if test "$qpdf_USE_WERROR" = "1"; then
|
if test "$qpdf_USE_WERROR" = "1"; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
CFLAGS="$CFLAGS -Werror"
|
CFLAGS="$CFLAGS -Werror"
|
||||||
|
|
|
@ -98,15 +98,15 @@ install: all
|
||||||
./mkinstalldirs $(DESTDIR)$(includedir)/qpdf
|
./mkinstalldirs $(DESTDIR)$(includedir)/qpdf
|
||||||
./mkinstalldirs $(DESTDIR)$(docdir)
|
./mkinstalldirs $(DESTDIR)$(docdir)
|
||||||
./mkinstalldirs $(DESTDIR)$(mandir)/man1
|
./mkinstalldirs $(DESTDIR)$(mandir)/man1
|
||||||
$(LIBTOOL) --mode=install install -s -c \
|
$(LIBTOOL) --mode=install install -c \
|
||||||
libqpdf/$(OUTPUT_DIR)/libqpdf.la \
|
libqpdf/$(OUTPUT_DIR)/libqpdf.la \
|
||||||
$(DESTDIR)$(libdir)/libqpdf.la
|
$(DESTDIR)$(libdir)/libqpdf.la
|
||||||
$(LIBTOOL) --finish $(DESTDIR)$(libdir)
|
$(LIBTOOL) --finish $(DESTDIR)$(libdir)
|
||||||
$(RM) $(DESTDIR)$(libdir)/libqpdf.la
|
$(RM) $(DESTDIR)$(libdir)/libqpdf.la
|
||||||
$(LIBTOOL) --mode=install install -s -c \
|
$(LIBTOOL) --mode=install install -c \
|
||||||
qpdf/$(OUTPUT_DIR)/qpdf \
|
qpdf/$(OUTPUT_DIR)/qpdf \
|
||||||
$(DESTDIR)$(bindir)/qpdf
|
$(DESTDIR)$(bindir)/qpdf
|
||||||
$(LIBTOOL) --mode=install install -s -c \
|
$(LIBTOOL) --mode=install install -c \
|
||||||
zlib-flate/$(OUTPUT_DIR)/zlib-flate \
|
zlib-flate/$(OUTPUT_DIR)/zlib-flate \
|
||||||
$(DESTDIR)$(bindir)/zlib-flate
|
$(DESTDIR)$(bindir)/zlib-flate
|
||||||
cp qpdf/fix-qdf $(DESTDIR)$(bindir)
|
cp qpdf/fix-qdf $(DESTDIR)$(bindir)
|
||||||
|
|
|
@ -110,7 +110,7 @@ if ($version_error)
|
||||||
}
|
}
|
||||||
|
|
||||||
run("./autogen.sh");
|
run("./autogen.sh");
|
||||||
run("./configure --enable-doc-maintenance");
|
run("./configure --enable-doc-maintenance --enable-werror");
|
||||||
run("make build_manual");
|
run("make build_manual");
|
||||||
run("make distclean");
|
run("make distclean");
|
||||||
cd($pwd);
|
cd($pwd);
|
||||||
|
|
Loading…
Reference in New Issue