From b272166e17e0258b3f3c511e13053cb99fb66e59 Mon Sep 17 00:00:00 2001 From: Lars Thorsen Date: Fri, 19 Feb 2010 09:34:08 +0000 Subject: makefiles: add local_html target --- make/otp_release_targets.mk | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'make') 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) -- cgit v1.2.3