diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-10 11:41:53 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-10 11:41:53 (EDT) |
commit | c5dcb63d675899dea8d2d2aa8e79f0f9c59af7f6 (patch) | |
tree | 8fbd0ffce6cfc9f4bffbd5cd312638510c068cbc | |
parent | da79fa6593e1f337d0e7198bca0be830adf32dd8 (diff) |
Makefile.in: Simplify inference rules.
-rw-r--r-- | Makefile.in | 21 |
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 |