GNUmakerules.sh -> GNUmakerules.pl

This commit is contained in:
hjp 2013-03-27 14:41:41 +00:00
parent 126d734171
commit 8c6d58eee8
2 changed files with 10 additions and 2 deletions

View File

@ -30,7 +30,7 @@ endif
GNUmakevars: GNUmakevars.sh
sh ./$^ > $@
GNUmakerules: GNUmakerules.sh
sh ./$^ > $@
GNUmakerules: GNUmakerules.pl
perl ./$^ > $@
include GNUmakerules

View File

@ -0,0 +1,8 @@
#!/usr/bin/perl
use warnings;
use strict;
print "\$(BINDIR)/%: %\n";
print "\tcp \$^ \$@\n";
print "\$(MAN1DIR)/%: %\n";
print "\tcp \$^ \$@\n";