summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in21
1 files changed, 6 insertions, 15 deletions
diff --git a/Makefile.in b/Makefile.in
index 18c4302..552d60c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -94,22 +94,13 @@ script = \
.SUFFIXES:
.SUFFIXES: .sh .sm .1in .1 .ms
-.sh:
- @printf ' SED %s\n' '$*'
- @sed '$(script)' '$(srcdir)/$*.sh' >'$*'
-
-.sh.sm:
- @printf ' SED %s\n' '$*.sm'
- @sed '$(script)' '$(srcdir)/$*.sh' >'$*.sm'
-
-.1in.1:
- @printf ' SED %s\n' '$*.1'
- @sed '$(script)' '$(srcdir)/$*.1in' >'$*.1'
-
+.sh .sh.sm .1in.1:
+ @printf ' SED %s\n' '$@'
+ @sed '$(script)' '$(srcdir)/$?' >'$@'
.sh.ms:
- @printf ' CP %s\n' '$*.ms'
- @obj='$*'; mkdir -p "$${obj%/*}"
- @cp '$(srcdir)/$*.sh' '$*.ms'
+ @printf ' CP %s\n' '$@'
+ @obj='$@'; mkdir -p "$${obj%/*}"
+ @cp '$(srcdir)/$?' '$@'
all: all-exec all-data
all-exec: all-bin all-pkglib all-pkglibbuildsystem