aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/priv/Makefile
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2009-11-20 14:54:40 +0000
committerErlang/OTP <[email protected]>2009-11-20 14:54:40 +0000
commit84adefa331c4159d432d22840663c38f155cd4c1 (patch)
treebff9a9c66adda4df2106dfd0e5c053ab182a12bd /lib/edoc/priv/Makefile
downloadotp-84adefa331c4159d432d22840663c38f155cd4c1.tar.gz
otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.bz2
otp-84adefa331c4159d432d22840663c38f155cd4c1.zip
The R13B03 release.OTP_R13B03
Diffstat (limited to 'lib/edoc/priv/Makefile')
-rw-r--r--lib/edoc/priv/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/lib/edoc/priv/Makefile b/lib/edoc/priv/Makefile
new file mode 100644
index 0000000000..13225e6d1a
--- /dev/null
+++ b/lib/edoc/priv/Makefile
@@ -0,0 +1,54 @@
+#
+# Copyright (C) 2004, Ericsson Telecommunications
+# Author: Richard Carlsson, Bertil Karlsson
+#
+include $(ERL_TOP)/make/target.mk
+include $(ERL_TOP)/make/$(TARGET)/otp.mk
+
+# ----------------------------------------------------
+# Application version
+# ----------------------------------------------------
+include ../vsn.mk
+include ../../xmerl/vsn.mk
+include ../../syntax_tools/vsn.mk
+
+
+# ----------------------------------------------------
+# Release directory specification
+# ----------------------------------------------------
+RELSYSDIR = $(RELEASE_PATH)/lib/edoc-$(EDOC_VSN)
+
+
+#
+# Common Macros
+#
+
+GEN_SCRIPT_SRC = edoc_generate.src
+GEN_SCRIPT = edoc_generate
+PRIV_FILES = stylesheet.css erlang.png edoc.dtd
+
+debug opt:
+ sed -e "s/%EDOC_VSN%/$(EDOC_VSN)/g" \
+ -e "s/%XMERL_VSN%/$(XMERL_VSN)/g" \
+ -e "s/%SYNTAX_TOOLS_VSN%/$(SYNTAX_TOOLS_VSN)/g" \
+ $(GEN_SCRIPT_SRC) > $(GEN_SCRIPT)
+
+clean:
+ rm -f $(GEN_SCRIPT)
+ rm -f core *~
+
+docs:
+
+# ----------------------------------------------------
+# Release Target
+# ----------------------------------------------------
+include $(ERL_TOP)/make/otp_release_targets.mk
+
+release_spec: opt
+ $(INSTALL_DIR) $(RELSYSDIR)/priv
+ $(INSTALL_DATA) $(PRIV_FILES) $(RELSYSDIR)/priv
+ $(INSTALL_SCRIPT) $(GEN_SCRIPT) $(RELSYSDIR)/priv
+
+
+release_docs_spec:
+