Use perl to construct GNUmakerules
This commit is contained in:
parent
f84e48fd1b
commit
8013784ff0
|
@ -12,7 +12,7 @@ install: $(BINDIR)/time_t
|
||||||
|
|
||||||
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";
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
echo "\$(BINDIR)/%: %"
|
|
||||||
echo -e "\tcp \$^ \$@"
|
|
||||||
echo "\$(MAN1DIR)/%: %"
|
|
||||||
echo -e "\tcp \$^ \$@"
|
|
Loading…
Reference in New Issue