diff --git a/pathtools/GNUmakefile b/pathtools/GNUmakefile index 3d5c976..2337386 100644 --- a/pathtools/GNUmakefile +++ b/pathtools/GNUmakefile @@ -48,8 +48,8 @@ endif GNUmakevars: GNUmakevars.sh sh ./$^ > $@ -GNUmakerules: GNUmakerules.sh - sh ./$^ > $@ +GNUmakerules: GNUmakerules.pl + perl ./$^ > $@ include GNUmakerules diff --git a/pathtools/GNUmakerules.pl b/pathtools/GNUmakerules.pl new file mode 100644 index 0000000..8f30daa --- /dev/null +++ b/pathtools/GNUmakerules.pl @@ -0,0 +1,8 @@ +#!/usr/bin/perl +use warnings; +use strict; + +print "\$(BINDIR)/%: %\n"; +print "\tcp \$^ \$@\n"; +print "\$(MAN1DIR)/%: %\n"; +print "\tcp \$^ \$@\n";