Commit 110cbde7 authored by Ole Streicher's avatar Ole Streicher

New upstream version 4.1.0

parent 5ae1435f
......@@ -26,16 +26,16 @@ DISTCLEANFILES = *~
COMPILE_FIRST =
TOPSUBDIRS = irplib visir recipes
TOPSUBDIRS = irplib visir recipes reflex swarp
COMPILE_LAST =
HTML_SUBDIRS =
DOXYGEN_SUBDIRS =
SUBDIRS = $(COMPILE_FIRST) $(TOPSUBDIRS) $(COMPILE_LAST)
EXTRA_DIST = m4macros/eso.m4 m4macros/cpl.m4 admin/html.am \
EXTRA_DIST = m4macros/eso.m4 m4macros/cpl.m4 admin/doxygen.am \
doxygen/Doxyfile.in setup
......@@ -46,9 +46,9 @@ if MAINTAINER_MODE
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure stamp-h.in
clean-local: clean-html
clean-local: clean-doxygen
dist-hook: html
dist-hook: doxygen
@if test -d $(top_srcdir)/html; then \
echo "cp -pr $(top_srcdir)/html $(distdir)"; \
cp -pr $(top_srcdir)/html $(distdir); \
......@@ -62,9 +62,9 @@ clean-local:
endif
uninstall-local: uninstall-html
uninstall-local: uninstall-doxygen
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
include $(top_srcdir)/admin/html.am
include $(top_srcdir)/admin/doxygen.am
......@@ -79,16 +79,14 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
DIST_COMMON = $(top_srcdir)/admin/html.am $(srcdir)/Makefile.in \
DIST_COMMON = $(top_srcdir)/admin/doxygen.am $(srcdir)/Makefile.in \
$(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(srcdir)/config.h.in \
$(top_srcdir)/admin/mkinstalldirs $(srcdir)/Makefile.purify.in \
$(top_srcdir)/doxygen/Doxyfile.in AUTHORS COPYING COPYING.LIB \
ChangeLog INSTALL NEWS README TODO admin/compile \
admin/config.guess admin/config.sub admin/depcomp \
admin/install-sh admin/missing admin/mkinstalldirs \
admin/ltmain.sh $(top_srcdir)/admin/compile \
$(top_srcdir)/admin/config.guess \
$(srcdir)/Makefile.purify.in $(top_srcdir)/doxygen/Doxyfile.in \
AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README TODO \
admin/compile admin/config.guess admin/config.sub \
admin/install-sh admin/missing admin/ltmain.sh \
$(top_srcdir)/admin/compile $(top_srcdir)/admin/config.guess \
$(top_srcdir)/admin/config.sub $(top_srcdir)/admin/install-sh \
$(top_srcdir)/admin/ltmain.sh $(top_srcdir)/admin/missing
subdir = .
......@@ -106,7 +104,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = Makefile.purify doxygen/Doxyfile
CONFIG_CLEAN_VPATH_FILES =
......@@ -265,6 +263,7 @@ ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ESO_DEBUG_FLAGS = @ESO_DEBUG_FLAGS@
ESO_MALLOC_CHECK = @ESO_MALLOC_CHECK@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
GREP = @GREP@
......@@ -278,6 +277,7 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LATEX = @LATEX@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBCEXT = @LIBCEXT@
LIBCPLCORE = @LIBCPLCORE@
LIBCPLDFS = @LIBCPLDFS@
LIBCPLDRS = @LIBCPLDRS@
......@@ -382,6 +382,7 @@ psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
......@@ -391,28 +392,35 @@ target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
wkfcopydir = @wkfcopydir@
wkfextradir = @wkfextradir@
AUTOMAKE_OPTIONS = 1.8 foreign
ACLOCAL_AMFLAGS = -I m4macros
DISTCLEANFILES = *~
COMPILE_FIRST =
TOPSUBDIRS = irplib visir recipes
TOPSUBDIRS = irplib visir recipes reflex swarp
COMPILE_LAST =
HTML_SUBDIRS =
DOXYGEN_SUBDIRS =
SUBDIRS = $(COMPILE_FIRST) $(TOPSUBDIRS) $(COMPILE_LAST)
EXTRA_DIST = m4macros/eso.m4 m4macros/cpl.m4 admin/html.am \
EXTRA_DIST = m4macros/eso.m4 m4macros/cpl.m4 admin/doxygen.am \
doxygen/Doxyfile.in setup
pipedocs_DATA = ChangeLog AUTHORS NEWS README TODO
@MAINTAINER_MODE_TRUE@MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure stamp-h.in
@MAINTAINER_MODE_FALSE@HTML_RECURSIVE_TARGETS = install-html-recursive
@MAINTAINER_MODE_TRUE@HTML_RECURSIVE_TARGETS = install-html-recursive
DOXYGEN_BUILD_DIR = $(top_builddir)/doxygen
DOXYGEN_HTML_DIR = $(top_builddir)/html
DOXYGEN_HTML_INSTDIR = $(pipedocsdir)/html
@MAINTAINER_MODE_FALSE@DOXYGEN_RECURSIVE_TARGETS = install-doxygen-recursive
@MAINTAINER_MODE_TRUE@DOXYGEN_RECURSIVE_TARGETS = install-doxygen-recursive
@MAINTAINER_MODE_FALSE@DOXYGEN_INSTALL_TARGETS = install-doxygen-generic
@MAINTAINER_MODE_TRUE@DOXYGEN_INSTALL_TARGETS = doxygen-am install-doxygen-generic
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/admin/html.am $(am__configure_deps)
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/admin/doxygen.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
......@@ -435,7 +443,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_srcdir)/admin/html.am:
$(top_srcdir)/admin/doxygen.am:
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
......@@ -849,7 +857,7 @@ dvi-am:
html: html-recursive
@MAINTAINER_MODE_FALSE@html-am:
html-am:
info: info-recursive
......@@ -863,6 +871,10 @@ install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
......@@ -920,9 +932,9 @@ uninstall-am: uninstall-local uninstall-pipedocsDATA
uninstall-pipedocsDATA
@MAINTAINER_MODE_TRUE@clean-local: clean-html
@MAINTAINER_MODE_TRUE@clean-local: clean-doxygen
@MAINTAINER_MODE_TRUE@dist-hook: html
@MAINTAINER_MODE_TRUE@dist-hook: doxygen
@MAINTAINER_MODE_TRUE@ @if test -d $(top_srcdir)/html; then \
@MAINTAINER_MODE_TRUE@ echo "cp -pr $(top_srcdir)/html $(distdir)"; \
@MAINTAINER_MODE_TRUE@ cp -pr $(top_srcdir)/html $(distdir); \
......@@ -932,62 +944,66 @@ uninstall-am: uninstall-local uninstall-pipedocsDATA
@MAINTAINER_MODE_FALSE@clean-local:
uninstall-local: uninstall-html
uninstall-local: uninstall-doxygen
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
@MAINTAINER_MODE_TRUE@html-am:
@MAINTAINER_MODE_TRUE@ @if test -f doxygen/Doxyfile; then \
@MAINTAINER_MODE_TRUE@ echo "cd doxygen && $(DOXYGEN)"; \
@MAINTAINER_MODE_TRUE@ d=`pwd`; cd doxygen && $(DOXYGEN); cd $$d; \
@MAINTAINER_MODE_TRUE@doxygen: doxygen-am
@MAINTAINER_MODE_TRUE@doxygen-am:
@MAINTAINER_MODE_TRUE@ @if test -f $(DOXYGEN_BUILD_DIR)/Doxyfile; then \
@MAINTAINER_MODE_TRUE@ echo "cd $(DOXYGEN_BUILD_DIR) && $(DOXYGEN)"; \
@MAINTAINER_MODE_TRUE@ d=`pwd`; cd $(DOXYGEN_BUILD_DIR) && $(DOXYGEN); cd $$d; \
@MAINTAINER_MODE_TRUE@ if test -n "$(POST_DOXYGEN_CLEANFILES)"; then \
@MAINTAINER_MODE_TRUE@ cd $(top_srcdir)/html && rm -f $(POST_DOXYGEN_CLEANFILES); \
@MAINTAINER_MODE_TRUE@ cd $(DOXYGEN_HTML_DIR) && rm -f $(POST_DOXYGEN_CLEANFILES); \
@MAINTAINER_MODE_TRUE@ fi; \
@MAINTAINER_MODE_TRUE@ else \
@MAINTAINER_MODE_TRUE@ echo "Nothing to be done for \`$@'."; \
@MAINTAINER_MODE_TRUE@ fi
@MAINTAINER_MODE_TRUE@clean-html: clean-html-am
@MAINTAINER_MODE_TRUE@clean-doxygen: clean-doxygen-am
@MAINTAINER_MODE_TRUE@clean-html-am:
@MAINTAINER_MODE_TRUE@ -rm -rf $(top_srcdir)/html
@MAINTAINER_MODE_TRUE@clean-doxygen-am:
@MAINTAINER_MODE_TRUE@ -rm -rf $(DOXYGEN_HTML_DIR)
@MAINTAINER_MODE_TRUE@install-html-am: html-am install-html-generic
@MAINTAINER_MODE_FALSE@doxygen-am:
@MAINTAINER_MODE_FALSE@install-html-am: install-html-generic
install-doxygen: install-doxygen-recursive
install-doxygen-am: $(DOXYGEN_INSTALL_TARGETS)
install-html: install-html-recursive
install-html-generic:
install-doxygen-generic: doxygen-am
@$(NORMAL_INSTALL)
@if test -d $(top_srcdir)/html; then \
echo "$(mkinstalldirs) $(DESTDIR)$(htmldir)"; \
$(mkinstalldirs) $(DESTDIR)$(htmldir); \
list="`ls -1 $(top_srcdir)/html`"; \
echo "Installing doxygen $(DOXYGEN_HTML_DIR)"
@if test -d $(DOXYGEN_HTML_DIR); then \
echo "$(mkinstalldirs) $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)"; \
$(mkinstalldirs) $(DESTDIR)$(DOXYGEN_HTML_INSTDIR); \
list="`ls -1 $(DOXYGEN_HTML_DIR)`"; \
for p in $$list; do \
if test -f $(top_srcdir)/html/$$p; then \
echo " $(INSTALL_DATA) $(top_srcdir)/html/$$p $(DESTDIR)$(htmldir)/$$p"; \
$(INSTALL_DATA) $(top_srcdir)/html/$$p $(DESTDIR)$(htmldir)/$$p; \
if test -f $(DOXYGEN_HTML_DIR)/$$p; then \
echo " $(INSTALL_DATA) $(DOXYGEN_HTML_DIR)/$$p $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p"; \
$(INSTALL_DATA) $(DOXYGEN_HTML_DIR)/$$p $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p; \
else if test -f $$p; then \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$p"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$p; \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p; \
fi; fi; \
done; \
fi
uninstall-html:
uninstall-doxygen:
@$(NORMAL_UNINSTALL)
@list="`ls -1 $(DESTDIR)$(htmldir)`"; for p in $$list; do \
echo " rm -f $(DESTDIR)$(htmldir)/$$p"; \
rm -f $(DESTDIR)$(htmldir)/$$p; \
@list="`ls -1 $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)`"; \
for p in $$list; do \
echo " rm -f $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p"; \
rm -f $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p; \
done
$(HTML_RECURSIVE_TARGETS):
$(DOXYGEN_RECURSIVE_TARGETS):
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(HTML_SUBDIRS)'; for subdir in $$list; do \
list='$(DOXYGEN_SUBDIRS)'; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
......@@ -996,7 +1012,7 @@ $(HTML_RECURSIVE_TARGETS):
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
......
#*******************************************************************************
# E.S.O. - VLT project
#
# "@(#) $Id: Makefile.purify.in,v 1.2 2008/05/09 14:01:27 cguirao Exp $"
# "@(#) $Id: Makefile.purify.in,v 1.2 2008-05-09 14:01:27 cguirao Exp $"
#
# Makefile of Pipeline subsystem.
#
......
......@@ -13,7 +13,7 @@ AC_DEFUN([LIB_CHECK_GSL],
naco_gsl_libraries=""
AC_ARG_WITH(gsl,
AC_HELP_STRING([--with-gsl],
AS_HELP_STRING([--with-gsl],
[location where gsl is installed]),
[
naco_with_gsl_includes=$withval/include
......@@ -21,17 +21,17 @@ AC_DEFUN([LIB_CHECK_GSL],
])
AC_ARG_WITH(gsl-includes,
AC_HELP_STRING([--with-gsl-includes],
AS_HELP_STRING([--with-gsl-includes],
[location of the gsl header files]),
naco_with_gsl_includes=$withval)
AC_ARG_WITH(gsl-libs,
AC_HELP_STRING([--with-gsl-libs],
AS_HELP_STRING([--with-gsl-libs],
[location of the gsl library]),
naco_with_gsl_libs=$withval)
AC_ARG_ENABLE(gsl-test,
AC_HELP_STRING([--disable-gsl-test],
AS_HELP_STRING([--disable-gsl-test],
[disables checks for the gsl library and headers]),
naco_enable_gsl_test=$enableval,
naco_enable_gsl_test=yes)
......@@ -225,21 +225,33 @@ AC_DEFUN([VISIR_SET_PATHS],
if test -z "$pipedocsdir"; then
pipedocsdir='${datadir}/doc/esopipes/${PACKAGE}-${VERSION}'
fi
htmldir='${pipedocsdir}/html'
if test -z "$configdir"; then
configdir='${datadir}/${PACKAGE}/config'
configdir='${datadir}/esopipes/${PACKAGE}-${VERSION}/config'
fi
if test -z "$privatelibdir"; then
privatelibdir='${libdir}/${PACKAGE}-${VERSION}'
fi
if test -z "$wkfextradir"; then
wkfextradir='${datadir}/esopipes/${PACKAGE}-${VERSION}/reflex'
fi
if test -z "$wkfcopydir"; then
wkfcopydir='${datadir}/reflex/workflows/${PACKAGE}-${VERSION}'
fi
AC_SUBST(plugindir)
AC_SUBST(htmldir)
AC_SUBST(configdir)
AC_SUBST(privatelibdir)
AC_SUBST(pipedocsdir)
AC_SUBST(wkfextradir)
AC_SUBST(wkfcopydir)
# evaluate $libdir -> $exec_prefix/lib -> full path, for maintainer mode
eval private_libdir="$privatelibdir"
eval private_libdir="$private_libdir"
ac_configure_args="$ac_configure_args SWARPPREFIX=${private_libdir}"
# Define a preprocesor symbol for the plugin search paths
......@@ -254,6 +266,17 @@ AC_DEFUN([VISIR_SET_PATHS],
AC_DEFINE_UNQUOTED(VISIR_PLUGIN_PATH, "$plugin_path",
[Absolute path to the plugin directory tree])
# evaluate variables for maintainer mode
eval config_dir="$configdir"
eval config_dir="$config_dir"
eval config_dir="$config_dir"
AC_DEFINE_UNQUOTED(VISIR_CONFIG_PATH, "$config_dir",
[Absolute path to the config data directory])
eval swarp_bin="${private_libdir}/bin/swarp"
AC_DEFINE_UNQUOTED(VISIR_SWARP_BIN, "$swarp_bin",
[Absolute path to the swarp binary])
])
......
......@@ -790,35 +790,6 @@ else
fi
])
# -*- Autoconf -*-
# Obsolete and "removed" macros, that must however still report explicit
# error messages when used, to smooth transition.
#
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([AM_CONFIG_HEADER],
[AC_DIAGNOSE([obsolete],
['$0': this macro is obsolete.
You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
AC_CONFIG_HEADERS($@)])
AC_DEFUN([AM_PROG_CC_STDC],
[AC_PROG_CC
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
AC_DIAGNOSE([obsolete],
['$0': this macro is obsolete.
You should simply use the 'AC][_PROG_CC' macro instead.
Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
but upon 'ac_cv_prog_cc_stdc'.])])
AC_DEFUN([AM_C_PROTOTYPES],
[AC_FATAL([automatic de-ANSI-fication support has been removed])])
AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
......
This diff is collapsed.
DOXYGEN_BUILD_DIR = $(top_builddir)/doxygen
DOXYGEN_HTML_DIR = $(top_builddir)/html
DOXYGEN_HTML_INSTDIR = $(pipedocsdir)/html
if MAINTAINER_MODE
DOXYGEN_RECURSIVE_TARGETS = install-doxygen-recursive
doxygen: doxygen-am
doxygen-am:
@if test -f $(DOXYGEN_BUILD_DIR)/Doxyfile; then \
echo "cd $(DOXYGEN_BUILD_DIR) && $(DOXYGEN)"; \
d=`pwd`; cd $(DOXYGEN_BUILD_DIR) && $(DOXYGEN); cd $$d; \
if test -n "$(POST_DOXYGEN_CLEANFILES)"; then \
cd $(DOXYGEN_HTML_DIR) && rm -f $(POST_DOXYGEN_CLEANFILES); \
fi; \
else \
echo "Nothing to be done for \`$@'."; \
fi
clean-doxygen: clean-doxygen-am
clean-doxygen-am:
-rm -rf $(DOXYGEN_HTML_DIR)
DOXYGEN_INSTALL_TARGETS = doxygen-am install-doxygen-generic
else
DOXYGEN_RECURSIVE_TARGETS = install-doxygen-recursive
DOXYGEN_INSTALL_TARGETS = install-doxygen-generic
doxygen-am:
endif
install-doxygen: install-doxygen-recursive
install-doxygen-am: $(DOXYGEN_INSTALL_TARGETS)
install-doxygen-generic: doxygen-am
@$(NORMAL_INSTALL)
echo "Installing doxygen $(DOXYGEN_HTML_DIR)"
@if test -d $(DOXYGEN_HTML_DIR); then \
echo "$(mkinstalldirs) $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)"; \
$(mkinstalldirs) $(DESTDIR)$(DOXYGEN_HTML_INSTDIR); \
list="`ls -1 $(DOXYGEN_HTML_DIR)`"; \
for p in $$list; do \
if test -f $(DOXYGEN_HTML_DIR)/$$p; then \
echo " $(INSTALL_DATA) $(DOXYGEN_HTML_DIR)/$$p $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p"; \
$(INSTALL_DATA) $(DOXYGEN_HTML_DIR)/$$p $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p; \
else if test -f $$p; then \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p; \
fi; fi; \
done; \
fi
uninstall-doxygen:
@$(NORMAL_UNINSTALL)
@list="`ls -1 $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)`"; \
for p in $$list; do \
echo " rm -f $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p"; \
rm -f $(DESTDIR)$(DOXYGEN_HTML_INSTDIR)/$$p; \
done
$(DOXYGEN_RECURSIVE_TARGETS):
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(DOXYGEN_SUBDIRS)'; \
for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
if MAINTAINER_MODE
HTML_RECURSIVE_TARGETS = install-html-recursive
html-am:
@if test -f doxygen/Doxyfile; then \
echo "cd doxygen && $(DOXYGEN)"; \
d=`pwd`; cd doxygen && $(DOXYGEN); cd $$d; \
if test -n "$(POST_DOXYGEN_CLEANFILES)"; then \
cd $(top_srcdir)/html && rm -f $(POST_DOXYGEN_CLEANFILES); \
fi; \
else \
echo "Nothing to be done for \`$@'."; \
fi
clean-html: clean-html-am
clean-html-am:
-rm -rf $(top_srcdir)/html
install-html-am: html-am install-html-generic
else
HTML_RECURSIVE_TARGETS = install-html-recursive
install-html-am: install-html-generic
endif
install-html: install-html-recursive
install-html-generic:
@$(NORMAL_INSTALL)
@if test -d $(top_srcdir)/html; then \
echo "$(mkinstalldirs) $(DESTDIR)$(htmldir)"; \
$(mkinstalldirs) $(DESTDIR)$(htmldir); \
list="`ls -1 $(top_srcdir)/html`"; \
for p in $$list; do \
if test -f $(top_srcdir)/html/$$p; then \
echo " $(INSTALL_DATA) $(top_srcdir)/html/$$p $(DESTDIR)$(htmldir)/$$p"; \
$(INSTALL_DATA) $(top_srcdir)/html/$$p $(DESTDIR)$(htmldir)/$$p; \
else if test -f $$p; then \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$p"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(htmldir)/$$p; \
fi; fi; \
done; \
fi
uninstall-html:
@$(NORMAL_UNINSTALL)
@list="`ls -1 $(DESTDIR)$(htmldir)`"; for p in $$list; do \
echo " rm -f $(DESTDIR)$(htmldir)/$$p"; \
rm -f $(DESTDIR)$(htmldir)/$$p; \
done
$(HTML_RECURSIVE_TARGETS):
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(HTML_SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
This diff is collapsed.
This diff is collapsed.
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2004-02-15.20
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
Create each directory DIR (with mode MODE, if specified), including all
leading file name components.
Report bugs to <bug-automake@gnu.org>."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help | --h*) # -h for help
echo "$usage"
exit 0
;;
-m) # -m PERM arg
shift
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
dirmode=$1
shift
;;
--version)
echo "$0 $scriptversion"
exit 0
;;
--) # stop option processing
shift
break
;;
-*) # unknown option
echo "$usage" 1>&2
exit 1
;;
*) # first non-opt arg
break
;;
esac
done
for file
do
if test -d "$file"; then
shift
else
break
fi
done
case $# in
0) exit 0 ;;
esac
# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
# mkdir -p a/c at the same time, both will detect that a is missing,
# one will create a, then the other will try to create a and die with
# a "File exists" error. This is a problem when calling mkinstalldirs
# from a parallel make. We use --version in the probe to restrict
# ourselves to GNU mkdir, which is thread-safe.
case $dirmode in
'')
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
echo "mkdir -p -- $*"
exec mkdir -p -- "$@"
else
# On NextStep and OpenStep, the `mkdir' command does not
# recognize any option. It will interpret all options as
# directories to create, and then abort because `.' already
# exists.
test -d ./-p && rmdir ./-p
test -d ./--version && rmdir ./--version
fi
;;
*)
if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
test ! -d ./--version; then
echo "mkdir -m $dirmode -p -- $*"
exec mkdir -m "$dirmode" -p -- "$@"
else
# Clean up after NextStep and OpenStep mkdir.
for d in ./-m ./-p ./--version "./$dirmode";
do
test -d $d && rmdir $d
done
fi
;;
esac
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case $pathcomp in
-*) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
else
if test ! -z "$dirmode"; then
echo "chmod $dirmode $pathcomp"