GNUmakerules.sh -> GNUmakerules.pl to avoid bashism
This commit is contained in:
parent
b38c18c0ff
commit
e80dfbc808
|
@ -1,12 +1,16 @@
|
|||
include GNUmakevars
|
||||
|
||||
all: setperm
|
||||
|
||||
setperm:
|
||||
|
||||
clean:
|
||||
rm setperm
|
||||
install: $(BINDIR)/setperm
|
||||
|
||||
GNUmakevars: GNUmakevars.sh
|
||||
sh ./$^ > $@
|
||||
GNUmakerules: GNUmakerules.sh
|
||||
sh ./$^ > $@
|
||||
GNUmakerules: GNUmakerules.pl
|
||||
perl ./$^ > $@
|
||||
|
||||
include GNUmakerules
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/perl
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
print "\$(BINDIR)/%: %\n";
|
||||
print "\tcp \$^ \$@\n";
|
||||
print "\$(MAN1DIR)/%: %\n";
|
||||
print "\tcp \$^ \$@\n";
|
Loading…
Reference in New Issue