*/
#define MagickPackageName "ImageMagick"
#define MagickCopyright "Copyright (C) 1999-2013 ImageMagick Studio LLC"
-#define MagickSVNRevision "12369:12371M"
+#define MagickSVNRevision "12369:12376M"
#define MagickLibVersion 0x700
#define MagickLibVersionText "7.0.0"
#define MagickLibVersionNumber 1,0,0
# Install HTML files
pkgdocdir = $(DOCUMENTATION_PATH)
-DOCDIRS = images images/patterns www www/api www/source www/api/MagickCore www/api/MagickWand www/Magick++
+DOCDIRSDOXYGEN = www/api/MagickCore www/api/MagickWand
+DOCDIRSMANUAL = images images/patterns www www/api www/source www/Magick++
+DOCDIRS= $(DOCDIRSMANUAL) $(DOCDIRSDOXYGEN)
HTML_INSTALL_DATA_TARGETS = install-data-html
install-data-html:
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
$(INSTALL_DATA) $(srcdir)/index.html $(DESTDIR)$(pkgdocdir)
@for dir in $(DOCDIRS) ; do \
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
- for file in $(srcdir)/$$dir/*.* ; do \
+ if test -d $(builddir)/$$dir ; then \
+ docsrcdir=$(builddir)/$$dir; \
+ else \
+ docsrcdir=$(srcdir)/$$dir; \
+ fi; \
+ for file in $$docsrcdir/*.* ; do \
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
done ; \
# Format C API documentation
html:
- doxygen config/MagickCore.dox
- doxygen config/MagickWand.dox
- doxygen config/Magick++.dox
+ $(MKDIR_P) -p $(top_builddir)/www/api
+ cd config && doxygen MagickCore.dox
+ cd config && doxygen MagickWand.dox
+ cd config && doxygen Magick++.dox
+ for dir in $(DOCDIRSMANUAL) ; do \
+ $(MKDIR_P) $(top_builddir)/$$dir ;\
+ for file in $$dir/*.* ; do \
+ if ! test -f $(top_builddir)/$$file; then \
+ cp -f $(top_srcdir)/$$file $(top_builddir)/$$dir ; \
+ fi; \
+ done ; \
+ done;
#
# Build Windows source Zip and 7Zip balls
# Install HTML files
pkgdocdir = $(DOCUMENTATION_PATH)
-DOCDIRS = images images/patterns www www/api www/source www/api/MagickCore www/api/MagickWand www/Magick++
+DOCDIRSDOXYGEN = www/api/MagickCore www/api/MagickWand
+DOCDIRSMANUAL = images images/patterns www www/api www/source www/Magick++
+DOCDIRS = $(DOCDIRSMANUAL) $(DOCDIRSDOXYGEN)
HTML_INSTALL_DATA_TARGETS = install-data-html
# Uninstall HTML files
$(INSTALL_DATA) $(srcdir)/index.html $(DESTDIR)$(pkgdocdir)
@for dir in $(DOCDIRS) ; do \
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
- for file in $(srcdir)/$$dir/*.* ; do \
+ if test -d $(builddir)/$$dir ; then \
+ docsrcdir=$(builddir)/$$dir; \
+ else \
+ docsrcdir=$(srcdir)/$$dir; \
+ fi; \
+ for file in $$docsrcdir/*.* ; do \
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
done ; \
# Format C API documentation
html:
- doxygen config/MagickCore.dox
- doxygen config/MagickWand.dox
- doxygen config/Magick++.dox
+ $(MKDIR_P) -p $(top_builddir)/www/api
+ cd config && doxygen MagickCore.dox
+ cd config && doxygen MagickWand.dox
+ cd config && doxygen Magick++.dox
+ for dir in $(DOCDIRSMANUAL) ; do \
+ $(MKDIR_P) $(top_builddir)/$$dir ;\
+ for file in $$dir/*.* ; do \
+ if ! test -f $(top_builddir)/$$file; then \
+ cp -f $(top_srcdir)/$$file $(top_builddir)/$$dir ; \
+ fi; \
+ done ; \
+ done;
$(DIST_WINDOWS_SRC_ZIP) $(DIST_WINDOWS_SRC_7ZIP) windows-dist:
if test -d $(PACKAGE_NAME)-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM) ; then \
chmod -R u+w $(PACKAGE_NAME)-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM) ; \
-# Doxyfile 1.8.1.1
+../# Doxyfile 1.8.1.1
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
-OUTPUT_DIRECTORY = www/api
+OUTPUT_DIRECTORY = ../www/api
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = @top_srcdir@/Magick++
+INPUT = @srcdir@/../Magick++
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
-OUTPUT_DIRECTORY = www/api
+OUTPUT_DIRECTORY = ../www/api
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = @top_srcdir@/MagickCore
+INPUT = @srcdir@/../MagickCore
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
-OUTPUT_DIRECTORY = www/api
+OUTPUT_DIRECTORY = ../www/api
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = @top_srcdir@/MagickWand
+INPUT = @srcdir@/../MagickWand
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
MAGICK_VERSION=7.0.0-0
-MAGICK_SVN_REVISION=12369:12371M
+MAGICK_SVN_REVISION=12369:12376M
# Substitute library versioning