chiark / gitweb /
Delete everything only needed for standalone building.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 10:29:57 +0000 (11:29 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 10:46:17 +0000 (11:46 +0100)
This is the start of an effort to change the way CFD is used by
projects.  Rather than being installed on developer systems as a thing
in its own right, it should be tucked away in a project, using `git
subtree' or similar.

Please don't use `git submodule' for this!

16 files changed:
Makefile.am [deleted file]
build-setup [deleted file]
common.texi [deleted file]
configure.ac [deleted file]
debian/.gitignore [deleted file]
debian/changelog [deleted file]
debian/compat [deleted file]
debian/control [deleted file]
debian/copyright [deleted file]
debian/rules [deleted file]
debian/source/format [deleted file]
findlinks.in [deleted file]
install-ac [deleted file]
mdate-sh [deleted file]
mdw-setup [deleted file]
mklinks.in [deleted file]

diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644 (file)
index 7df6892..0000000
+++ /dev/null
@@ -1,180 +0,0 @@
-### -*-makefile-*-
-###
-### Building the distribution
-###
-### (c) 1997 Mark Wooding
-###
-
-###----- Licensing notice ---------------------------------------------------
-###
-### This file is part of the Common Files Distribution (`common')
-###
-### `Common' is free software; you can redistribute it and/or modify
-### it under the terms of the GNU General Public License as published by
-### the Free Software Foundation; either version 2 of the License, or
-### (at your option) any later version.
-###
-### `Common' is distributed in the hope that it will be useful,
-### but WITHOUT ANY WARRANTY; without even the implied warranty of
-### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-### GNU General Public License for more details.
-###
-### You should have received a copy of the GNU General Public License
-### along with `common'; if not, write to the Free Software Foundation,
-### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-bin_SCRIPTS             =
-pkgdata_SCRIPTS                 =
-dist_pkgdata_SCRIPTS    =
-pkgdata_DATA            =
-dist_pkgdata_DATA       =
-
-EXTRA_DIST              =
-CLEANFILES              =
-
-###--------------------------------------------------------------------------
-### Handy variables.
-
-confsubst = $(srcdir)/confsubst.in
-mkdir_p = $(srcdir)/config/install-sh -d
-
-V_SUBST = $(V_SUBST_@AM_V@)
-V_SUBST_ = $(V_SUBST_@AM_DEFAULT_V@)
-V_SUBST_0 = @echo "  SUBST    $@";
-SUBST = $(V_SUBST)$(confsubst)
-
-###--------------------------------------------------------------------------
-### Main scripts.
-
-## mklinks
-bin_SCRIPTS            += mklinks
-CLEANFILES             += mklinks
-EXTRA_DIST             += mklinks.in
-
-mklinks: mklinks.in Makefile
-       $(SUBST) $(srcdir)/mklinks.in >$@.new \
-               pkgdatadir=$(pkgdatadir) VERSION=$(VERSION)
-       $(AM_V_at)chmod +x $@.new
-       $(AM_V_at)mv $@.new $@
-
-## findlinks
-bin_SCRIPTS            += findlinks
-CLEANFILES             += findlinks
-EXTRA_DIST             += findlinks.in
-
-findlinks: findlinks.in Makefile
-       $(SUBST) $(srcdir)/findlinks.in >$@.new \
-               pkgdatadir=$(pkgdatadir) VERSION=$(VERSION)
-       $(AM_V_at)chmod +x $@.new
-       $(AM_V_at)mv $@.new $@
-
-## mdw-setup
-bin_SCRIPTS            += mdw-setup
-EXTRA_DIST             += mdw-setup
-
-###--------------------------------------------------------------------------
-### Files to install.
-
-## Licences.
-dist_pkgdata_DATA      += GPL-1 GPL-2 GPL-3
-dist_pkgdata_DATA      += LGPL-2 LGPL-2.1 LGPL-3
-dist_pkgdata_DATA      += AGPL-3
-dist_pkgdata_DATA      += gpl-2.0.tex gpl-2.0.texi
-dist_pkgdata_DATA      += lgpl-2.0.tex lgpl-2.0.texi
-dist_pkgdata_DATA      += lgpl-2.1.tex lgpl-2.1.texi
-dist_pkgdata_DATA      += gpl-3.0.tex gpl-3.0.texi
-dist_pkgdata_DATA      += lgpl-3.0.tex lgpl-3.0.texi
-dist_pkgdata_DATA      += agpl-3.0.tex agpl-3.0.texi
-
-install-data-hook::
-       cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f GPL-2 COPYING
-       cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f LGPL-2 COPYING.LIB
-       cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f gpl-2.0.tex gpl.tex
-       cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f lgpl-2.0.tex lgpl.tex
-       cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f gpl-2.0.texi gpl.texi
-       cd $(DESTDIR)$(pkgdatadir) && $(LN_S) -f lgpl-2.0.texi lgpl.texi
-
-uninstall-hook::
-       cd $(DESTDIR)$(pkgdatadir) && rm -f COPYING COPYING.LIB
-       cd $(DESTDIR)$(pkgdatadir) && \
-               rm -f gpl.tex gpl.texi lgpl.tex lgpl.texi
-
-## Documentation.
-dist_pkgdata_DATA      += INSTALL
-dist_pkgdata_DATA      += texinice.tex
-
-## Useful code.
-dist_pkgdata_DATA      += mdwopt.c mdwopt.h
-dist_pkgdata_DATA      += getdate.y getdate.h
-
-## Scripts.
-dist_pkgdata_SCRIPTS   += install-ac
-dist_pkgdata_SCRIPTS   += maninst
-
-## Python support stuff.
-dist_pkgdata_DATA      += mdwsetup.py
-dist_pkgdata_DATA      += pysetup.mk
-
-## confsubst
-pkgdata_SCRIPTS                += confsubst
-CLEANFILES             += confsubst
-EXTRA_DIST             += confsubst.in
-
-confsubst: confsubst.in Makefile
-       $(SUBST) $(srcdir)/confsubst.in >$@.new VERSION=$(VERSION)
-       $(AM_V_at)chmod +x $@.new
-       $(AM_V_at)mv $@.new $@
-
-## auto-version
-pkgdata_SCRIPTS                += auto-version
-CLEANFILES             += auto-version
-EXTRA_DIST             += auto-version.in
-
-auto-version: auto-version.in Makefile
-       $(SUBST) $(srcdir)/auto-version.in >$@.new VERSION=$(VERSION)
-       $(AM_V_at)chmod +x $@.new
-       $(AM_V_at)mv $@.new $@
-
-## Testsuites.
-dist_pkgdata_DATA      += autotest.am
-dist_pkgdata_DATA      += testsuite.at
-
-## Autoconf snippets.
-EXTRA_DIST             += aclocal.glob
-
-install-data-hook::
-       $(mkdir_p) $(DESTDIR)$(aclocaldir)
-       $(srcdir)/install-ac install \
-                $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
-
-uninstall-hook::
-       $(srcdir)/install-ac rm \
-               $(srcdir)/aclocal.glob $(DESTDIR)$(aclocaldir)
-
-###--------------------------------------------------------------------------
-### Documentation.
-
-info_TEXINFOS           = common.texi
-
-###--------------------------------------------------------------------------
-### Other special tweaks.
-
-## Make `make distcheck' work.
-DISTCHECK_CONFIGURE_FLAGS = \
-       --with-aclocaldir='$${prefix}/share/aclocal'
-
-## Distribute the release number.
-dist-hook::
-       echo $(VERSION) >$(distdir)/RELEASE
-
-###--------------------------------------------------------------------------
-### Debian.
-
-EXTRA_DIST             += debian/compat
-EXTRA_DIST             += debian/control
-EXTRA_DIST             += debian/copyright
-EXTRA_DIST             += debian/rules
-EXTRA_DIST             += debian/changelog
-EXTRA_DIST             += debian/source/format
-
-###----- That's all, folks --------------------------------------------------
diff --git a/build-setup b/build-setup
deleted file mode 100755 (executable)
index daf0ef2..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#! /bin/sh
-### Build setup script
-
-set -e
-case "$1" in
-  start)
-    ln -sf aclocal.glob acinclude.m4
-    ln -sf GPL-2 COPYING
-    ;;
-esac
diff --git a/common.texi b/common.texi
deleted file mode 100644 (file)
index 86c0809..0000000
+++ /dev/null
@@ -1,235 +0,0 @@
-\input texinfo.tex @c -*-texinfo-*-
-@c
-@c Documentation for `common'
-@c
-@c (c) 1997 Mark Wooding
-@c
-
-@c ----- Licensing notice ---------------------------------------------------
-@c
-@c This file is part of the Common Files Distribution (`common').
-@c
-@c `Common' is free software; you can redistribute it and/or modify
-@c it under the terms of the GNU General Public License as published by
-@c the Free Software Foundation; either version 2 of the License, or
-@c (at your option) any later version.
-@c
-@c `Common' is distributed in the hope that it will be useful,
-@c but WITHOUT ANY WARRANTY; without even the implied warranty of
-@c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-@c GNU General Public License for more details.
-@c
-@c You should have received a copy of the GNU General Public License
-@c along with `common'; if not, write to the Free Software Foundation,
-@c Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-@c ----- Standard boilerplate header ----------------------------------------
-
-@c --- Formatting header ---
-
-@c %**start of header
-@setfilename common.info
-@settitle The Common Files Distribution
-@paragraphindent 0
-@dircategory Development
-@direntry
-* Common Files Distribution: (common).  A central place for boilerplate
-@end direntry
-@iftex
-@input texinice
-@afourpaper
-@end iftex
-@include version.texi
-@c %**end of header
-
-@c ----- Introductory stuff and copyright pages -----------------------------
-@c
-@c Yes indeed, by the way: I'm willing to allow a translation approved
-@c by the FSF, not me.  I can't be bothered to vet translations.
-
-@c --- Info version ---
-
-@ifinfo
-
-This file documents version @value{VERSION} of the Common Files Distribution.
-
-Copyright (c) 1997 Mark Wooding
-
-Permission is granted to make and distribute verbatim copies of this
-manual provided the copyright notice and this permission notice are
-preserved on all copies.
-
-@ignore
-Permission is granted to process this file through TeX and print the
-results, provided the printed document carries a copying permission
-notice identical to this one except for the removal of this paragraph
-(this paragraph not being relevant to the printed manual).
-
-@end ignore
-Permission is granted to copy and distribute modified versions of this
-manual under the conditions for verbatim copying, provided also that the
-sections entitled `Copying' and `GNU General Public License' are
-included exactly as in the original, and provided that the entire
-resulting derived work is distributed under the terms of a permission
-notice identical to this one.
-
-Permission is granted to copy and distribute translations of this manual
-into another language, under the above conditions for modified versions,
-except that this permission notice may be stated in a translation
-approved by the Free Software Foundation.
-
-@end ifinfo
-
-@c --- Printed version ---
-
-@titlepage
-@title The Common Files Distribution
-@subtitle version @value{VERSION}
-@author Mark Wooding
-@page
-@vskip 0pt plus 1 filll
-
-Permission is granted to make and distribute verbatim copies of this
-manual provided the copyright notice and this permission notice are
-preserved on all copies.
-
-Permission is granted to copy and distribute modified versions of this
-manual under the conditions for verbatim copying, provided also that the
-sections entitled `Copying' and `GNU General Public License' are
-included exactly as in the original, and provided that the entire
-resulting derived work is distributed under the terms of a permission
-notice identical to this one.
-
-Permission is granted to copy and distribute translations of this manual
-into another language, under the above conditions for modified versions,
-except that this permission notice may be stated in a translation
-approved by the Free Software Foundation.
-
-@end titlepage
-
-
-@c --------------------------------------------------------------------------
-@ifinfo
-@node Top, Copying, (dir), (dir)
-@unnumbered The Common Files Distribution
-
-
-The Common Files Distribution provides a convenient way to manage files
-shared between a number of developments.
-
-This manual documents version @value{VERSION} of the Common Files
-Distribution.
-
-@end ifinfo
-
-@menu
-* Copying::                     
-* Introduction::                
-* The file repository::         
-
-@detailmenu
- --- The Detailed Node Listing ---
-
-The file repository
-
-* The mklinks command::         
-* The findlinks command::       
-
-@end detailmenu
-@end menu
-
-@c --------------------------------------------------------------------------
-@node Copying, Introduction, Top, Top
-@unnumbered The GNU General Public License
-
-@include gpl-2.0.texi
-
-@c --------------------------------------------------------------------------
-@node Introduction, The file repository, Copying, Top
-@unnumbered Introduction
-
-
-When you have a number of development trees, managing files which are common
-to all of them starts to become a real pain.  When a new version of some file
-comes out, checking out all your source directories, replacing the old
-version with the new one, and committing all the changes back gets to be
-very tiresome rather quickly.
-
-The Common File Distribution attempts to be a solution to some of the
-problems caused sharing files between source trees.  It provides a single
-repository for shared files, and lets you create links to the shared copies
-from your source trees.  It also provides a simple method for constructing
-text files from small bits of `text libraries'.
-
-The whole lot is held together by a collection of small shell scripts.  They
-can easily be modified to suit the requirements of an individual site, or
-used as the basis of other similar scripts.
-
-
-@c --------------------------------------------------------------------------
-@node The file repository,  , Introduction, Top
-@chapter The file repository
-
-
-When the Common File Distribution is installed, it creates a repository where
-shared files can be placed, and it places a few standard GNU files there.  By
-default, the repository is @file{@var{prefix}/share/common}, although this
-can be set using the @code{--datadir} option to the configuration script.
-
-You can place your own files in the repository if you like.  If you do,
-they'll be treated in exactly the same way as ones in the distribution.
-
-The command @code{mklinks} reads a list of filenames and creates symbolic
-links to the corresponding names in the repository.  This ensures that when a
-file in the repository gets updated, any source trees automatically use the
-new version.  Obviously, when you build a source distribution, you must
-ensure that links are followed, rather than saved as links; the @code{h}
-option to @code{tar} does this (this is the default in Automake; @pxref{Top,
-, Overview, automake, GNU Automake}).
-
-The command @code{findlinks} scans the current directory (and its
-subdirectories) for files whose names match those in the repository.
-
-@menu
-* The mklinks command::         
-* The findlinks command::       
-@end menu
-
-
-
-@node The mklinks command, The findlinks command, The file repository, The file repository
-@section The @code{mklinks} command
-
-Links into the file repository are made with the @code{mklinks} command:
-
-@example
-mklinks [@var{file}]...
-@end example
-
-If you don't specify any @code{file}s, it reads @file{.links} from the
-current directory; you can pass @samp{-} to read standard input.  The program
-expects the files to contain a list of filenames; for each name read, it
-creates a symbolic link to the appropriate file in the repository.
-
-You can create a list of files which probably need linking using the
-@code{findlinks} command.  @xref{The findlinks command}.
-
-
-
-@node The findlinks command,  , The mklinks command, The file repository
-@section The @code{findlinks} command
-
-The @code{findlinks} searches the current directory and any subdirectories
-and writes to standard output a list of files whose names match files in the
-file repository.  It takes no arguments, although typically output will be
-redirected to the file @file{.links}, which the @code{mklinks} command reads
-by default:
-
-@example
-findlinks >.links
-@end example
-
-@c --------------------------------------------------------------------------
-
-@contents
-@bye
diff --git a/configure.ac b/configure.ac
deleted file mode 100644 (file)
index 919d367..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-dnl -*-autoconf-*-
-dnl
-dnl Configuring the Common Files Distribution
-dnl
-dnl (c) 1997 Mark Wooding
-dnl
-
-dnl----- Licensing notice ---------------------------------------------------
-dnl
-dnl This file is part of the Common Files Distribution (`common')
-dnl
-dnl `Common' is free software; you can redistribute it and/or modify
-dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; either version 2 of the License, or
-dnl (at your option) any later version.
-dnl
-dnl `Common' is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-dnl GNU General Public License for more details.
-dnl
-dnl You should have received a copy of the GNU General Public License
-dnl along with `common'; if not, write to the Free Software Foundation,
-dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-dnl--------------------------------------------------------------------------
-dnl Initialization.
-
-mdw_AUTO_VERSION
-AC_INIT([Common Files Distribution], AUTO_VERSION,
-       [mdw@distorted.org.uk], [cfd])
-AC_CONFIG_SRCDIR([mdw-setup])
-AC_CONFIG_AUX_DIR([config])
-AM_INIT_AUTOMAKE([foreign])
-mdw_SILENT_RULES
-
-AC_PROG_LN_S
-
-dnl--------------------------------------------------------------------------
-dnl Finding installation directories.
-
-AC_ARG_WITH(
-  [aclocaldir],
-  AS_HELP_STRING([--with-aclocaldir=DIR],
-                [store autoconf snippets in DIR]),
-  [aclocaldir=$withval],
-  [AC_CACHE_CHECK([where to stash Autoconf macros], [mdw_cv_aclocaldir], [
-     mdw_cv_aclocaldir=$(aclocal --print-ac-dir)
-     if test $? -ne 0; then AC_MSG_ERROR([aclocal not installed]); fi
-   ])
-   aclocaldir=$mdw_cv_aclocaldir])
-AC_SUBST([aclocaldir])
-
-dnl--------------------------------------------------------------------------
-dnl Output.
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
-
-dnl----- That's all, folks --------------------------------------------------
diff --git a/debian/.gitignore b/debian/.gitignore
deleted file mode 100644 (file)
index 5b88400..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-files
-*.debhelper
-tmp
-cfd
-stamp-*
-*.log
-*.substvars
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644 (file)
index 9a916c3..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-cfd (1.4.0) experimental; urgency=medium
-
-  * Have `auto-version' prefix the generated version number with the
-    Debian version, if the latter ends in a `~'.  This keeps the ordering
-    between development and release branches correct.
-  * Make `mdwsetup.py' compatible with Python 3.
-  * Introduce machinery for running Python unit tests.
-  * Turn off Python's `SIGINT' handler while building.
-  * Introduce machinery for building using multiple Python versions,
-    possibly in parallel.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Fri, 08 May 2020 03:45:20 +0100
-
-cfd (1.3.15) experimental; urgency=medium
-
-  * Fix `auto-version' to work in external worktrees.
-  * Fix `texinice.tex' to work with later versions of Texinfo.
-  * Fix a number of minor bugs in `mdwsetup.py'.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Fri, 08 May 2020 12:28:11 +0100
-
-cfd (1.3.14) experimental; urgency=low
-
-  * Fix various `gplmumble.tex' files so that they can be included from
-    `texdoc'.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Fri, 22 Jun 2018 00:13:02 +0100
-
-cfd (1.3.13) experimental; urgency=low
-
-  * maninst: Fix installation into wrongly-named destination directories.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sat, 04 Jun 2016 01:37:23 +0100
-
-cfd (1.3.12) experimental; urgency=low
-
-  * Fix `mklinks' bug introduced in previous version.
-  * Include many variants of the GPL.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sun, 29 May 2016 20:44:37 +0100
-
-cfd (1.3.11) experimental; urgency=low
-
-  * Fix Debian packaging.
-  * Allow renaming of linked files in `mklinks'.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Thu, 12 May 2016 14:16:13 +0100
-
-cfd (1.3.10.1) experimental; urgency=low
-
-  * confsubst: Allow empty right-hand-side.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Wed, 19 Jun 2013 09:45:13 +0100
-
-cfd (1.3.10) experimental; urgency=low
-
-  * Overhaul of Python support.  In particular, handling of generated
-    files, and the `RELEASE' file, are much improved.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sun, 16 Jun 2013 18:51:56 +0100
-
-cfd (1.3.9) experimental; urgency=low
-
-  * Don't ship `/usr/share/info/dir.gz'.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Thu, 14 Mar 2013 20:25:49 +0000
-
-cfd (1.3.8) experimental; urgency=low
-
-  * Fix `mdw_LIBTOOL_VERSION_INFO' to use the correct part of a four (or
-    more) component version number.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Tue, 05 Mar 2013 17:43:05 +0000
-
-cfd (1.3.7) experimental; urgency=low
-
-  * Reinstate mdw_PATH_TEXMF.
-  * Improve regexp portability.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Tue, 10 Apr 2012 10:41:47 +0100
-
-cfd (1.3.6.1) experimental; urgency=low
-
-  * Don't ship a /usr/share/info/dir.gz file, because it screws everything
-    up.
-  * Other minor distribution fettling.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Tue, 01 Jun 2010 00:13:46 +0100
-
-cfd (1.3.6) experimental; urgency=low
-
-  * Support for Automake 1.11's `silent-rules' feature.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sun, 30 May 2010 16:29:05 +0100
-
-cfd (1.3.5) experimental; urgency=low
-
-  * Include new `mdwsetup.py' module for Python distutils support
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sun, 04 Oct 2009 13:57:05 +0100
-
-cfd (1.3.4) experimental; urgency=low
-
-  * Substitute @VERSION@ cruft in confsubst of all places.
-  * Separate out version machinery into new auto-version script.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sun, 21 Dec 2008 20:13:37 +0000
-
-cfd (1.3.3) experimental; urgency=low
-
-  * Fix ugly hack for mdw_AUTO_VERSION to work with newer (e.g., 1.10)
-    versions of aclocal.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Wed, 17 Dec 2008 12:15:27 +0000
-
-cfd (1.3.2) experimental; urgency=low
-
-  * Add new files for Autotest support.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sat, 05 Apr 2008 14:59:03 +0100
-
-cfd (1.3.1) experimental; urgency=low
-
-  * Fix up scripts and build system for style.
-  * Add (and use) confsubst.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sat, 22 Mar 2008 11:56:34 +0000
-
-cfd (1.3.0) experimental; urgency=low
-
-  * Brought up-to-date with modern Autotools.
-  * Tool for setting up projects straight from Git repositories.
-  * Various bug fixes.
-
- -- Mark Wooding <mdw@distorted.org.uk>  Sat, 09 Feb 2008 23:08:39 +0000
-
-cfd (1.2.10) experimental; urgency=low
-
-  * Fix for newer Autoconf and Automake: don't duplicate files shipped
-    with automake, and do diversions in the new way.
-
- -- Mark Wooding <mdw@nsict.org>  Fri, 22 Apr 2005 22:22:53 +0100
-
-cfd (1.2.9) experimental; urgency=low
-
-  * Debianization!
-
- -- Mark Wooding <mdw@nsict.org>  Sun,  9 Nov 2003 14:52:15 +0000
diff --git a/debian/compat b/debian/compat
deleted file mode 100644 (file)
index f599e28..0000000
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
deleted file mode 100644 (file)
index e707a7b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Source: cfd
-Section: devel
-Priority: extra
-Maintainer: Mark Wooding <mdw@distorted.org.uk>
-Build-Depends: debhelper (>> 10), automake, texinfo
-Standards-Version: 3.1.1
-
-Package: cfd
-Architecture: all
-Recommends: autoconf, autoconf-archive, automake, libtool
-Description: A collection of miscellaneous bits of build system.
- The common files distribution (CFD) contains standard boilerplate files
- and some handy autoconf macros.  It also contains some scripts which
- add symlinks to the master copies of these files to a directory, the
- idea being that you don't need to check these files into your CVS
- repository for every project.  Instead, include a script which sets
- up the symlinks correctly.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644 (file)
index 3457388..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-CFD is (C) 2003 Straylight/Edgeware
-
-However, many of the components are copyright by other people.
-
-COPYING:
-  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-  Everyone is permitted to copy and distribute verbatim copies
-  of this license document, but changing it is not allowed. 
-
-COPYING.LIB:
-  Copyright (C) 1991 Free Software Foundation, Inc.
-  Everyone is permitted to copy and distribute verbatim copies
-  of this license document, but changing it is not allowed. 
-
-ansi2knr.c:
-  Copyright (C) 1989, 1991, 1993, 1994 Aladdin Enterprises.
-  Free software under the GPL.
-
-config.guess:
-  Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
-  Free software under the GPL.  As a special exception to the GNU
-  General Public License, if you distribute this file as part of a
-  program that contains a configuration script generated by Autoconf,
-  you may include it under the same distribution terms that you use for
-  the rest of that program.
-
-config.sub:
-  Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
-  Free software under the GPL.  As a special exception to the GNU
-  General Public License, if you distribute this file as part of a
-  program that contains a configuration script generated by Autoconf,
-  you may include it under the same distribution terms that you use for
-  the rest of that program.
-
-elisp-comp:
-  Copyright (C) 1995 Free Software Foundation, Inc.
-  Free software under the GPL.
-
-gpl.tex:
-  (c) 1989, 1991 Free Software Foundation, Inc. but reformatted by me.
-  Everyone is permitted to copy and distribute verbatim copies
-  of this license document, but changing it is not allowed. 
-
-lgpl.tex:
-  (c) 1989, 1991 Free Software Foundation, Inc. but reformatted by me.
-  Everyone is permitted to copy and distribute verbatim copies
-  of this license document, but changing it is not allowed. 
-
-mdate-sh:
-  Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
-  Free software under the GPL.
-
-missing:
-  Copyright (C) 1996, 1997 Free Software Foundation, Inc.
-  Free software under the GPL.
-
-texinfo.tex:
-  Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98
-  Free software under the GPL.
-
-ylwrap:
-  Copyright (C) 1996, 1997 Free Software Foundation, Inc.
-  Free software under the GPL.
-
-The remaining files are (C) 2003 Straylight/Edgeware and are free
-software: they may be modified and/or redistributed under the terms of
-the GNU General Public License, either version 2 or (at your option) any
-later version.  There should be a copy of the GNU General Public License
-in /usr/share/common-licenses/GPL.
-
diff --git a/debian/rules b/debian/rules
deleted file mode 100755 (executable)
index 0c0cde0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /usr/bin/make -f
-
-DH_OPTIONS = -Bdebian/build
-%:; dh $@ $(DH_OPTIONS) --without autoreconf
-
-override_dh_auto_install:
-       dh_auto_install $(addprefix -O,$(DH_OPTIONS))
-       rm -f debian/cfd/usr/share/info/dir
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644 (file)
index d3827e7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1.0
diff --git a/findlinks.in b/findlinks.in
deleted file mode 100755 (executable)
index fbbcd98..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-#! /bin/sh
-### -*-sh-*-
-###
-### Find files which could be links to the repository
-###
-### (c) 1997 Mark Wooding
-###
-
-###----- Licensing notice ---------------------------------------------------
-###
-### This file is part of the Common Files Distribution (`common').
-###
-### `Common' is free software; you can redistribute it and/or modify
-### it under the terms of the GNU General Public License as published by
-### the Free Software Foundation; either version 2 of the License, or
-### (at your option) any later version.
-###
-### `Common' is distributed in the hope that it will be useful,
-### but WITHOUT ANY WARRANTY; without even the implied warranty of
-### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-### GNU General Public License for more details.
-###
-### You should have received a copy of the GNU General Public License
-### along with `common'; if not, write to the Free Software Foundation,
-### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-set -e
-
-pkgdatadir="@pkgdatadir@"
-VERSION="@VERSION@"
-
-###--------------------------------------------------------------------------
-### Parse command line arguments.
-
-while [ $# -gt 0 ]; do
-  case "$1" in
-    -h | --h | --he | --hel | --help)
-      cat <<EOF
-Usage: findlinks
-
-Scans the current directory and any subdirectories, writing the names of
-files which could be linked into the shared files repository to standard
-output.  This list could be used as input to the \`mklinks' command.
-EOF
-      exit 0
-      ;;
-    -v | --v | --ve | --ver | --vers | --versi | --versio | --version)
-      echo "findlinks: Common Files Distribution version $VERSION"
-      exit 0
-      ;;
-    *)
-      echo "findlinks: unknown option \`$1'" >&2
-      exit 1
-      ;;
-  esac
-  shift
-done
-
-###--------------------------------------------------------------------------
-### Read the names of all the files I support.
-###
-### Yes, this is ugly and hacky: well spotted.  Shells have a nasty habit of
-### spontaneously forking when redirection gets too hard for them to think
-### about, so instead of something nice along the lines of
-###
-###   find ... | while read name; do <build `files'> done
-###
-### I have to stick the whole lot in backticks and echo the result when it's
-### all done.  Yuk.
-###
-### Oh, I almost forgot: that colon on the end there, that's to make sure
-### that all the entries are surrounded by colons on both sides, which makes
-### the pattern match in the `case' below work properly.
-
-files=$(
-  files=:
-  find "$pkgdatadir" -type f -print | {
-    while read name; do
-      files="$files${name##*/}:"
-    done
-    echo "$files"
-  }
-)
-
-###--------------------------------------------------------------------------
-### Now examine the current directory.
-###
-### Remember to include things which are already linked, so that users can
-### say `findlinks >.links' without any problems.
-
-find . \( -type f -o -type l \) -print | while read name; do
-  base=${name##*/}
-  case "$files" in
-    *:"$base":*)
-      echo "${name#./}"
-      ;;
-    *)
-  esac
-done | sort
-
-###----- That's all, folks --------------------------------------------------
diff --git a/install-ac b/install-ac
deleted file mode 100755 (executable)
index b10dadd..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#! /bin/sh
-
-set -e
-if [ $# -ne 3 ]; then
-  echo >&2 "usage: $0 install|rm GLOB DIR"
-  exit 1
-fi
-
-mode=$1 glob=$2 dir=$3
-case $mode in
-  rm)
-    printf "Uninstalling aclocal fragments... "
-    awk -v dir="$dir" '
-      /\*@-([a-zA-Z0-9][-a-zA-Z0-9_]*)-@\*/ {
-       out = $0;
-       sub(/^.*\*@-/, "", out);
-       sub(/-@\*.*$/, "", out);
-       system(sprintf("rm %s/%s.m4", dir, out));
-      }' <"$glob"
-    echo "done."
-    ;;
-  install)
-    printf "Installing aclocal fragments... "
-    awk -v dir="$dir" '
-      BEGIN { out = ""; delete files; notice = ""}
-      /\*@--NOTICE--@\*/ {
-       if (out != "") close(out);
-       out = "NOTICE";
-       notice = $0 "\n";
-       next;
-      }
-      /\*@-([a-zA-Z0-9][-a-zA-Z0-9_]*)-@\*/ {
-       if (out != "") close(out);
-       out = $0;
-       sub(/^.*\*@-/, "", out);
-       sub(/-@\*.*$/, "", out);
-       files[out] = 1;
-       out = sprintf("%s/%s.new", dir, out);
-       printf "%s", notice >(out);
-      }
-      /\*@--[-a-zA-Z0-9_]*-@\*/ { next; }
-      {
-       if (out == "NOTICE")
-         notice = notice $0 "\n";
-       else
-         if (out != "") print $0 >(out);
-      }
-      END {
-       for (f in files)
-         system(sprintf("mv %s/%s.new %s/%s.m4", dir, f, dir, f));
-      }' <"$glob"
-      echo "done."
-    ;;
-  *) echo >&2 "bad mode argument"; exit 1;;
-esac
diff --git a/mdate-sh b/mdate-sh
deleted file mode 100755 (executable)
index 37171f2..0000000
--- a/mdate-sh
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-# Get modification time of a file or directory and pretty-print it.
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
-# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-# Prevent date giving response in another language.
-LANG=C
-export LANG
-LC_ALL=C
-export LC_ALL
-LC_TIME=C
-export LC_TIME
-
-# Get the extended ls output of the file or directory.
-# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
-if ls -L /dev/null 1>/dev/null 2>&1; then
-  set - x`ls -L -l -d $1`
-else
-  set - x`ls -l -d $1`
-fi
-# The month is at least the fourth argument
-# (3 shifts here, the next inside the loop).
-shift
-shift
-shift
-
-# Find the month.  Next argument is day, followed by the year or time.
-month=
-until test $month
-do
-  shift
-  case $1 in
-    Jan) month=January; nummonth=1;;
-    Feb) month=February; nummonth=2;;
-    Mar) month=March; nummonth=3;;
-    Apr) month=April; nummonth=4;;
-    May) month=May; nummonth=5;;
-    Jun) month=June; nummonth=6;;
-    Jul) month=July; nummonth=7;;
-    Aug) month=August; nummonth=8;;
-    Sep) month=September; nummonth=9;;
-    Oct) month=October; nummonth=10;;
-    Nov) month=November; nummonth=11;;
-    Dec) month=December; nummonth=12;;
-  esac
-done
-
-day=$2
-
-# Here we have to deal with the problem that the ls output gives either
-# the time of day or the year.
-case $3 in
-  *:*) set `date`; eval year=\$$#
-       case $2 in
-        Jan) nummonthtod=1;;
-        Feb) nummonthtod=2;;
-        Mar) nummonthtod=3;;
-        Apr) nummonthtod=4;;
-        May) nummonthtod=5;;
-        Jun) nummonthtod=6;;
-        Jul) nummonthtod=7;;
-        Aug) nummonthtod=8;;
-        Sep) nummonthtod=9;;
-        Oct) nummonthtod=10;;
-        Nov) nummonthtod=11;;
-        Dec) nummonthtod=12;;
-       esac
-       # For the first six month of the year the time notation can also
-       # be used for files modified in the last year.
-       if (expr $nummonth \> $nummonthtod) > /dev/null;
-       then
-        year=`expr $year - 1`
-       fi;;
-  *) year=$3;;
-esac
-
-# The result.
-echo $day $month $year
diff --git a/mdw-setup b/mdw-setup
deleted file mode 100755 (executable)
index e4513e0..0000000
--- a/mdw-setup
+++ /dev/null
@@ -1,104 +0,0 @@
-#! /bin/sh
-### -*-sh-*-
-###
-### Set up a new project
-###
-### (c) 1997 Mark Wooding
-###
-
-###----- Licensing notice ---------------------------------------------------
-###
-### This file is part of the Common Files Distribution (`common').
-###
-### `Common' is free software; you can redistribute it and/or modify
-### it under the terms of the GNU General Public License as published by
-### the Free Software Foundation; either version 2 of the License, or
-### (at your option) any later version.
-###
-### `Common' is distributed in the hope that it will be useful,
-### but WITHOUT ANY WARRANTY; without even the implied warranty of
-### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-### GNU General Public License for more details.
-###
-### You should have received a copy of the GNU General Public License
-### along with `common'; if not, write to the Free Software Foundation,
-### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-set -e
-
-###--------------------------------------------------------------------------
-### Basic setup stuff.
-
-ego=${0##*[/\\]}; ego=${ego%%.*}
-usage="Usage: $ego"
-
-###--------------------------------------------------------------------------
-### Parse command line arguments.
-
-while [ $# -gt 0 ]; do
-  case "$1" in
-    --help | -h | --usage | -u)
-      echo "$usage"
-      exit
-      ;;
-    --)
-      shift
-      break
-      ;;
-    -*)
-      echo >&2 "$ego: unknown option \`$1'"
-      exit 1
-      ;;
-  esac
-  shift
-done
-
-if [ $# -ne 0 ]; then
-  echo >&2 "$usage"
-  exit 1
-fi
-
-###--------------------------------------------------------------------------
-### Link any strange common files we need.
-
-[ -f .links ] && mklinks
-
-###--------------------------------------------------------------------------
-### Do any initial local stuff.
-
-if [ -x build-setup ]; then ./build-setup start; fi
-
-###--------------------------------------------------------------------------
-### Grind through the Autoconf machinery.
-
-configure=
-for i in configure.ac configure.in; do
-  [ -f $i ] && configure=$i
-done
-if [ "$configure" ]; then
-  grep >/dev/null AM_PROG_LIBTOOL $configure && libtoolize -f
-  find . -name Makefile.m4 -print | while read m4; do
-    dir=${m4%/*}
-    (cd $dir &&
-     m4 Makefile.m4 >Makefile.am.new &&
-     mv Makefile.am.new Makefile.am)
-  done
-  aclocalargs=
-  for i in config m4; do [ -d $i ] && aclocalargs="$aclocalargs -I $i"; done
-  aclocal $aclocalargs
-  autoconf --force
-  if grep >/dev/null 'AC_CONFIG_AUX_DIR' $configure; then
-    auxdir=$(
-      sed -n 's:^.*AC_CONFIG_AUX_DIR(\[\{0,1\}\([^])]*\)\]\{0,1\}).*$:\1:p' $configure)
-    mkdir -p $auxdir
-  fi
-  grep >/dev/null 'A[MC]_CONFIG_HEADER' $configure && autoheader
-  [ -f Makefile.am ] && automake -a
-fi
-
-###--------------------------------------------------------------------------
-### Do any final local stuff.
-
-if [ -x build-setup ]; then ./build-setup end; fi
-
-###------ That's all, folks -------------------------------------------------
diff --git a/mklinks.in b/mklinks.in
deleted file mode 100755 (executable)
index 3548946..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-#! /bin/sh
-### -*-sh-*-
-###
-### Create links to the repository
-###
-### (c) 1997 Mark Wooding
-###
-
-###----- Licensing notice ---------------------------------------------------
-###
-### This file is part of the Common Files Distribution (`common').
-###
-### `Common' is free software; you can redistribute it and/or modify
-### it under the terms of the GNU General Public License as published by
-### the Free Software Foundation; either version 2 of the License, or
-### (at your option) any later version.
-###
-### `Common' is distributed in the hope that it will be useful,
-### but WITHOUT ANY WARRANTY; without even the implied warranty of
-### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-### GNU General Public License for more details.
-###
-### You should have received a copy of the GNU General Public License
-### along with `common'; if not, write to the Free Software Foundation,
-### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-set -e
-
-pkgdatadir="@pkgdatadir@"
-VERSION="@VERSION@"
-
-###--------------------------------------------------------------------------
-### Parse command line arguments.
-
-while [ $# -gt 0 ]; do
-  case "$1" in
-    -h | --h | --he | --hel | --help)
-      cat <<EOF
-Usage: mklinks [FILE...]
-
-The FILEs listed are themselves lists of filenames.  Makes each named file a
-link to the corresponding file in the shared files repository.  With no
-arguments, \`mklinks' reads \`.links' from the current directory.
-EOF
-      exit 0
-      ;;
-    -v | --v | --ve | --ver | --vers | --versi | --versio | --version)
-      echo "mklinks: Common Files Distribution version $VERSION"
-      exit 0
-      ;;
-    --)
-      shift
-      break
-      ;;
-    -)
-      break
-      ;;
-    -*)
-      echo "mklinks: unknown option \`$1'" >&2
-      exit 1
-      ;;
-    *)
-      break
-      ;;
-  esac
-  shift
-done
-
-###--------------------------------------------------------------------------
-### Main code.
-
-[ $# = 0 ] && set .links
-cat "$@" | while read name; do
-  case "$name" in
-    "" | "#"*) continue ;;
-    *=*) want=${name##*=}; name=${name%=*} ;;
-    *) want=${name##*/} ;;
-  esac
-  if [ -r "$pkgdatadir/$want" ]; then
-    case "$name" in */*) mkdir -p "${name%/*}" ;; esac
-    rm -f "$name"
-    ln -sf "$pkgdatadir/$want" "$name"
-  fi
-done
-
-###----- That's all, folks --------------------------------------------------