From c5dcb63d675899dea8d2d2aa8e79f0f9c59af7f6 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 10 May 2013 11:41:53 -0400 Subject: Makefile.in: Simplify inference rules. --- 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 -- cgit v0.9.1