From 78dab8888ab1192c8574eed0b60574821337e527 Mon Sep 17 00:00:00 2001 From: "Graydon, Tracy" Date: Fri, 31 Aug 2012 12:59:27 -0700 Subject: [PATCH 1/1] TIVI-153: add as dependency for iputils --- AUTHORS | 2 + COPYING | 1 + ChangeLog | 27 + INSTALL | 1 + Makefile.am | 6 + Makefile.cvs | 7 + Makefile.in | 347 ++++++++++ NEWS | 1 + README | 29 + aclocal.m4 | 104 +++ bin/Makefile.am | 6 + bin/Makefile.in | 198 ++++++ bin/install-catalog.in | 163 +++++ bin/sgmlwhich | 7 + config/Makefile.am | 4 + config/Makefile.in | 196 ++++++ config/sgml.conf | 3 + configure | 1062 ++++++++++++++++++++++++++++++ configure.in | 23 + doc/HTML/Makefile.am | 2 + doc/HTML/Makefile.in | 194 ++++++ doc/HTML/fdl.html | 483 ++++++++++++++ doc/HTML/index.html | 156 +++++ doc/HTML/install-catalog.html | 603 +++++++++++++++++ doc/HTML/introduction.html | 141 ++++ doc/Makefile.am | 3 + doc/Makefile.in | 277 ++++++++ doc/man/Makefile.am | 2 + doc/man/Makefile.in | 194 ++++++ doc/man/install-catalog.8 | 112 ++++ doc/man/manpage.links | 0 doc/man/manpage.refs | 4 + doc/refentry/Makefile.am | 1 + doc/refentry/Makefile.in | 171 +++++ doc/refentry/install-catalog.sgml | 239 +++++++ doc/sgml-common.sgml | 419 ++++++++++++ install-sh | 1 + missing | 1 + mkinstalldirs | 1 + packaging/html.dcl | 88 +++ packaging/html.soc | 31 + packaging/sgml-common-0.6.3-docdir.patch | 25 + packaging/sgml-common-automake.patch | 17 + packaging/sgml-common-quotes.patch | 94 +++ packaging/sgml-common-umask.patch | 12 + packaging/sgml-common-xmldir.patch | 19 + packaging/sgml-common.changes | 135 ++++ packaging/sgml-common.spec | 137 ++++ packaging/xml.dcl | 179 +++++ packaging/xml.soc | 1 + sgml-iso-entities/ISOamsa.ent | 66 ++ sgml-iso-entities/ISOamsb.ent | 52 ++ sgml-iso-entities/ISOamsc.ent | 20 + sgml-iso-entities/ISOamsn.ent | 70 ++ sgml-iso-entities/ISOamso.ent | 29 + sgml-iso-entities/ISOamsr.ent | 94 +++ sgml-iso-entities/ISObox.ent | 62 ++ sgml-iso-entities/ISOcyr1.ent | 77 +++ sgml-iso-entities/ISOcyr2.ent | 36 + sgml-iso-entities/ISOdia.ent | 24 + sgml-iso-entities/ISOgrk1.ent | 59 ++ sgml-iso-entities/ISOgrk2.ent | 30 + sgml-iso-entities/ISOgrk3.ent | 53 ++ sgml-iso-entities/ISOgrk4.ent | 53 ++ sgml-iso-entities/ISOlat1.ent | 72 ++ sgml-iso-entities/ISOlat2.ent | 131 ++++ sgml-iso-entities/ISOnum.ent | 91 +++ sgml-iso-entities/ISOpub.ent | 100 +++ sgml-iso-entities/ISOtech.ent | 73 ++ sgml-iso-entities/Makefile.am | 7 + sgml-iso-entities/Makefile.in | 197 ++++++ sgml-iso-entities/catalog | 25 + xml-iso-entities/ISOamsa.ent | 61 ++ xml-iso-entities/ISOamsb.ent | 47 ++ xml-iso-entities/ISOamsc.ent | 15 + xml-iso-entities/ISOamsn.ent | 64 ++ xml-iso-entities/ISOamso.ent | 24 + xml-iso-entities/ISOamsr.ent | 89 +++ xml-iso-entities/ISObox.ent | 45 ++ xml-iso-entities/ISOcyr1.ent | 72 ++ xml-iso-entities/ISOcyr2.ent | 31 + xml-iso-entities/ISOdia.ent | 19 + xml-iso-entities/ISOgrk1.ent | 54 ++ xml-iso-entities/ISOgrk2.ent | 25 + xml-iso-entities/ISOgrk3.ent | 48 ++ xml-iso-entities/ISOgrk4.ent | 48 ++ xml-iso-entities/ISOlat1.ent | 67 ++ xml-iso-entities/ISOlat2.ent | 126 ++++ xml-iso-entities/ISOnum.ent | 81 +++ xml-iso-entities/ISOpub.ent | 90 +++ xml-iso-entities/ISOtech.ent | 67 ++ xml-iso-entities/Makefile.am | 7 + xml-iso-entities/Makefile.in | 197 ++++++ xml-iso-entities/catalog | 25 + xml.dcl | 175 +++++ 95 files changed, 8827 insertions(+) create mode 100644 AUTHORS create mode 120000 COPYING create mode 100644 ChangeLog create mode 120000 INSTALL create mode 100644 Makefile.am create mode 100644 Makefile.cvs create mode 100644 Makefile.in create mode 100644 NEWS create mode 100644 README create mode 100644 aclocal.m4 create mode 100644 bin/Makefile.am create mode 100644 bin/Makefile.in create mode 100755 bin/install-catalog.in create mode 100755 bin/sgmlwhich create mode 100644 config/Makefile.am create mode 100644 config/Makefile.in create mode 100644 config/sgml.conf create mode 100755 configure create mode 100644 configure.in create mode 100644 doc/HTML/Makefile.am create mode 100644 doc/HTML/Makefile.in create mode 100644 doc/HTML/fdl.html create mode 100644 doc/HTML/index.html create mode 100644 doc/HTML/install-catalog.html create mode 100644 doc/HTML/introduction.html create mode 100644 doc/Makefile.am create mode 100644 doc/Makefile.in create mode 100644 doc/man/Makefile.am create mode 100644 doc/man/Makefile.in create mode 100644 doc/man/install-catalog.8 create mode 100644 doc/man/manpage.links create mode 100644 doc/man/manpage.refs create mode 100644 doc/refentry/Makefile.am create mode 100644 doc/refentry/Makefile.in create mode 100644 doc/refentry/install-catalog.sgml create mode 100644 doc/sgml-common.sgml create mode 120000 install-sh create mode 120000 missing create mode 120000 mkinstalldirs create mode 100644 packaging/html.dcl create mode 100644 packaging/html.soc create mode 100644 packaging/sgml-common-0.6.3-docdir.patch create mode 100644 packaging/sgml-common-automake.patch create mode 100644 packaging/sgml-common-quotes.patch create mode 100644 packaging/sgml-common-umask.patch create mode 100644 packaging/sgml-common-xmldir.patch create mode 100644 packaging/sgml-common.changes create mode 100644 packaging/sgml-common.spec create mode 100644 packaging/xml.dcl create mode 100644 packaging/xml.soc create mode 100755 sgml-iso-entities/ISOamsa.ent create mode 100755 sgml-iso-entities/ISOamsb.ent create mode 100755 sgml-iso-entities/ISOamsc.ent create mode 100755 sgml-iso-entities/ISOamsn.ent create mode 100755 sgml-iso-entities/ISOamso.ent create mode 100755 sgml-iso-entities/ISOamsr.ent create mode 100755 sgml-iso-entities/ISObox.ent create mode 100755 sgml-iso-entities/ISOcyr1.ent create mode 100755 sgml-iso-entities/ISOcyr2.ent create mode 100755 sgml-iso-entities/ISOdia.ent create mode 100755 sgml-iso-entities/ISOgrk1.ent create mode 100755 sgml-iso-entities/ISOgrk2.ent create mode 100755 sgml-iso-entities/ISOgrk3.ent create mode 100755 sgml-iso-entities/ISOgrk4.ent create mode 100755 sgml-iso-entities/ISOlat1.ent create mode 100755 sgml-iso-entities/ISOlat2.ent create mode 100755 sgml-iso-entities/ISOnum.ent create mode 100755 sgml-iso-entities/ISOpub.ent create mode 100755 sgml-iso-entities/ISOtech.ent create mode 100644 sgml-iso-entities/Makefile.am create mode 100644 sgml-iso-entities/Makefile.in create mode 100644 sgml-iso-entities/catalog create mode 100644 xml-iso-entities/ISOamsa.ent create mode 100644 xml-iso-entities/ISOamsb.ent create mode 100644 xml-iso-entities/ISOamsc.ent create mode 100644 xml-iso-entities/ISOamsn.ent create mode 100644 xml-iso-entities/ISOamso.ent create mode 100644 xml-iso-entities/ISOamsr.ent create mode 100644 xml-iso-entities/ISObox.ent create mode 100644 xml-iso-entities/ISOcyr1.ent create mode 100644 xml-iso-entities/ISOcyr2.ent create mode 100644 xml-iso-entities/ISOdia.ent create mode 100644 xml-iso-entities/ISOgrk1.ent create mode 100644 xml-iso-entities/ISOgrk2.ent create mode 100644 xml-iso-entities/ISOgrk3.ent create mode 100644 xml-iso-entities/ISOgrk4.ent create mode 100644 xml-iso-entities/ISOlat1.ent create mode 100644 xml-iso-entities/ISOlat2.ent create mode 100644 xml-iso-entities/ISOnum.ent create mode 100644 xml-iso-entities/ISOpub.ent create mode 100644 xml-iso-entities/ISOtech.ent create mode 100644 xml-iso-entities/Makefile.am create mode 100644 xml-iso-entities/Makefile.in create mode 100644 xml-iso-entities/catalog create mode 100644 xml.dcl diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..b4b2b6a --- /dev/null +++ b/AUTHORS @@ -0,0 +1,2 @@ +Eric Bischoff +ISO (International Standardization Organization) diff --git a/COPYING b/COPYING new file mode 120000 index 0000000..d57175e --- /dev/null +++ b/COPYING @@ -0,0 +1 @@ +/usr/share/automake/COPYING \ No newline at end of file diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..ec6b3e2 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,27 @@ +2001-05-25 Eric Bischoff + + * added XML ISO entities + + * switched to version 0.6.3 + +2001-04-27 Eric Bischoff + + * "-a" flag for automake is cleaner (thanks Mark) + + * switched to version 0.6.2 + +2001-01-30 Eric Bischoff + + * fixed autoconf/automake support + + * switched to version 0.6.1 + +2001-01-12 Eric Bischoff + + * added autoconf/automake support + + * install-catalog.in: added backward compatibility + with old DocBook-tools' install-catalog (thanks + Tim Waugh from RedHat) + + * switched to version 0.6 diff --git a/INSTALL b/INSTALL new file mode 120000 index 0000000..770355a --- /dev/null +++ b/INSTALL @@ -0,0 +1 @@ +/usr/share/automake/INSTALL \ No newline at end of file diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..e892d25 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,6 @@ +SUBDIRS = bin config doc sgml-iso-entities xml-iso-entities + +sgmlcodir = $(prefix)/share/sgml +sgmlco_DATA = xml.dcl + +EXTRA_DIST = AUTHORS README COPYING INSTALL NEWS ChangeLog TODO $(sgmlco_DATA) diff --git a/Makefile.cvs b/Makefile.cvs new file mode 100644 index 0000000..83d7686 --- /dev/null +++ b/Makefile.cvs @@ -0,0 +1,7 @@ +all: + aclocal + automake -a + autoconf + rm -r `find . -name CVS` + @echo "The package is ready for being put in a tarball" + @echo "To install it, you can type: ./configure; make; make install" diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..8a6cdfb --- /dev/null +++ b/Makefile.in @@ -0,0 +1,347 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 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. + + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +# use 'DESTDIR' from environment! + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = . + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ +docdir = @docdir@ + +SUBDIRS = bin config doc sgml-iso-entities xml-iso-entities + +sgmlcodir = $(prefix)/share/sgml +sgmlco_DATA = xml.dcl + +EXTRA_DIST = AUTHORS README COPYING INSTALL NEWS ChangeLog TODO $(sgmlco_DATA) +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +DATA = $(sgmlco_DATA) + +DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ +Makefile.in NEWS aclocal.m4 configure configure.in install-sh missing \ +mkinstalldirs + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): configure.in + cd $(srcdir) && $(ACLOCAL) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +install-sgmlcoDATA: $(sgmlco_DATA) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(sgmlcodir) + @list='$(sgmlco_DATA)'; for p in $$list; do \ + if test -f $(srcdir)/$$p; then \ + echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sgmlcodir)/$$p"; \ + $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sgmlcodir)/$$p; \ + else if test -f $$p; then \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sgmlcodir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(sgmlcodir)/$$p; \ + fi; fi; \ + done + +uninstall-sgmlcoDATA: + @$(NORMAL_UNINSTALL) + list='$(sgmlco_DATA)'; for p in $$list; do \ + rm -f $(DESTDIR)$(sgmlcodir)/$$p; \ + done + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + +@SET_MAKE@ + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(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" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" = "." && dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + 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 && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: install-sgmlcoDATA +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: uninstall-sgmlcoDATA +uninstall: uninstall-recursive +all-am: Makefile $(DATA) +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + $(mkinstalldirs) $(DESTDIR)$(sgmlcodir) + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: uninstall-sgmlcoDATA install-sgmlcoDATA install-data-recursive \ +uninstall-data-recursive install-exec-recursive \ +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ +all-recursive check-recursive installcheck-recursive info-recursive \ +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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: diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..f05a1fc --- /dev/null +++ b/NEWS @@ -0,0 +1 @@ +Version 0.6 * introduced automake/autoconf support so we can make tarballs diff --git a/README b/README new file mode 100644 index 0000000..6b9b1ea --- /dev/null +++ b/README @@ -0,0 +1,29 @@ +Eric Bischoff +ebisch@cybercable.tm.fr January 12, 2001 + +Introduction +------------ + +The sgml-common package gathers very basic stuff necessary to +work with SGML and XML. + +They currently contain: + - xml.dcl: SGML declaration of XML + - iso-entities: the basic SGML ISO entities + - install-catalog: a script used to add entries to (or remove + entries from) centralized catalogs. These entries are pointers + to SGML open catalogs as defined by OASIS (see TR9401:1997 on + http://www.oasis-open.org). + - sgmlwhich: a small script telling where SGML main configuration file + is located (provided for compatibility with non-FHS systems) + + +Compatibility +------------- + +The sgml-common files are inspired by the former scripts from the +DocBook-Tools distribution (hosted by Cygnus sourceware project). + +They comply with FHS and LSB. + + diff --git a/aclocal.m4 b/aclocal.m4 new file mode 100644 index 0000000..9f8add8 --- /dev/null +++ b/aclocal.m4 @@ -0,0 +1,104 @@ +dnl aclocal.m4 generated automatically by aclocal 1.4 + +dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A +dnl PARTICULAR PURPOSE. + +# Do all the work for Automake. This macro actually does too much -- +# some checks are only needed if your package does certain things. +# But this isn't really a big deal. + +# serial 1 + +dnl Usage: +dnl AM_INIT_AUTOMAKE(package,version, [no-define]) + +AC_DEFUN(AM_INIT_AUTOMAKE, +[AC_REQUIRE([AC_PROG_INSTALL]) +PACKAGE=[$1] +AC_SUBST(PACKAGE) +VERSION=[$2] +AC_SUBST(VERSION) +dnl test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +fi +ifelse([$3],, +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) +AC_REQUIRE([AM_SANITY_CHECK]) +AC_REQUIRE([AC_ARG_PROGRAM]) +dnl FIXME This is truly gross. +missing_dir=`cd $ac_aux_dir && pwd` +AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) +AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) +AC_REQUIRE([AC_PROG_MAKE_SET])]) + +# +# Check to make sure that the build environment is sane. +# + +AC_DEFUN(AM_SANITY_CHECK, +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftestfile +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` + if test "[$]*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftestfile` + fi + if test "[$]*" != "X $srcdir/configure conftestfile" \ + && test "[$]*" != "X conftestfile $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "[$]2" = conftestfile + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +rm -f conftest* +AC_MSG_RESULT(yes)]) + +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) +dnl The program must properly implement --version. +AC_DEFUN(AM_MISSING_PROG, +[AC_MSG_CHECKING(for working $2) +# Run test in a subshell; some versions of sh will print an error if +# an executable is not found, even if stderr is redirected. +# Redirect stdin to placate older versions of autoconf. Sigh. +if ($2 --version) < /dev/null > /dev/null 2>&1; then + $1=$2 + AC_MSG_RESULT(found) +else + $1="$3/missing $2" + AC_MSG_RESULT(missing) +fi +AC_SUBST($1)]) + diff --git a/bin/Makefile.am b/bin/Makefile.am new file mode 100644 index 0000000..bb20def --- /dev/null +++ b/bin/Makefile.am @@ -0,0 +1,6 @@ +primitive_scripts = sgmlwhich + +bindir = $(prefix)/bin +bin_SCRIPTS = install-catalog $(primitive_scripts) + +EXTRA_DIST = install-catalog.in $(primitive_scripts) diff --git a/bin/Makefile.in b/bin/Makefile.in new file mode 100644 index 0000000..dd3166d --- /dev/null +++ b/bin/Makefile.in @@ -0,0 +1,198 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 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. + + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +# use 'DESTDIR' from environment! + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = .. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ +docdir = @docdir@ + +primitive_scripts = sgmlwhich + +bindir = $(prefix)/bin +bin_SCRIPTS = install-catalog $(primitive_scripts) + +EXTRA_DIST = install-catalog.in $(primitive_scripts) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = install-catalog +SCRIPTS = $(bin_SCRIPTS) + +DIST_COMMON = Makefile.am Makefile.in install-catalog.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu bin/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + +install-catalog: $(top_builddir)/config.status install-catalog.in + cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_SCRIPTS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ + $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ + else if test -f $(srcdir)/$$p; then \ + echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ + $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ + else :; fi; fi; \ + done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + list='$(bin_SCRIPTS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ + done +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = bin + +distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu bin/Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-binSCRIPTS +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-binSCRIPTS +uninstall: uninstall-am +all-am: Makefile $(SCRIPTS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: uninstall-binSCRIPTS install-binSCRIPTS tags distdir info-am \ +info dvi-am dvi check check-am installcheck-am installcheck \ +install-exec-am install-exec install-data-am install-data install-am \ +install uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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: diff --git a/bin/install-catalog.in b/bin/install-catalog.in new file mode 100755 index 0000000..358a48e --- /dev/null +++ b/bin/install-catalog.in @@ -0,0 +1,163 @@ +#!/bin/sh +# Script to install a catalog in the centralized SGML catalog +# Send any comments to Eric Bischoff +# This program is under GPL license. See LICENSE file for details. + +# Set help message +SGML_HELP_MESSAGE="Usage: `basename $0` [