GNUmakerules.sh -> GNUmakerules.pl to avoid bashism
This commit is contained in:
parent
b38c18c0ff
commit
e80dfbc808
|
@ -1,12 +1,16 @@
|
||||||
include GNUmakevars
|
include GNUmakevars
|
||||||
|
|
||||||
|
all: setperm
|
||||||
|
|
||||||
setperm:
|
setperm:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm setperm
|
rm setperm
|
||||||
install: $(BINDIR)/setperm
|
install: $(BINDIR)/setperm
|
||||||
|
|
||||||
GNUmakevars: GNUmakevars.sh
|
GNUmakevars: GNUmakevars.sh
|
||||||
sh ./$^ > $@
|
sh ./$^ > $@
|
||||||
GNUmakerules: GNUmakerules.sh
|
GNUmakerules: GNUmakerules.pl
|
||||||
sh ./$^ > $@
|
perl ./$^ > $@
|
||||||
|
|
||||||
include GNUmakerules
|
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