summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 699d1f4)
raw | patch | inline | side by side (parent: 699d1f4)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Thu, 4 Sep 2003 06:43:38 +0000 (06:43 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Thu, 4 Sep 2003 06:43:38 +0000 (06:43 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@715 f882894a-f735-0410-b71e-b25c423dba1c
Makefile.am | patch | blob | history |
diff --git a/Makefile.am b/Makefile.am
index 50c7edde47a0cdd897e610ad9723f900c8a83083..7fe5447c38883e4e2caba34d4e3952b1fcab41d0 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
EXTRA_DIST = config.rpath \
ABOUT-NLS CODING FAQ LEGAL REQUIREMENTS SUPPORT THANKS \
- Helper.pm contrib pkg nagios-plugins.spec.in
+ Helper.pm contrib pkg nagios-plugins.spec
ACLOCAL_AMFLAGS = -I lib
DEFS = -DLOCALEDIR=\"$(localedir)\"
dist-hook:
- sed "s/%%{VERSION}/${VERSION}/;s/%%{RELEASE}/${RELEASE}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec
+ make THANKS nagios-plugins.spec
test:
cd plugins; $(MAKE) test
$(INSTALL) pkg/solaris/pkginfo $(BUILDDIR)
cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR)
-THANKS: THANKS.in AUTHORS
- perl -e ' while (<>) { print STDERR "Duplicate: $$_",$$/ if ($$a{$$_}) ; $$a{$$_}++}; print sort by_last_field (keys %a); sub by_last_field { ($$a1) = $$a =~ /\s(\w+)$$/; ($$b1) = $$b =~ /\s(\w+)$$/; $$a1 cmp $$b1}' AUTHORS | cat THANKS.in - > $@
+THANKS: AUTHORS
+ @echo "This software is brought to you by the Nagios Plugins Development Team. However," > $@
+ @echo "there have been many contributors to this project. Everyone below has helped in " >> $@
+ @echo "raising bug reports, creating patches or contributing new plugins." >> $@
+ @echo "" >> $@
+ perl -e ' while (<>) { print STDERR "Duplicate: $$_",$$/ if ($$a{$$_}) ; $$a{$$_}++}; print sort by_last_field (keys %a); sub by_last_field { ($$a1) = $$a =~ /\s(\w+)$$/; ($$b1) = $$b =~ /\s(\w+)$$/; $$a1 cmp $$b1}' $? >> $@
pkgclean:
rm -rf $(BUILDDIR) $(PACKDIR)