converted GNUmakerules.sh to a perl script to avoid shell

incompatibilities.
This commit is contained in:
hjp 2011-10-07 07:51:23 +00:00
parent 61124dd1c6
commit 1419d9dbc3
2 changed files with 10 additions and 2 deletions

View File

@ -48,8 +48,8 @@ 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";