Commit Graph

32 Commits

Author SHA1 Message Date
Jay Berkenbilt 36916619f0 Stop adding pre-built documentation to the source distribution 2021-12-21 09:52:41 -05:00
Jay Berkenbilt 426b4ce856 Update documentation build/installation 2021-12-18 12:20:56 -05:00
Jay Berkenbilt a372a988fd Switch build from docbook manual to sphinx
Also remove linearization from qpdf-manual.pdf. It's a small file, and
removing the dependency on the qpdf executable significantly shortens
build times.
2021-12-13 11:16:21 -05:00
James R. Barlow d2e7f2a384 Add "install-libs" Makefile target
Add a new make target that installs the qpdf libraries without
executables or documentation.
2021-06-03 06:57:06 -04:00
Daniel Wagenknecht b8e5484647 Specify tag with libtool
This solves
  libtool: compile: unable to infer tagged configuration
  libtool:   error: specify a tag with '--tag'
build issues when using toolchain that prevents libtools
inference rules from working correctly (e.g. ccache).
2021-05-28 08:35:52 -04:00
Jay Berkenbilt cfafac8d13 Create a minimal Linux binary distribution (fixes #352)
This is suitable for use as a Lambda layer in AWS, inclusion in a
docker container, or other places where a minimal binary distribution
is desired.
2020-10-21 10:07:34 -04:00
Jay Berkenbilt 56d96e2260 Add --disable-rpath to configure (fixes #422) 2020-10-20 17:18:20 -04:00
Jay Berkenbilt ff65e272a8 Fix printf formatting for newer msvc
Use autoconf rather than ifdefs to determine what format string to use
for long long.
2020-10-16 07:02:23 -04:00
Jay Berkenbilt 388990f7bc Rewrite fix-qdf in C++ 2020-01-14 11:53:19 -05:00
Jay Berkenbilt 07da0039d3 Link with setargv or wsetargv with MSVC (fixes #224)
For wildcard expansion to work properly with the msvc binary, it is
necessary to link with setargv.obj or wsetargv.obj, depending on
whether wmain is in use.
2019-11-09 18:50:42 -05:00
Jay Berkenbilt f2ef161261 Override umask on install (fixes #326) 2019-06-22 16:57:52 -04:00
Jay Berkenbilt 429ffcf397 Unicode main for Windows qpdf.cc 2019-01-17 11:43:56 -05:00
Jay Berkenbilt 95ba7125ff Fix link order (fixes #176)
Specify qpdf libraries before external ones.
Specify LDFLAGS before libraries.
This should eliminate remaining cases of qpdf builds favoring
previously installed versions.
2018-02-04 14:19:00 -05:00
Jay Berkenbilt d7d446e0b8 Remove valgrind -- address santizer is better 2017-08-28 22:28:12 -04:00
Jay Berkenbilt 46728e49cc Fix from cygwin package maintainer
Resolve link error on cygwin
2017-08-24 17:41:30 -04:00
Jay Berkenbilt 84113a572f Fix doc installation 2017-08-22 16:50:48 -04:00
Jay Berkenbilt 83ec09f66c Do memory checks
Slightly improve memory cleanup in Pl_DCT
Make it easier to test with valgrind
2017-08-22 14:13:10 -04:00
Jay Berkenbilt e8b845dd03 install target: only install docs if building
Don't try to install HTML or PDF documentation if we're not building
docs.
2016-09-10 14:30:47 -04:00
Jay Berkenbilt 197af341de Use ./install-sh instead of install -c 2013-03-07 11:29:56 -05:00
Jay Berkenbilt 7276ab934d Use -Wold-style-cast for C++ if supported
Also separate C and C++ warning flags.
2013-03-04 16:45:15 -05:00
Jay Berkenbilt 7e7c93951f Do not remove libqpdf.la
Some distributions (like debian) don't want .la files to be installed,
but the responsibility for doing this should like in the packaging,
not in qpdf itself.
2013-01-31 16:16:45 -05:00
Jay Berkenbilt 30dbf94f53 Fix order of build flags.
Place user-specified CPPFLAGS and LDFLAGS later so that user-specified
non-standard paths that have old versions of qpdf don't cause the
build to fail.
2012-06-21 21:24:06 -04:00
Jay Berkenbilt f7e53c6d74 Add pkg-config support 2012-06-21 16:36:34 -04:00
Jay Berkenbilt 92c94e7df2 Add symbol versioning
For ELF systems, turn on versioned symbols by default, and add a
configure option to enable or disable them.
2012-06-20 15:18:12 -04:00
Jay Berkenbilt 7dbd1cc072 Update autoconf and libtool files 2012-06-20 08:50:33 -04:00
Jay Berkenbilt a8a95fba47 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
2011-06-23 18:40:37 +00:00
Jay Berkenbilt 1fc7c89cb4 revamp install targets
git-svn-id: svn+q:///qpdf/trunk@854 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-22 15:20:41 +00:00
Jay Berkenbilt 2b5ac676ed generalize build
git-svn-id: svn+q:///qpdf/trunk@776 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-11 00:24:22 +00:00
Jay Berkenbilt ec20e49450 build fixes
git-svn-id: svn+q:///qpdf/trunk@763 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-10 17:03:52 +00:00
Jay Berkenbilt dd66ea8160 ar, ranlib
git-svn-id: svn+q:///qpdf/trunk@760 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-10 15:32:59 +00:00
Jay Berkenbilt 7398ef88b7 further refinements to build
git-svn-id: svn+q:///qpdf/trunk@759 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-10 15:28:33 +00:00
Jay Berkenbilt caa397ed15 generalize build rules, add experimental support for manual compilation without libtool
git-svn-id: svn+q:///qpdf/trunk@753 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-10 14:15:09 +00:00