From 992ef6a15fa981d9814913a464163d95abf7830f Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 28 May 2008 21:40:18 +0000 Subject: [PATCH] ICU-6297 add an icu-docs.zip target X-SVN-Rev: 24049 --- icu4c/source/Makefile.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/icu4c/source/Makefile.in b/icu4c/source/Makefile.in index 0619cf61fb..b2492a6334 100644 --- a/icu4c/source/Makefile.in +++ b/icu4c/source/Makefile.in @@ -1,6 +1,6 @@ #****************************************************************************** # -# Copyright (C) 1998-2007, International Business Machines +# Copyright (C) 1998-2008, International Business Machines # Corporation and others. All Rights Reserved. # #****************************************************************************** @@ -32,9 +32,10 @@ subdir = . @SAMPLES_TRUE@SAMPLE = samples DOXYGEN = @DOXYGEN@ +DOCZIP = icu-docs.zip ## Files to remove for 'make clean' -CLEANFILES = *~ +CLEANFILES = *~ ## Files built (autoconfed) and installed INSTALLED_BUILT_FILES = $(top_builddir)/config/Makefile.inc $(top_builddir)/config/icu-config @platform_make_fragment@ $(EXTRA_DATA:%=$(DESTDIR)$(pkglibdir)/%) @@ -85,6 +86,10 @@ doc/html/index.html: Doxyfile $(wildcard ./common/unicode/platform.h $(srcdir)/c Doxyfile: $(srcdir)/Doxyfile.in CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(DOCZIP): doc + -$(RMV) $(DOCZIP) + ( cd doc/html ; zip -r ../../$(DOCZIP) * ) endif LOCAL_SUBDIRS = $(SUBDIRS) @@ -153,7 +158,7 @@ dist-local: clean-local: test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) - $(RMV) Doxyfile doc + $(RMV) Doxyfile doc $(DOCZIP) distclean-local: clean-local $(RMV) $(top_builddir)/config/Makefile.inc $(top_builddir)/config/icu-config