Makefile.in revision 9081b9c101e8a47d935910ccf35c844c96e7f16e
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederSUBDIRS = srclib os server modules support
e9458b1a7a19a63aa4c179f9ab20f4d50681c168Jens ElknerCLEAN_SUBDIRS = test
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAM_NAME = $(progname)
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu ProdescuPROGRAM_SOURCES = modules.c
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAM_LDADD = buildmark.o $(HTTPD_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS) $(AP_LIBS) $(LIBS)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAM_PRELINK = $(COMPILE) -c $(top_srcdir)/server/buildmark.c
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAM_DEPENDENCIES = \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder server/libmain.la \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(BUILTIN_LIBS) \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(MPM_LIB) \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder os/$(OS_DIR)/libos.la
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederPROGRAMS = $(PROGRAM_NAME)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederTARGETS = $(PROGRAMS) $(shared_build) $(other_targets)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederINSTALL_TARGETS = install-conf install-htdocs install-error install-icons \
654eedbcf7478c0d24ecba13325cf57ac2858071Christian Maeder install-other install-cgi install-include install-suexec install-build \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder install-man
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederDISTCLEAN_TARGETS = include/ap_config_auto.h include/ap_config_layout.h \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder modules.c config.cache config.log config.status build/config_vars.mk \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder build/rules.mk docs/conf/httpd.conf docs/conf/extra/*.conf shlibtool \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder build/pkg/pkginfo build/config_vars.sh
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von SchroederEXTRACLEAN_TARGETS = configure include/ap_config_auto.h.in generated_lists \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder httpd.spec
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinclude $(top_builddir)/build/rules.mk
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinclude $(top_srcdir)/build/program.mk
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinstall-conf:
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @echo Installing configuration files
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/extra
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir)/original/extra
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @cd $(top_srcdir)/docs/conf; \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder for i in mime.types magic; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder fi; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder done; \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder for j in $(top_srcdir)/docs/conf $(top_builddir)/docs/conf ; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cd $$j ; \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder for i in httpd.conf extra/httpd-*.conf; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if [ -f $$i ] ; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder ( \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test $$n_lm -eq 0 -o "x$(DSO_MODULES)" = "x"; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder sed -e 's#@@ServerRoot@@#$(prefix)#g' \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder -e 's#@@Port@@#$(PORT)#g' \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder -e 's#@@SSLPort@@#$(SSLPORT)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e '/@@LoadModule@@/d' \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder < $$i; \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder else \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder sed -n -e '/@@LoadModule@@/q' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e 's#@@ServerRoot@@#$(prefix)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e 's#@@Port@@#$(PORT)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e 's#@@SSLPort@@#$(SSLPORT)#g' \
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder -e 'p' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder < $$i; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder for j in $(DSO_MODULES) "^EOL^"; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test $$j != "^EOL^"; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo "LoadModule $${j}_module $(rel_libexecdir)/mod_$${j}.so"; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder done; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder sed -e '1,/@@LoadModule@@/d' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e '/@@LoadModule@@/d' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e 's#@@ServerRoot@@#$(prefix)#g' \
656f17ae9b7610ff2de1b6eedeeadea0c3bcdc8dChristian Maeder -e 's#@@Port@@#$(PORT)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -e 's#@@SSLPort@@#$(SSLPORT)#g' \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder < $$i; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder ) > $(DESTDIR)$(sysconfdir)/original/$$i; \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder chmod 0644 $(DESTDIR)$(sysconfdir)/original/$$i; \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder file=$$i; \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder if [ "$$i" = "httpd.conf" ]; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder file=`echo $$i|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder done ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder done ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test -f "$(builddir)/envvars-std"; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cp -p envvars-std $(DESTDIR)$(sbindir); \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test ! -f $(DESTDIR)$(sbindir)/envvars; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder# Create a sanitized config_vars.mk
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederbuild/config_vars.out: build/config_vars.mk
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @$(SHELL) build/config_vars.sh < build/config_vars.mk > build/config_vars.out
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinstall-build: build/config_vars.out
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @echo Installing build system files
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @$(MKINSTALLDIRS) $(DESTDIR)$(installbuilddir)
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @for f in $(top_srcdir)/build/*.mk build/*.mk; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(INSTALL_DATA) $$f $(DESTDIR)$(installbuilddir); \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder done
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @for f in $(top_builddir)/config.nice \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(top_srcdir)/build/mkdir.sh \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(top_srcdir)/build/instdso.sh; do \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(INSTALL_PROGRAM) $$f $(DESTDIR)$(installbuilddir); \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder done
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @$(INSTALL_DATA) build/config_vars.out $(DESTDIR)$(installbuilddir)/config_vars.mk
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @rm build/config_vars.out
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederhtdocs-srcdir = $(top_srcdir)/docs/docroot
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederdocs:
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder @if test -d $(top_srcdir)/docs/manual/build; then \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder cd $(top_srcdir)/docs/manual/build && ./build.sh all; \
ba06b25b69be05a4733db7197940efd73976f215Jonathan von Schroeder else \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo 'For details on generating the docs, please read:'; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo ' http://httpd.apache.org/docs-project/docsformat.html'; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederdox:
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder doxygen $(top_srcdir)/docs/doxygen.conf
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinstall-htdocs:
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -@if [ -d $(DESTDIR)$(htdocsdir) ]; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo "[PRESERVING EXISTING HTDOCS SUBDIR: $(DESTDIR)$(htdocsdir)]"; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder else \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo Installing HTML documents ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder if test -d $(htdocs-srcdir) && test "x$(RSYNC)" != "x" && test -x $(RSYNC) ; then \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder $(RSYNC) --exclude .svn -rlpt --numeric-ids $(htdocs-srcdir)/ $(DESTDIR)$(htdocsdir)/; \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder else \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir)) ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cd $(DESTDIR)$(htdocsdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder fi; \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder fi
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroederinstall-error:
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder -@if [ -d $(DESTDIR)$(errordir) ]; then \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder echo "[PRESERVING EXISTING ERROR SUBDIR: $(DESTDIR)$(errordir)]"; \
ece3b1a5353a9af3c966a1d5453594ed35334f7bJonathan von Schroeder else \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo Installing error documents ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(MKINSTALLDIRS) $(DESTDIR)$(errordir) ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir) ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinstall-icons:
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -@if [ -d $(DESTDIR)$(iconsdir) ]; then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo "[PRESERVING EXISTING ICONS SUBDIR: $(DESTDIR)$(iconsdir)]"; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder else \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo Installing icons ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder $(MKINSTALLDIRS) $(DESTDIR)$(iconsdir) ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder cd $(top_srcdir)/docs/icons && cp -rp * $(DESTDIR)$(iconsdir) ; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder fi
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroederinstall-cgi:
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder -@if [ -d $(DESTDIR)$(cgidir) ];then \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo "[PRESERVING EXISTING CGI SUBDIR: $(DESTDIR)$(cgidir)]"; \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder else \
b35e053c2c5a5ea0f13decfd0303894861d82b4dJonathan von Schroeder echo Installing CGIs ; \
$(MKINSTALLDIRS) $(DESTDIR)$(cgidir) ; \
cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(DESTDIR)$(cgidir) ; \
test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
fi
install-other:
@test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir)
@test -d $(DESTDIR)$(runtimedir) || $(MKINSTALLDIRS) $(DESTDIR)$(runtimedir)
@for ext in dll x; do \
file=apachecore.$$ext; \
if test -f $$file; then \
cp -p $$file $(DESTDIR)$(libdir); \
fi; \
done; \
file=httpd.dll; \
if test -f $$file; then \
cp -p $$file $(DESTDIR)$(bindir); \
fi;
INSTALL_HEADERS = \
include/*.h \
$(srcdir)/include/*.h \
$(srcdir)/os/$(OS_DIR)/os.h \
$(srcdir)/modules/arch/unix/mod_unixd.h \
$(srcdir)/modules/core/mod_so.h \
$(srcdir)/modules/core/mod_watchdog.h \
$(srcdir)/modules/cache/mod_cache.h \
$(srcdir)/modules/database/mod_dbd.h \
$(srcdir)/modules/dav/main/mod_dav.h \
$(srcdir)/modules/filters/mod_include.h \
$(srcdir)/modules/generators/mod_cgi.h \
$(srcdir)/modules/generators/mod_status.h \
$(srcdir)/modules/loggers/mod_log_config.h \
$(srcdir)/modules/mappers/mod_rewrite.h \
$(srcdir)/modules/proxy/mod_proxy.h \
$(srcdir)/modules/proxy/mod_serf.h \
${srcdir}/modules/session/mod_session.h \
$(srcdir)/modules/ssl/mod_ssl.h \
$(srcdir)/os/$(OS_DIR)/*.h
install-include:
@echo Installing header files
@$(MKINSTALLDIRS) $(DESTDIR)$(includedir)
@for hdr in $(INSTALL_HEADERS); do \
$(INSTALL_DATA) $$hdr $(DESTDIR)$(includedir); \
done
install-man:
@echo Installing man pages and online manual
@test -d $(DESTDIR)$(mandir) || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)
@test -d $(DESTDIR)$(mandir)/man1 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
@test -d $(DESTDIR)$(mandir)/man8 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man8
@test -d $(DESTDIR)$(manualdir) || $(MKINSTALLDIRS) $(DESTDIR)$(manualdir)
@cp -p $(top_srcdir)/docs/man/*.1 $(DESTDIR)$(mandir)/man1
@cp -p $(top_srcdir)/docs/man/*.8 $(DESTDIR)$(mandir)/man8
@if test "x$(RSYNC)" != "x" && test -x $(RSYNC) ; then \
$(RSYNC) --exclude .svn -rlpt --numeric-ids $(top_srcdir)/docs/manual/ $(DESTDIR)$(manualdir)/; \
else \
cd $(top_srcdir)/docs/manual && cp -rp * $(DESTDIR)$(manualdir); \
cd $(DESTDIR)$(manualdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
fi
install-suexec:
@if test -f $(builddir)/support/suexec; then \
test -d $(DESTDIR)$(sbindir) || $(MKINSTALLDIRS) $(DESTDIR)$(sbindir); \
$(INSTALL_PROGRAM) $(top_builddir)/support/suexec $(DESTDIR)$(sbindir); \
chmod 4755 $(DESTDIR)$(sbindir)/suexec; \
fi
suexec:
cd support && $(MAKE) suexec
x-local-distclean:
@rm -rf autom4te.cache
include $(top_srcdir)/os/os2/core.mk