aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 20d55907..174b19b4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@
SUBDIRS = intl lib plugins plugins-scripts po
EXTRA_DIST = config.rpath \
- ABOUT-NLS CODING FAQ LEGAL REQUIREMENTS SUPPORT \
+ ABOUT-NLS CODING FAQ LEGAL REQUIREMENTS SUPPORT THANKS \
Helper.pm contrib pkg nagios-plugins.spec.in
ACLOCAL_AMFLAGS = -I lib
@@ -34,5 +34,8 @@ solpkg:
$(INSTALL) pkg/solaris/pkginfo $(BUILDDIR)
cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR)
+THANKS: THANKS.in AUTHORS
+ perl -e ' @a=<>; print sort by_last_field @a; sub by_last_field { ($$a1) = $$a =~ /\s(\w+)$$/; ($$b1) = $$b =~ /\s(\w+)$$/; $$a1 cmp $$b1}' AUTHORS | cat THANKS.in - > $@
+
pkgclean:
rm -rf $(BUILDDIR) $(PACKDIR)