summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-28 00:58:02 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-28 00:58:02 +0200
commit4ad0f80ec3a136d1c45ee7a9957a8acdef6d4afc (patch)
tree4e57aa36762fe168b57e32bffb6115f8cdb57eb2 /Makefile.am
parent9ae1cd8f91aa6b53404e66588679d852d3972bcd (diff)
downloadmonitoring-plugins-4ad0f80ec3a136d1c45ee7a9957a8acdef6d4afc.tar.gz
Add tools/generate-change-log
Add the tools/generate-change-log script for auto-generating the ChangeLog file from the Git history when running "make dist".
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index dc166546..98542b94 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@
3SUBDIRS = gl tap lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@ 3SUBDIRS = gl tap lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@
4 4
5EXTRA_DIST = config.rpath \ 5EXTRA_DIST = config.rpath \
6 ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING FAQ LEGAL NEWS \ 6 ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog FAQ LEGAL NEWS \
7 NP-VERSION-GEN REQUIREMENTS SUPPORT THANKS \ 7 NP-VERSION-GEN REQUIREMENTS SUPPORT THANKS \
8 NPTest.pm pkg nagios-plugins.spec \ 8 NPTest.pm pkg nagios-plugins.spec \
9 config_test/Makefile config_test/run_tests config_test/child_test.c \ 9 config_test/Makefile config_test/run_tests config_test/child_test.c \
@@ -15,6 +15,13 @@ ACLOCAL_AMFLAGS = -I gl/m4 -I m4
15localedir = $(datadir)/locale 15localedir = $(datadir)/locale
16DEFS = -DLOCALEDIR=\"$(localedir)\" 16DEFS = -DLOCALEDIR=\"$(localedir)\"
17 17
18#
19# The ChangeLog file is auto-generated from the Git history. We let it depend
20# on NP-VERSION-GEN, as we bump our version number in that file.
21#
22ChangeLog: NP-VERSION-GEN
23 $(top_srcdir)/tools/generate-change-log > $@
24
18dist-hook: 25dist-hook:
19 $(MAKE) THANKS 26 $(MAKE) THANKS
20 echo ${VERSION} >$(distdir)/release 27 echo ${VERSION} >$(distdir)/release