summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a0b58d7)
raw | patch | inline | side by side (parent: a0b58d7)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 1 Sep 2003 20:07:17 +0000 (20:07 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 1 Sep 2003 20:07:17 +0000 (20:07 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@708 f882894a-f735-0410-b71e-b25c423dba1c
Makefile.am | patch | blob | history |
diff --git a/Makefile.am b/Makefile.am
index 174b19b47836ebb13b1c2d2287dc319a497074c3..50c7edde47a0cdd897e610ad9723f900c8a83083 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
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 - > $@
+ 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 - > $@
pkgclean:
rm -rf $(BUILDDIR) $(PACKDIR)