Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 1 | # 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 | |
| 11 | AUTOMAKE_OPTIONS = no-dependencies dist-zip |
| 12 | EXTRA_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 | |
| 18 | DIST_SUBDIRS = corelib commoncpp openssl gnutls nossl utils inc test |
| 19 | SUBDIRS = corelib @SECURE@ @COMPAT@ utils inc test |
| 20 | |
| 21 | pkgconfigdir = $(libdir)/pkgconfig |
| 22 | pkgconfig_DATA = ucommon.pc commoncpp.pc |
| 23 | |
| 24 | scriptdir = $(bindir) |
| 25 | script_SCRIPTS = ucommon-config commoncpp-config |
| 26 | |
| 27 | man_MANS = ucommon-config.1 commoncpp-config.1 |
| 28 | |
| 29 | .phony: doxy |
| 30 | |
| 31 | doxy: |
| 32 | -rm -rf doc |
| 33 | $(DOXYGEN) Doxyfile |
| 34 | |
| 35 | clean-local: |
| 36 | -rm -rf doc |
| 37 | |
| 38 | dist-hook: cleandist |
| 39 | |
| 40 | cleandist: |
| 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 | |