From 8c6d58eee8b8df1848ac4de55dddeb1465b1f57d Mon Sep 17 00:00:00 2001 From: hjp Date: Wed, 27 Mar 2013 14:41:41 +0000 Subject: [PATCH] GNUmakerules.sh -> GNUmakerules.pl --- grouptools/GNUmakefile | 4 ++-- grouptools/GNUmakerules.pl | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 grouptools/GNUmakerules.pl diff --git a/grouptools/GNUmakefile b/grouptools/GNUmakefile index dc76e68..1c4bee3 100644 --- a/grouptools/GNUmakefile +++ b/grouptools/GNUmakefile @@ -30,7 +30,7 @@ endif GNUmakevars: GNUmakevars.sh sh ./$^ > $@ -GNUmakerules: GNUmakerules.sh - sh ./$^ > $@ +GNUmakerules: GNUmakerules.pl + perl ./$^ > $@ include GNUmakerules diff --git a/grouptools/GNUmakerules.pl b/grouptools/GNUmakerules.pl new file mode 100644 index 0000000..8f30daa --- /dev/null +++ b/grouptools/GNUmakerules.pl @@ -0,0 +1,8 @@ +#!/usr/bin/perl +use warnings; +use strict; + +print "\$(BINDIR)/%: %\n"; +print "\tcp \$^ \$@\n"; +print "\$(MAN1DIR)/%: %\n"; +print "\tcp \$^ \$@\n";