]> granicus.if.org Git - imagemagick/blobdiff - Makefile.am
...
[imagemagick] / Makefile.am
index 757192f5de9a488b9c05a22ebedb359bd18d1a5f..ea9f22c1a572a316711d8374ac92602ead2d6681 100644 (file)
@@ -1,10 +1,10 @@
-#  Copyright 1999-2015 ImageMagick Studio LLC, a non-profit organization
+#  Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
 #  dedicated to making software imaging solutions freely available.
 #
 #  You may not use this file except in compliance with the License.  You may
 #  obtain a copy of the License at
 #
-#    http://www.imagemagick.org/script/license.php
+#    https://www.imagemagick.org/script/license.php
 #
 #  Unless required by applicable law or agreed to in writing, software
 #  distributed under the License is distributed on an "AS IS" BASIS,
@@ -226,7 +226,7 @@ dist-hook:
          cd $(srcdir) && \
          ( \
            for dir in $(DISTDIRS) ; do \
-             find $$dir -depth -print | egrep -v '(~$$)|(/.svn)|(/\.#)|(/\.deps)|(/\.svn)' \
+             find $$dir -depth -print | egrep -v '(~$$)|(/.git)|(/\.#)|(/\.deps)|(/\.git)' \
                | cpio -pdum $$builddir/$(distdir) 2> /dev/null ; \
            done \
          ) \
@@ -239,7 +239,7 @@ dist-hook:
 # Install HTML files
 pkgdocdir = $(DOCUMENTATION_PATH)
 DOCDIRSDOXYGEN = www/api/MagickCore www/api/MagickWand
-DOCDIRSMANUAL = images images/patterns www www/api www/source www/Magick++
+DOCDIRSMANUAL = images images/patterns www www/css www/js www/api www/source www/Magick++
 DOCDIRS= $(DOCDIRSMANUAL) $(DOCDIRSDOXYGEN)
 
 if INSTALL_DOC
@@ -292,19 +292,25 @@ libtool: $(LIBTOOL_DEPS)
        $(SHELL) ./config.status --recheck
 
 # Format C API documentation
-html:
-       $(MKDIR_P) -p $(top_builddir)/www/api
-       cd config && doxygen MagickCore.dox
-       cd config && doxygen MagickWand.dox
-       cd config && doxygen Magick++.dox
+html-local:
+# copy static file
        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 ; \
+                               cp -p -f $(top_srcdir)/$$file $(top_builddir)/$$dir ; \
                        fi; \
                done ; \
        done;
+# remove old doxygen files
+       for dir in $(DOCDIRDOXYGEN) ; do \
+           rm -rf $$dir || true; \
+       done;
+# make doxygen doc
+       $(MKDIR_P) $(top_builddir)/www/api
+       cd config && doxygen MagickCore.dox
+       cd config && doxygen MagickWand.dox
+       cd config && doxygen Magick++.dox
 
 #
 # Build Windows source Zip and 7Zip balls
@@ -324,7 +330,7 @@ $(DIST_WINDOWS_SRC_ZIP) $(DIST_WINDOWS_SRC_7ZIP) windows-dist:
          chmod -R u+w $(PACKAGE_NAME)-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM) ; \
          rm -rf $(PACKAGE_NAME)-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM) ; \
        fi
-  svn export https://subversion.imagemagick.org/subversion/ImageMagick-Windows/trunk $(PACKAGE_NAME)-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM)
+  git clone git@git.imagemagick.org:repos/ImageMagick.git $(PACKAGE_NAME)-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM)
 if ZIP_DELEGATE
        rm -f $(DIST_WINDOWS_SRC_ZIP)
        $(ZIP) -r -9 -q  $(DIST_WINDOWS_SRC_ZIP) $(PACKAGE_NAME)-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM)