ICU-6297 add an icu-docs.zip target

X-SVN-Rev: 24049
This commit is contained in:
Steven R. Loomis 2008-05-28 21:40:18 +00:00
parent 4b09c0d1f0
commit 992ef6a15f

View File

@ -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