diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-10-06 18:11:54 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2021-04-27 18:49:56 +0300 |
commit | 247ce0ca3aaed06703783d586b6eaed1f8379582 (patch) | |
tree | dedbe1b44987b9b5fc7115ade0757eb5dbaa4086 /winsup/doc | |
parent | 3b0ba6535218631b1ab467cd29d36b1eae4a0af6 (diff) |
Cygwin: Use automake (v5)
v2:
* Include tzmap.h in BUILT_SOURCES
* Make per-file flags appear after user-supplied CXXFLAGS, so they can
override optimization level.
* Correct .o files used to define symbols exported by libm.a
* Drop gcrt0.o mistakenly included in libgmon.a
* Add missing line continuations in GMON_FILES value
v3:
* use per-file flags for .c compilation
* override C{XX,}FLAGS, as they are set on the command line by top-level make
v4:
* Drop -Wno-error=write-strings from path_testsuite CXXFLAGS
v5:
* Update for changes in master
- Add -fno-threadsafe-statics to CXX flags
- Add hypotl.cc
- Remove fenv.cc (in favour of newlib), add fenv.c stub
- Add proc.5 manpage rules
Diffstat (limited to 'winsup/doc')
-rw-r--r-- | winsup/doc/Makefile.am | 162 | ||||
-rw-r--r-- | winsup/doc/Makefile.in | 772 |
2 files changed, 849 insertions, 85 deletions
diff --git a/winsup/doc/Makefile.am b/winsup/doc/Makefile.am new file mode 100644 index 000000000..534d67480 --- /dev/null +++ b/winsup/doc/Makefile.am @@ -0,0 +1,162 @@ +# -*- Makefile -*- for winsup/doc +# +# This file is part of Cygwin. +# +# This software is a copyrighted work licensed under the terms of the +# Cygwin license. Please consult the file "CYGWIN_LICENSE" for +# details. + +man1_MANS = +man3_MANS = +man5_MANS = + +doc_DATA = \ + cygwin-ug-net/cygwin-ug-net.pdf \ + cygwin-api/cygwin-api.pdf + +htmldir = $(datarootdir)/doc + +XMLTO=xmlto --skip-validation --with-dblatex +DOCBOOK2XTEXI=@DOCBOOK2XTEXI@ --xinclude --info --utf8trans-map=charmap + +-include Makefile.dep + +.PHONY: install-extra-man install-etc + +all-local: Makefile.dep \ + cygwin-api/cygwin-api.html \ + cygwin-ug-net/cygwin-ug-net.html \ + faq/faq.html faq/faq.body \ + cygwin-ug-net/cygwin-ug-net-nochunks.html.gz \ + api2man.stamp intro2man.stamp utils2man.stamp \ + cygwin-api.info cygwin-ug-net.info + +clean-local: + rm -f Makefile.dep + rm -f *.html *.html.gz + rm -Rf cygwin-api cygwin-ug-net faq + rm -f api2man.stamp intro2man.stamp utils2man.stamp + rm -f *.1 + rm -f *.3 + rm -f *.5 + rm -f *.info* charmap + +install-html-local: cygwin-ug-net/cygwin-ug-net.html cygwin-api/cygwin-api.html + @$(MKDIR_P) $(DESTDIR)$(htmldir)/cygwin-ug-net + $(INSTALL_DATA) cygwin-ug-net/*.html $(DESTDIR)$(htmldir)/cygwin-ug-net + (cd $(DESTDIR)$(htmldir)/cygwin-ug-net && ln -f cygwin-ug-net.html index.html) + $(INSTALL_DATA) $(srcdir)/docbook.css $(DESTDIR)$(htmldir)/cygwin-ug-net + @$(MKDIR_P) $(DESTDIR)$(htmldir)/cygwin-api + $(INSTALL_DATA) cygwin-api/*.html $(DESTDIR)$(htmldir)/cygwin-api + (cd $(DESTDIR)$(htmldir)/cygwin-api && ln -f cygwin-api.html index.html) + $(INSTALL_DATA) $(srcdir)/docbook.css $(DESTDIR)$(htmldir)/cygwin-api + +install-extra-man: api2man.stamp intro2man.stamp utils2man.stamp + @$(MKDIR_P) $(DESTDIR)$(man1dir) + $(INSTALL_DATA) *.1 $(DESTDIR)$(man1dir) + @$(MKDIR_P) $(DESTDIR)$(man3dir) + $(INSTALL_DATA) *.3 $(DESTDIR)$(man3dir) + @$(MKDIR_P) $(DESTDIR)$(man5dir) + $(INSTALL_DATA) *.5 $(DESTDIR)$(man5dir) + +install-info-local: cygwin-ug-net.info cygwin-api.info + @$(MKDIR_P) $(DESTDIR)$(infodir) + $(INSTALL_DATA) *.info* $(DESTDIR)$(infodir) + +install-etc: + @$(MKDIR_P) $(DESTDIR)$(sysconfdir)/postinstall + $(INSTALL_SCRIPT) $(srcdir)/etc.postinstall.cygwin-doc.sh $(DESTDIR)$(sysconfdir)/postinstall/cygwin-doc.sh + @$(MKDIR_P) $(DESTDIR)$(sysconfdir)/preremove + $(INSTALL_SCRIPT) $(srcdir)/etc.preremove.cygwin-doc.sh $(DESTDIR)$(sysconfdir)/preremove/cygwin-doc.sh + +install-data-hook: install-extra-man install-html-local install-info-local install-etc + +uninstall-extra-man: + for i in *.1 ; do \ + rm -f $(DESTDIR)$(man1dir)/$$i ; \ + done + for i in *.3 ; do \ + rm -f $(DESTDIR)$(man3dir)/$$i ; \ + done + for i in *.5 ; do \ + rm -f $(DESTDIR)$(man5dir)/$$i ; \ + done + +uninstall-html: + for i in cygwin-ug-net/*.html ; do \ + rm -f $(DESTDIR)$(htmldir)/$$i ; \ + done ; + rm -f $(DESTDIR)$(htmldir)/cygwin-ug-net/index.html + rm -f $(DESTDIR)$(htmldir)/cygwin-ug-net/docbook.css + for i in cygwin-api/*.html ; do \ + rm -f $(DESTDIR)$(htmldir)/$$i ; \ + done ; + rm -f $(DESTDIR)$(htmldir)/cygwin-api/index.html + rm -f $(DESTDIR)$(htmldir)/cygwin-api/docbook.css + +uninstall-info: + for i in *.info* ; do \ + rm -f $(DESTDIR)$(infodir)/$$i ; \ + done ; + +uninstall-etc: + rm -f $(DESTDIR)$(sysconfdir)/postinstall/cygwin-doc.sh + rm -f $(DESTDIR)$(sysconfdir)/preremove/cygwin-doc.sh + +uninstall-hook: uninstall-extra-man uninstall-html uninstall-info uninstall-etc + +# nochunks ug html is not installed, but will be deployed to website +cygwin-ug-net/cygwin-ug-net-nochunks.html.gz: $(cygwin-ug-net_SOURCES) html.xsl + $(XMLTO) html-nochunks -m $(srcdir)/html.xsl $< + @$(MKDIR_P) cygwin-ug-net + cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html + rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz + gzip cygwin-ug-net/cygwin-ug-net-nochunks.html + +cygwin-ug-net/cygwin-ug-net.html: $(cygwin-ug-net_SOURCES) html.xsl + $(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $< + +cygwin-ug-net/cygwin-ug-net.pdf: $(cygwin-ug-net_SOURCES) fo.xsl + $(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $< + +utils2man.stamp: $(cygwin-ug-net_SOURCES) man.xsl + $(XMLTO) man -m $(srcdir)/man.xsl $< + @touch $@ + +cygwin-ug-net.info: $(cygwin-ug-net_SOURCES) charmap + $(DOCBOOK2XTEXI) $(srcdir)/cygwin-ug-net.xml --string-param output-file=cygwin-ug-net + +cygwin-api/cygwin-api.html: $(cygwin-api_SOURCES) html.xsl + $(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $< + +cygwin-api/cygwin-api.pdf: $(cygwin-api_SOURCES) fo.xsl + $(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $< + +api2man.stamp: $(cygwin-api_SOURCES) man.xsl + $(XMLTO) man -m $(srcdir)/man.xsl $< + @touch $@ + +cygwin-api.info: $(cygwin-api_SOURCES) charmap + $(DOCBOOK2XTEXI) $(srcdir)/cygwin-api.xml --string-param output-file=cygwin-api + +# this generates a custom charmap for docbook2x-texi which has a mapping for ® +charmap: + cp /usr/share/docbook2X/charmaps/texi.charmap charmap + echo "ae (R)" >>charmap + +intro2man.stamp: intro.xml man.xsl + $(XMLTO) man -m $(srcdir)/man.xsl $< + @echo ".so intro.1" >cygwin.1 + @touch $@ + +faq/faq.html: $(faq_SOURCES) html.xsl + $(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml + sed -i 's;<a name="id[mp][0-9]*"></a>;;g' faq/faq.html + +# faq body is not installed, but is intended to be deployed to website, where it +# can be SSI included in a framing page +faq/faq.body: faq/faq.html + $(srcdir)/bodysnatcher.pl $< + +Makefile.dep: cygwin-ug-net.xml cygwin-api.xml faq.xml intro.xml + cd $(srcdir) && ./xidepend $^ > "$(CURDIR)/$@" diff --git a/winsup/doc/Makefile.in b/winsup/doc/Makefile.in index f2a838a5d..76b81d6ad 100644 --- a/winsup/doc/Makefile.in +++ b/winsup/doc/Makefile.in @@ -1,3 +1,20 @@ +# Makefile.in generated by automake 1.11.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# This Makefile.in 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. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + # -*- Makefile -*- for winsup/doc # # This file is part of Cygwin. @@ -6,133 +23,709 @@ # Cygwin license. Please consult the file "CYGWIN_LICENSE" for # details. -SHELL = @SHELL@ -srcdir = @srcdir@ VPATH = @srcdir@ - -prefix:=@prefix@ -datarootdir:=@datarootdir@ -docdir = @docdir@ -htmldir = @htmldir@ -mandir = @mandir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +subdir = doc +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs +CONFIG_HEADER = $(top_builddir)/cygwin/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } man1dir = $(mandir)/man1 +am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" \ + "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(docdir)" man3dir = $(mandir)/man3 man5dir = $(mandir)/man5 -infodir:=@infodir@ -sysconfdir:=@sysconfdir@ +NROFF = nroff +MANS = $(man1_MANS) $(man3_MANS) $(man5_MANS) +DATA = $(doc_DATA) +DEJATOOL = $(PACKAGE) +RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir +EXPECT = expect +RUNTEST = runtest +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCAS = @CCAS@ +CCASDEPMODE = @CCASDEPMODE@ +CCASFLAGS = @CCASFLAGS@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEF_DLL_ENTRY = @DEF_DLL_ENTRY@ +DEPDIR = @DEPDIR@ +DIN_FILE = @DIN_FILE@ +DLLTOOL = @DLLTOOL@ +DLL_ENTRY = @DLL_ENTRY@ +DOCBOOK2XTEXI = @DOCBOOK2XTEXI@ --xinclude --info --utf8trans-map=charmap +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +INCLUDES = @INCLUDES@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MINGW_CC = @MINGW_CC@ +MINGW_CXX = @MINGW_CXX@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +OBJCOPY = @OBJCOPY@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +TLSOFFSETS_H = @TLSOFFSETS_H@ +VERSION = @VERSION@ +WINDRES = @WINDRES@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = $(datarootdir)/doc +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_builddir = @target_builddir@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +winsup_srcdir = @winsup_srcdir@ +man1_MANS = +man3_MANS = +man5_MANS = +doc_DATA = \ + cygwin-ug-net/cygwin-ug-net.pdf \ + cygwin-api/cygwin-api.pdf + +XMLTO = xmlto --skip-validation --with-dblatex +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign doc/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-man1: $(man1_MANS) + @$(NORMAL_INSTALL) + @list1='$(man1_MANS)'; \ + list2=''; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.1[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) +install-man3: $(man3_MANS) + @$(NORMAL_INSTALL) + @list1='$(man3_MANS)'; \ + list2=''; \ + test -n "$(man3dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.3[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \ + done; } + +uninstall-man3: + @$(NORMAL_UNINSTALL) + @list='$(man3_MANS)'; test -n "$(man3dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir) +install-man5: $(man5_MANS) + @$(NORMAL_INSTALL) + @list1='$(man5_MANS)'; \ + list2=''; \ + test -n "$(man5dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.5[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \ + done; } + +uninstall-man5: + @$(NORMAL_UNINSTALL) + @list='$(man5_MANS)'; test -n "$(man5dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir) +install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ + done + +uninstall-docDATA: + @$(NORMAL_UNINSTALL) + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +check-DEJAGNU: site.exp + srcdir='$(srcdir)'; export srcdir; \ + EXPECT=$(EXPECT); export EXPECT; \ + runtest=$(RUNTEST); \ + if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ + exit_status=0; l='$(DEJATOOL)'; for tool in $$l; do \ + if $$runtest $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \ + then :; else exit_status=1; fi; \ + done; \ + else echo "WARNING: could not find \`runtest'" 1>&2; :;\ + fi; \ + exit $$exit_status +site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG) + @echo 'Making a new site.exp file...' + @echo '## these variables are automatically generated by make ##' >site.tmp + @echo '# Do not edit here. If you wish to override these values' >>site.tmp + @echo '# edit the last section' >>site.tmp + @echo 'set srcdir "$(srcdir)"' >>site.tmp + @echo "set objdir `pwd`" >>site.tmp + @echo 'set build_alias "$(build_alias)"' >>site.tmp + @echo 'set build_triplet $(build_triplet)' >>site.tmp + @echo 'set host_alias "$(host_alias)"' >>site.tmp + @echo 'set host_triplet $(host_triplet)' >>site.tmp + @echo 'set target_alias "$(target_alias)"' >>site.tmp + @echo 'set target_triplet $(target_triplet)' >>site.tmp + @list='$(EXTRA_DEJAGNU_SITE_CONFIG)'; for f in $$list; do \ + echo "## Begin content included from file $$f. Do not modify. ##" \ + && cat `test -f "$$f" || echo '$(srcdir)/'`$$f \ + && echo "## End content included from file $$f. ##" \ + || exit 1; \ + done >> site.tmp + @echo "## End of auto-generated content; you can edit from here. ##" >> site.tmp + @if test -f site.exp; then \ + sed -e '1,/^## End of auto-generated content.*##/d' site.exp >> site.tmp; \ + fi + @-rm -f site.bak + @test ! -f site.exp || mv site.exp site.bak + @mv site.tmp site.exp + +distclean-DEJAGNU: + -rm -f site.exp site.bak + -l='$(DEJATOOL)'; for tool in $$l; do \ + rm -f $$tool.sum $$tool.log; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU +check: check-am +all-am: Makefile $(MANS) $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(docdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-DEJAGNU distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-docDATA install-man + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am -override INSTALL:=@INSTALL@ -override INSTALL_DATA:=@INSTALL_DATA@ +install-html-am: install-html-local -MKDIRP:=$(INSTALL) -m 755 -d +install-info: install-info-am -CC:=@CC@ -CC_FOR_TARGET:=@CC@ +install-info-am: install-info-local -XMLTO:=xmlto --skip-validation --with-dblatex -DOCBOOK2XTEXI:=@DOCBOOK2XTEXI@ --xinclude --info --utf8trans-map=charmap +install-man: install-man1 install-man3 install-man5 -include $(srcdir)/../Makefile.common --include Makefile.dep +install-pdf: install-pdf-am -.SUFFIXES: .html .body +install-pdf-am: -.html.body: - $(srcdir)/bodysnatcher.pl $< +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am -.PHONY: all clean install install-all install-pdf install-html install-man \ - info install-info install-etc +pdf-am: -all: Makefile Makefile.dep \ +ps: ps-am + +ps-am: + +uninstall-am: uninstall-docDATA uninstall-man + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook +uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 + +.MAKE: check-am install-am install-data-am install-strip uninstall-am + +.PHONY: all all-am all-local check check-DEJAGNU check-am clean \ + clean-generic clean-local distclean distclean-DEJAGNU \ + distclean-generic dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-data-hook \ + install-docDATA install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am \ + install-html-local install-info install-info-am \ + install-info-local install-man install-man1 install-man3 \ + install-man5 install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ + uninstall-am uninstall-docDATA uninstall-hook uninstall-man \ + uninstall-man1 uninstall-man3 uninstall-man5 + + +-include Makefile.dep + +.PHONY: install-extra-man install-etc + +all-local: Makefile.dep \ + cygwin-api/cygwin-api.html \ cygwin-ug-net/cygwin-ug-net.html \ + faq/faq.html faq/faq.body \ cygwin-ug-net/cygwin-ug-net-nochunks.html.gz \ - cygwin-api/cygwin-api.html \ - faq/faq.body faq/faq.html \ - cygwin-ug-net/cygwin-ug-net.pdf \ - cygwin-api/cygwin-api.pdf \ - utils2man.stamp \ - api2man.stamp \ - intro2man.stamp \ - cygwin-ug-net.info cygwin-api.info + api2man.stamp intro2man.stamp utils2man.stamp \ + cygwin-api.info cygwin-ug-net.info -clean: +clean-local: rm -f Makefile.dep rm -f *.html *.html.gz - rm -Rf cygwin-api cygwin-ug cygwin-ug-net faq + rm -Rf cygwin-api cygwin-ug-net faq rm -f api2man.stamp intro2man.stamp utils2man.stamp rm -f *.1 rm -f *.3 rm -f *.5 rm -f *.info* charmap -install: install-all - -install-all: install-pdf install-html install-man install-info install-etc - -install-pdf: cygwin-ug-net/cygwin-ug-net.pdf cygwin-api/cygwin-api.pdf - @$(MKDIRP) $(DESTDIR)$(docdir) - $(INSTALL_DATA) $^ $(DESTDIR)$(docdir) - -install-html: cygwin-ug-net/cygwin-ug-net.html cygwin-api/cygwin-api.html - @$(MKDIRP) $(DESTDIR)$(htmldir)/cygwin-ug-net +install-html-local: cygwin-ug-net/cygwin-ug-net.html cygwin-api/cygwin-api.html + @$(MKDIR_P) $(DESTDIR)$(htmldir)/cygwin-ug-net $(INSTALL_DATA) cygwin-ug-net/*.html $(DESTDIR)$(htmldir)/cygwin-ug-net - -(cd $(DESTDIR)$(htmldir)/cygwin-ug-net && ln -f cygwin-ug-net.html index.html) + (cd $(DESTDIR)$(htmldir)/cygwin-ug-net && ln -f cygwin-ug-net.html index.html) $(INSTALL_DATA) $(srcdir)/docbook.css $(DESTDIR)$(htmldir)/cygwin-ug-net - @$(MKDIRP) $(DESTDIR)$(htmldir)/cygwin-api + @$(MKDIR_P) $(DESTDIR)$(htmldir)/cygwin-api $(INSTALL_DATA) cygwin-api/*.html $(DESTDIR)$(htmldir)/cygwin-api - -(cd $(DESTDIR)$(htmldir)/cygwin-api && ln -f cygwin-api.html index.html) + (cd $(DESTDIR)$(htmldir)/cygwin-api && ln -f cygwin-api.html index.html) $(INSTALL_DATA) $(srcdir)/docbook.css $(DESTDIR)$(htmldir)/cygwin-api -install-man: utils2man.stamp api2man.stamp intro2man.stamp - @$(MKDIRP) $(DESTDIR)$(man1dir) +install-extra-man: api2man.stamp intro2man.stamp utils2man.stamp + @$(MKDIR_P) $(DESTDIR)$(man1dir) $(INSTALL_DATA) *.1 $(DESTDIR)$(man1dir) - @$(MKDIRP) $(DESTDIR)$(man3dir) + @$(MKDIR_P) $(DESTDIR)$(man3dir) $(INSTALL_DATA) *.3 $(DESTDIR)$(man3dir) - @$(MKDIRP) $(DESTDIR)$(man5dir) + @$(MKDIR_P) $(DESTDIR)$(man5dir) $(INSTALL_DATA) *.5 $(DESTDIR)$(man5dir) -install-info: cygwin-ug-net.info cygwin-api.info - $(MKDIRP) $(DESTDIR)$(infodir) +install-info-local: cygwin-ug-net.info cygwin-api.info + @$(MKDIR_P) $(DESTDIR)$(infodir) $(INSTALL_DATA) *.info* $(DESTDIR)$(infodir) install-etc: - @$(MKDIRP) $(DESTDIR)$(sysconfdir)/postinstall - $(INSTALL) $(srcdir)/etc.postinstall.cygwin-doc.sh $(DESTDIR)$(sysconfdir)/postinstall/cygwin-doc.sh - @$(MKDIRP) $(DESTDIR)$(sysconfdir)/preremove - $(INSTALL) $(srcdir)/etc.preremove.cygwin-doc.sh $(DESTDIR)$(sysconfdir)/preremove/cygwin-doc.sh - -cygwin-ug-net/cygwin-ug-net-nochunks.html.gz : $(cygwin-ug-net_SOURCES) html.xsl - -$(XMLTO) html-nochunks -m $(srcdir)/html.xsl $< - -@$(MKDIRP) cygwin-ug-net - -cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html - -rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz - -gzip cygwin-ug-net/cygwin-ug-net-nochunks.html - -cygwin-ug-net/cygwin-ug-net.html : $(cygwin-ug-net_SOURCES) html.xsl - -$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $< - -cygwin-ug-net/cygwin-ug-net.pdf : $(cygwin-ug-net_SOURCES) fo.xsl - -$(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $< + @$(MKDIR_P) $(DESTDIR)$(sysconfdir)/postinstall + $(INSTALL_SCRIPT) $(srcdir)/etc.postinstall.cygwin-doc.sh $(DESTDIR)$(sysconfdir)/postinstall/cygwin-doc.sh + @$(MKDIR_P) $(DESTDIR)$(sysconfdir)/preremove + $(INSTALL_SCRIPT) $(srcdir)/etc.preremove.cygwin-doc.sh $(DESTDIR)$(sysconfdir)/preremove/cygwin-doc.sh + +install-data-hook: install-extra-man install-html-local install-info-local install-etc + +uninstall-extra-man: + for i in *.1 ; do \ + rm -f $(DESTDIR)$(man1dir)/$$i ; \ + done + for i in *.3 ; do \ + rm -f $(DESTDIR)$(man3dir)/$$i ; \ + done + for i in *.5 ; do \ + rm -f $(DESTDIR)$(man5dir)/$$i ; \ + done + +uninstall-html: + for i in cygwin-ug-net/*.html ; do \ + rm -f $(DESTDIR)$(htmldir)/$$i ; \ + done ; + rm -f $(DESTDIR)$(htmldir)/cygwin-ug-net/index.html + rm -f $(DESTDIR)$(htmldir)/cygwin-ug-net/docbook.css + for i in cygwin-api/*.html ; do \ + rm -f $(DESTDIR)$(htmldir)/$$i ; \ + done ; + rm -f $(DESTDIR)$(htmldir)/cygwin-api/index.html + rm -f $(DESTDIR)$(htmldir)/cygwin-api/docbook.css + +uninstall-info: + for i in *.info* ; do \ + rm -f $(DESTDIR)$(infodir)/$$i ; \ + done ; + +uninstall-etc: + rm -f $(DESTDIR)$(sysconfdir)/postinstall/cygwin-doc.sh + rm -f $(DESTDIR)$(sysconfdir)/preremove/cygwin-doc.sh + +uninstall-hook: uninstall-extra-man uninstall-html uninstall-info uninstall-etc + +# nochunks ug html is not installed, but will be deployed to website +cygwin-ug-net/cygwin-ug-net-nochunks.html.gz: $(cygwin-ug-net_SOURCES) html.xsl + $(XMLTO) html-nochunks -m $(srcdir)/html.xsl $< + @$(MKDIR_P) cygwin-ug-net + cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html + rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz + gzip cygwin-ug-net/cygwin-ug-net-nochunks.html + +cygwin-ug-net/cygwin-ug-net.html: $(cygwin-ug-net_SOURCES) html.xsl + $(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $< + +cygwin-ug-net/cygwin-ug-net.pdf: $(cygwin-ug-net_SOURCES) fo.xsl + $(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $< utils2man.stamp: $(cygwin-ug-net_SOURCES) man.xsl - $(XMLTO) man -m ${srcdir}/man.xsl $< + $(XMLTO) man -m $(srcdir)/man.xsl $< @touch $@ cygwin-ug-net.info: $(cygwin-ug-net_SOURCES) charmap - -$(DOCBOOK2XTEXI) $(srcdir)/cygwin-ug-net.xml --string-param output-file=cygwin-ug-net + $(DOCBOOK2XTEXI) $(srcdir)/cygwin-ug-net.xml --string-param output-file=cygwin-ug-net -cygwin-api/cygwin-api.html : $(cygwin-api_SOURCES) html.xsl - -$(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $< +cygwin-api/cygwin-api.html: $(cygwin-api_SOURCES) html.xsl + $(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $< -cygwin-api/cygwin-api.pdf : $(cygwin-api_SOURCES) fo.xsl - -$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $< +cygwin-api/cygwin-api.pdf: $(cygwin-api_SOURCES) fo.xsl + $(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $< api2man.stamp: $(cygwin-api_SOURCES) man.xsl - $(XMLTO) man -m ${srcdir}/man.xsl $< + $(XMLTO) man -m $(srcdir)/man.xsl $< @touch $@ cygwin-api.info: $(cygwin-api_SOURCES) charmap - -$(DOCBOOK2XTEXI) $(srcdir)/cygwin-api.xml --string-param output-file=cygwin-api + $(DOCBOOK2XTEXI) $(srcdir)/cygwin-api.xml --string-param output-file=cygwin-api # this generates a custom charmap for docbook2x-texi which has a mapping for ® charmap: @@ -140,13 +733,22 @@ charmap: echo "ae (R)" >>charmap intro2man.stamp: intro.xml man.xsl - -$(XMLTO) man -m ${srcdir}/man.xsl $< + $(XMLTO) man -m $(srcdir)/man.xsl $< @echo ".so intro.1" >cygwin.1 @touch $@ -faq/faq.html : $(faq_SOURCES) - -$(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml - -sed -i 's;<a name="id[mp][0-9]*"></a>;;g' faq/faq.html +faq/faq.html: $(faq_SOURCES) html.xsl + $(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml + sed -i 's;<a name="id[mp][0-9]*"></a>;;g' faq/faq.html + +# faq body is not installed, but is intended to be deployed to website, where it +# can be SSI included in a framing page +faq/faq.body: faq/faq.html + $(srcdir)/bodysnatcher.pl $< + +Makefile.dep: cygwin-ug-net.xml cygwin-api.xml faq.xml intro.xml + cd $(srcdir) && ./xidepend $^ > "$(CURDIR)/$@" -Makefile.dep: cygwin-ug-net.xml cygwin-api.xml faq.xml - cd $(srcdir) && ./xidepend $^ > "${CURDIR}/$@" +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: |