blob: 7829845a8ad41a0c20e83902ff7a21b8558b5ad8 [file] [log] [blame]
Alexandre Lisionddd731e2014-01-31 11:50:08 -05001# Copyright (C) 2006-2010 David Sugar, Tycho Softworks.
2#
3# This file is free software; as a special exception the author gives
4# unlimited permission to copy and/or distribute it, with or without
5# modifications, as long as this notice is preserved.
6#
7# This program is distributed in the hope that it will be useful, but
8# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
11AUTOMAKE_OPTIONS = no-dependencies dist-zip
12EXTRA_DIST = autogen.sh README* *.pc.in *.spec.in *.spec *-config.in \
13 *-config.1 Doxyfile cmodel.sh BUILDS SUPPORT COPYING* COPYRIGHT \
14 CMakeLists.txt ucommon-config.cmake ucommon.pc.cmake \
15 commoncpp-config.cmake commoncpp.pc.cmake ucommon.spec.cmake \
16 ucommon-config.h.cmake doxy.config.cmake directive.in
17
18DIST_SUBDIRS = corelib commoncpp openssl gnutls nossl utils inc test
19SUBDIRS = corelib @SECURE@ @COMPAT@ utils inc test
20
21pkgconfigdir = $(libdir)/pkgconfig
22pkgconfig_DATA = ucommon.pc commoncpp.pc
23
24scriptdir = $(bindir)
25script_SCRIPTS = ucommon-config commoncpp-config
26
27man_MANS = ucommon-config.1 commoncpp-config.1
28
29.phony: doxy
30
31doxy:
32 -rm -rf doc
33 $(DOXYGEN) Doxyfile
34
35clean-local:
36 -rm -rf doc
37
38dist-hook: cleandist
39
40cleandist:
41 @rm -f ${PACKAGE}-[0-9]*.tar.gz
42 @rm -f ${PACKAGE}-[0-9]*.tar.bz2
43 @rm -f ${PACKAGE}-[0-9]*.shar.gz
44 @rm -f ${PACKAGE}-[0-9]*.zip
45 @rm -f *${PACKAGE}*.rpm
46 @rm -f *${PACKAGE}*.deb
47 @rm -f ${PACKAGE}_*.gz
48 @rm -f ${PACKAGE}_*.dsc
49 @rm -f *.changes
50