summaryrefslogtreecommitdiff
path: root/contrib/minizip/Makefile.am
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-01-21 15:55:54 -0600
committerMark Adler <madler@alumni.caltech.edu>2012-01-21 17:15:48 -0800
commit32d8a5379eb91c7fd55304b567a07ad0e2524398 (patch)
tree03b38c1041f55373781a82b01105b43a0370bea9 /contrib/minizip/Makefile.am
parentf0cff24214d437ef28d0eb92f9bc45a36cf25530 (diff)
downloadzlib-32d8a5379eb91c7fd55304b567a07ad0e2524398.tar.gz
zlib-32d8a5379eb91c7fd55304b567a07ad0e2524398.tar.bz2
zlib-32d8a5379eb91c7fd55304b567a07ad0e2524398.zip
Add an --enable-demos option to contrib/minizip/configure.
This makes build-testing and installing the minizip/miniunzip programs as simple as "autoreconf -if && ./configure --enable-demos && make && make install". Without --enable-demos, the makefile will only build and install the library, as before. Helped by Mike Frysinger. minizip/miniunzip were not intended to be general-purpose installed utilities, but they can be useful from time to time as a lightweight substitute for zip/unzip. You can also use them to quickly test that the library installation procedure worked.
Diffstat (limited to 'contrib/minizip/Makefile.am')
-rw-r--r--contrib/minizip/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/minizip/Makefile.am b/contrib/minizip/Makefile.am
index b0f39b6..2ced913 100644
--- a/contrib/minizip/Makefile.am
+++ b/contrib/minizip/Makefile.am
@@ -1,5 +1,9 @@
1lib_LTLIBRARIES = libminizip.la 1lib_LTLIBRARIES = libminizip.la
2 2
3if COND_DEMOS
4bin_PROGRAMS = miniunzip minizip
5endif
6
3zlib_top_srcdir = $(top_srcdir)/../.. 7zlib_top_srcdir = $(top_srcdir)/../..
4zlib_top_builddir = $(top_builddir)/../.. 8zlib_top_builddir = $(top_builddir)/../..
5 9