diff options
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 174b19b..50c7edd 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -35,7 +35,7 @@ solpkg: | |||
35 | cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR) | 35 | cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR) |
36 | 36 | ||
37 | THANKS: THANKS.in AUTHORS | 37 | THANKS: THANKS.in AUTHORS |
38 | 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 - > $@ | 38 | 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 - > $@ |
39 | 39 | ||
40 | pkgclean: | 40 | pkgclean: |
41 | rm -rf $(BUILDDIR) $(PACKDIR) | 41 | rm -rf $(BUILDDIR) $(PACKDIR) |