summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-22 09:32:56 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-22 09:32:56 +0200
commit1a7ef98d86e70a084d7ec86e81da61f9bb4ca10e (patch)
treeb6145f1495482fb4d046626db5575b4a4a5fd059
parente9010ca5302fd15d8dd4e039eff3a7c7a8f6f286 (diff)
man/Makefile: Correct sed usage
-rw-r--r--man/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/man/Makefile b/man/Makefile
index b7d8269..c3a13fb 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -6,8 +6,10 @@ TARGETS = ${SOURCES:.pre=.1}
all: ${TARGETS}
.pre.1:
- sed 's/\$$VERSION\$$/${VERSION}/g' < ${@:.1=.pre} > $@
- sed 's/\$$DATE\$$/'"$$(date '+%B %d, %Y')"/g < ${@:.1=.pre} > $@
+ sed \
+ -e 's/\$$VERSION\$$/${VERSION}/g' \
+ -e 's/\$$DATE\$$/'"$$(date '+%B %d, %Y')"/g \
+ < ${@:.1=.pre} > $@
clean:
rm *.1