aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2010-02-19 09:34:08 +0000
committerErlang/OTP <[email protected]>2010-02-19 09:34:08 +0000
commitb272166e17e0258b3f3c511e13053cb99fb66e59 (patch)
tree894a206758dd31febe0ec6e0e1f478004461b099 /make
parentf2e7884076cc6574fe8679cd49fb6fb292ed0de0 (diff)
downloadotp-b272166e17e0258b3f3c511e13053cb99fb66e59.tar.gz
otp-b272166e17e0258b3f3c511e13053cb99fb66e59.tar.bz2
otp-b272166e17e0258b3f3c511e13053cb99fb66e59.zip
makefiles: add local_html target
Diffstat (limited to 'make')
-rw-r--r--make/otp_release_targets.mk17
1 files changed, 11 insertions, 6 deletions
diff --git a/make/otp_release_targets.mk b/make/otp_release_targets.mk
index 2cba32e82c..7d433e738c 100644
--- a/make/otp_release_targets.mk
+++ b/make/otp_release_targets.mk
@@ -1,19 +1,19 @@
#
# %CopyrightBegin%
-#
-# Copyright Ericsson AB 1997-2009. All Rights Reserved.
-#
+#
+# Copyright Ericsson AB 1997-2010. 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
# compliance with the License. You should have received a copy of the
# Erlang Public License along with this software. If not, it can be
# retrieved online at http://www.erlang.org/.
-#
+#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
# the License for the specific language governing rights and limitations
# under the License.
-#
+#
# %CopyrightEnd%
#
@@ -66,7 +66,12 @@ docs: $(HTMLDIR)/$(APPLICATION).eix
# Local documentation target for testing
# ----------------------------------------------------
local_docs: TOPDOCDIR=.
-local_docs: docs
+local_docs: local_copy_of_topdefs docs
+
+local_html: TOPDOCDIR=.
+local_html: local_copy_of_topdefs html
+
+local_copy_of_topdefs:
$(INSTALL) $(DOCGEN)/priv/css/otp_doc.css $(HTMLDIR)
$(INSTALL) $(DOCGEN)/priv/images/erlang-logo.png $(HTMLDIR)
$(INSTALL) $(DOCGEN)/priv/images/erlang-logo.gif $(HTMLDIR)