aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/doc/src/Makefile
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-12-09 11:46:03 +0100
committerMicael Karlberg <[email protected]>2011-12-09 11:46:03 +0100
commit4e760e2eff99f9b844a16c3c68fcfa066fae4976 (patch)
treeff4a613f0c5809c72adb8a6fea2b2b5afbb42e9a /lib/megaco/doc/src/Makefile
parent23c1d8c8dafc9094e462f7b220f9faec5eec3ad8 (diff)
parent7cf22790eb116d7f387d1c014291c77da7372136 (diff)
downloadotp-4e760e2eff99f9b844a16c3c68fcfa066fae4976.tar.gz
otp-4e760e2eff99f9b844a16c3c68fcfa066fae4976.tar.bz2
otp-4e760e2eff99f9b844a16c3c68fcfa066fae4976.zip
Merge branch 'bmk/megaco/make_flex_drv_r15_compat'
Diffstat (limited to 'lib/megaco/doc/src/Makefile')
-rw-r--r--lib/megaco/doc/src/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/megaco/doc/src/Makefile b/lib/megaco/doc/src/Makefile
index f782afc3f6..137f0315d8 100644
--- a/lib/megaco/doc/src/Makefile
+++ b/lib/megaco/doc/src/Makefile
@@ -1,7 +1,7 @@
#
# %CopyrightBegin%
#
-# Copyright Ericsson AB 2000-2010. All Rights Reserved.
+# Copyright Ericsson AB 2000-2011. All Rights Reserved.
#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
@@ -123,10 +123,13 @@ imgs: $(IMG_FILES:%=$(HTMLDIR)/%)
man: $(MAN3_FILES)
$(INDEX_TARGET): $(INDEX_SRC) $(APP_FILE)
- sed -e 's/%VSN%/$(VSN)/; \
- s/%ERLANG_SITE%/www\.erlang\.se\//; \
- s/%UP_ONE_LEVEL%/..\/..\/..\/doc\/index.html/; \
- s/%OFF_PRINT%/pdf\/megaco-$(VSN).pdf/' $< > $@
+ sed -e 's/%VSN%/$(VSN)/' $< > $@
+
+$(INDEX_TARGET): $(INDEX_SRC) $(APP_FILE)
+ sed -e 's/%VSN%/$(VSN)/' \
+ -e 's/%ERLANG_SITE%/www\.erlang\.se\//' \
+ -e 's/%UP_ONE_LEVEL%/..\/..\/..\/doc\/index.html/' \
+ -e 's/%OFF_PRINT%/pdf\/megaco-$(VSN).pdf/' $< > $@
debug opt: