runlisp
3 years agom4/: Reformat to match current m4/shell style.
Mark Wooding [Sun, 9 Aug 2020 11:54:10 +0000 (12:54 +0100)]
m4/: Reformat to match current m4/shell style.

3 years agom4/mdw-dir-texmf.m4: Nest and indent `mdw_DEFINE_PATHS' properly.
Mark Wooding [Sun, 9 Aug 2020 12:16:53 +0000 (13:16 +0100)]
m4/mdw-dir-texmf.m4: Nest and indent `mdw_DEFINE_PATHS' properly.

Not sure why this enclosed the `AC_MSG_RESULT' before.  Oh, well.

3 years agom4/mdw-dir-texmf.m4: Pull `texmf' path guesswork out of `AC_ARG_WITH'.
Mark Wooding [Sun, 9 Aug 2020 12:14:17 +0000 (13:14 +0100)]
m4/mdw-dir-texmf.m4: Pull `texmf' path guesswork out of `AC_ARG_WITH'.

Unfortunate tangling of responsibilities.  Instead, leave a flag so that
top-level code can decide to do the guesswork.

3 years agom4/mdw-manext.m4: Don't hardcode the manpage extension to `mLib'.
Mark Wooding [Sun, 9 Aug 2020 12:04:36 +0000 (13:04 +0100)]
m4/mdw-manext.m4: Don't hardcode the manpage extension to `mLib'.

Obviously this isn't used as widely as it ought to be!

3 years agom4/mdw-dir-texmf.m4, m4/mdw-manext.m4: Use `AS_HELP_STRING'.
Mark Wooding [Sun, 9 Aug 2020 12:02:32 +0000 (13:02 +0100)]
m4/mdw-dir-texmf.m4, m4/mdw-manext.m4: Use `AS_HELP_STRING'.

I think this didn't exist when I wrote these macros.

3 years agom4/mdw-define-paths.m4: Replace `$(eval echo ...)' nonsense.
Mark Wooding [Sun, 9 Aug 2020 11:50:15 +0000 (12:50 +0100)]
m4/mdw-define-paths.m4: Replace `$(eval echo ...)' nonsense.

No idea why I didn't do it this way before.

3 years agom4/mdw-define-paths.m4: Use `$(...)' for command substitution.
Mark Wooding [Sun, 9 Aug 2020 11:17:26 +0000 (12:17 +0100)]
m4/mdw-define-paths.m4: Use `$(...)' for command substitution.

It nests better than the old-fashioned ``...`' syntax.  Which is good,
because it's nested here.

3 years agom4/mdw-auto-version.m4: Don't try appending suffixes any more.
Mark Wooding [Sun, 9 Aug 2020 11:11:19 +0000 (12:11 +0100)]
m4/mdw-auto-version.m4: Don't try appending suffixes any more.

The old `auto-version.in' has gone for good.

3 years agom4/mdw-auto-version.m4: Delete the bizarre pre-definition.
Mark Wooding [Sun, 9 Aug 2020 11:07:11 +0000 (12:07 +0100)]
m4/mdw-auto-version.m4: Delete the bizarre pre-definition.

Not really sure what this was for, but this hack has always been there
in some form since the macro was introduced.  It doesn't seem necessary
now, certainly.

3 years agom4/: Reformat the Autoconf macros in `aclocal' style.
Mark Wooding [Sun, 9 Aug 2020 10:58:37 +0000 (11:58 +0100)]
m4/: Reformat the Autoconf macros in `aclocal' style.

Add a `LICENSE' section, and `# serial' markers.

3 years agoaclocal.glob, m4/: Split the monster into separate `aclocal'-ish files.
Mark Wooding [Sun, 9 Aug 2020 10:53:11 +0000 (11:53 +0100)]
aclocal.glob, m4/: Split the monster into separate `aclocal'-ish files.

Now these can be linked into a project's `m4/' directory in the usual
way.  Much better!

This has just redistributed the existing content: none of the code is
changed.

3 years agobuild/ scripts: Remove the version-number machinery.
Mark Wooding [Sun, 9 Aug 2020 10:46:49 +0000 (11:46 +0100)]
build/ scripts: Remove the version-number machinery.

Since these things are no longer installed anywhere outside of a
revision-controlled working tree, they don't need to know their version
numbers any more.

3 years agoScatter the useful files into subdirectories by theme.
Mark Wooding [Sun, 9 Aug 2020 10:39:55 +0000 (11:39 +0100)]
Scatter the useful files into subdirectories by theme.

This is maybe a little random, but better ideas seem thin on the ground.

  * `build/' is for build tools: scripts and build-tool fragments which
    are handy for building projects.

  * `doc/' is for documentation, and things which help with producing
    documentation, such as styles.

  * `licence/' contains licence documents.

  * `m4/' will be for Autoconf machinery, but it's not there yet:
    splitting up `aclocal.glob' will be a job for another commit.

  * `src/' contains source code which is shared among many projects.

This commit just moves the files about.  Some of the scripts have had
their `.in' suffix stripped because they should no longer be hacked by
Autoconf or anything similar, but none of the content is modified.

3 years agoDelete everything only needed for standalone building.
Mark Wooding [Sun, 9 Aug 2020 10:29:57 +0000 (11:29 +0100)]
Delete everything only needed for standalone building.

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!

3 years agoauto-version.in: Fix typo in commentary.
Mark Wooding [Sun, 9 Aug 2020 10:45:55 +0000 (11:45 +0100)]
auto-version.in: Fix typo in commentary.

3 years agoRelease 1.4.0.
Mark Wooding [Fri, 8 May 2020 02:45:30 +0000 (03:45 +0100)]
Release 1.4.0.

3 years agomdwsetup.py: Turn off Python's usual `SIGINT' handler.
Mark Wooding [Mon, 13 Apr 2020 11:29:22 +0000 (12:29 +0100)]
mdwsetup.py: Turn off Python's usual `SIGINT' handler.

Without this, a buggy native-code extension can loop forever, and Emacs
can't easily be persuaded to kill it.

3 years agopysetup.mk: Handle the `DESTDIR' install variable usefully.
Mark Wooding [Mon, 25 Nov 2019 15:04:07 +0000 (15:04 +0000)]
pysetup.mk: Handle the `DESTDIR' install variable usefully.

3 years agopysetup.mk: Remove pointless explicit `make' step in `distcheck'.
Mark Wooding [Mon, 14 Oct 2019 10:29:44 +0000 (11:29 +0100)]
pysetup.mk: Remove pointless explicit `make' step in `distcheck'.

Now that `check/PYTHON' depends on `all/PYTHON', this just adds a
serialization point which we don't need or want.

3 years agomdwsetup.py: Add a command for running tests.
Mark Wooding [Wed, 9 Oct 2019 18:50:56 +0000 (19:50 +0100)]
mdwsetup.py: Add a command for running tests.

3 years agopysetup.mk: Pass `make' flags down to `distcheck' build rules.
Mark Wooding [Mon, 14 Oct 2019 10:26:46 +0000 (11:26 +0100)]
pysetup.mk: Pass `make' flags down to `distcheck' build rules.

This firstly means that Makefile variables such as `PYTHON' are honoured
properly, and secondly that flags requesting parallel building are
respected.

3 years agopysetup.mk: Run commands on multiple `python's, possibly in parallel.
Mark Wooding [Mon, 14 Oct 2019 10:22:16 +0000 (11:22 +0100)]
pysetup.mk: Run commands on multiple `python's, possibly in parallel.

Most targets delegated to `setup.py' are now run, in parallel, on
multiple Python versions listed in the new Makefile variable `PYTHONS'.
The exceptions are `gen' and `dist', which only make sense with a single
Python.

Targets which can run multiple Python versions now support per-version
options for targets: set the variable OPTS-TARGET/PYTHON (e.g.,
`OPTS-install/python3.5').

3 years agopysetup.mk: Add an explicit `gen' target, and make `all' depend on it.
Mark Wooding [Mon, 14 Oct 2019 10:37:41 +0000 (11:37 +0100)]
pysetup.mk: Add an explicit `gen' target, and make `all' depend on it.

I plan to add support for multiple `python' versions building in
parallel in the same working tree.  But generated files are shared
between `python' versions, and there will be a mess if things happen in
the wrong order.

3 years agomdwsetup.py: Insert a space before direct-superclass lists.
Mark Wooding [Wed, 9 Oct 2019 17:02:49 +0000 (18:02 +0100)]
mdwsetup.py: Insert a space before direct-superclass lists.

3 years agomdwsetup.py: Fixes for Python 3 compatibility.
Mark Wooding [Tue, 1 Oct 2019 22:57:28 +0000 (23:57 +0100)]
mdwsetup.py: Fixes for Python 3 compatibility.

  * Write parentheses around `print' operands.

  * Set `universal_newlines' on in `Popen' to force handling in text
    mode.

  * Use an unpleasant hack to inject the `CommandClass' metaclass,
    because the official syntax is so different between the two
    versions.

3 years agomdwsetup.py (progoutput): Only read one byte to decide whether there is more.
Mark Wooding [Fri, 4 Oct 2019 15:22:15 +0000 (16:22 +0100)]
mdwsetup.py (progoutput): Only read one byte to decide whether there is more.

There's no point in slurping the entire output now that we're closing
the pipe /before/ trying to waitpid(2): the child will hit `SIGPIPE' (or
`EPIPE') rather than blocking on output.

3 years agomdwsetup.py (progoutput): Explicitly close the `stdout' pipe.
Mark Wooding [Fri, 4 Oct 2019 15:10:50 +0000 (16:10 +0100)]
mdwsetup.py (progoutput): Explicitly close the `stdout' pipe.

3 years agomdwsetup.py (pkg_config): Check environment for settings.
Mark Wooding [Tue, 1 Oct 2019 21:57:40 +0000 (22:57 +0100)]
mdwsetup.py (pkg_config): Check environment for settings.

This can override or replace pkg-config(1), similar to the
`PKG_CHECK_MODULES' Autoconf macro.

3 years agomdwsetup.py (pkg_config): Change the token shown in error reports.
Mark Wooding [Tue, 1 Oct 2019 21:57:13 +0000 (22:57 +0100)]
mdwsetup.py (pkg_config): Change the token shown in error reports.

3 years agomdwsetup.py (pkg_config): Rearrange and reformat.
Mark Wooding [Tue, 1 Oct 2019 21:56:27 +0000 (22:56 +0100)]
mdwsetup.py (pkg_config): Rearrange and reformat.

3 years agomdwsetup.py: Don't use the ancient `raise' syntax.
Mark Wooding [Tue, 1 Oct 2019 21:54:45 +0000 (22:54 +0100)]
mdwsetup.py: Don't use the ancient `raise' syntax.

3 years agoauto-version.in: Prefix Git version with mangled `x.y.z~' Debian version.
Mark Wooding [Tue, 1 Oct 2019 11:01:27 +0000 (12:01 +0100)]
auto-version.in: Prefix Git version with mangled `x.y.z~' Debian version.

The mangling is necessary to placate `pkg-config', which doesn't
implement `rpmvercmp' properly.

3 years agoMerge branch '1.3.x'
Mark Wooding [Fri, 8 May 2020 11:29:24 +0000 (12:29 +0100)]
Merge branch '1.3.x'

* 1.3.x:
  Release 1.3.15.
  mdwsetup.py: Adjust exit status from `subprocess'.
  mdwsetup.py: Fix unbound variable reference in error case.
  mdwsetup.py: Add missing `OS.' qualifier on `W...' calls.
  texinice.tex: Cope with new names for page-dimension registers.
  Makefile.am:  Tweak `silent-rules' machinery.
  auto-version.in: Don't insist that `.git' is a directory.

3 years agoRelease 1.3.15.
Mark Wooding [Fri, 8 May 2020 02:00:35 +0000 (03:00 +0100)]
Release 1.3.15.

Release 1.3.16.

3 years agomdwsetup.py: Adjust exit status from `subprocess'.
Mark Wooding [Sat, 19 Oct 2019 16:08:28 +0000 (17:08 +0100)]
mdwsetup.py: Adjust exit status from `subprocess'.

It doesn't return the raw status from `wait', but some kind of
inconvenient cooked status.

3 years agomdwsetup.py: Fix unbound variable reference in error case.
Mark Wooding [Fri, 8 May 2020 11:24:18 +0000 (12:24 +0100)]
mdwsetup.py: Fix unbound variable reference in error case.

This is debris from f74ba2bb507cfeadd5518d5468c7ab7281b581b7 which
changed a function into a class, and the `source' argument into (a) a
list and (b) an instance variable.  Fix this reference which should have
changed along with the rest.

3 years agomdwsetup.py: Add missing `OS.' qualifier on `W...' calls.
Mark Wooding [Sat, 19 Oct 2019 16:07:52 +0000 (17:07 +0100)]
mdwsetup.py: Add missing `OS.' qualifier on `W...' calls.

Evidently this code hasn't been tested before.

3 years agotexinice.tex: Cope with new names for page-dimension registers.
Mark Wooding [Tue, 7 Apr 2020 19:14:44 +0000 (20:14 +0100)]
texinice.tex: Cope with new names for page-dimension registers.

Texinfo 6.2 apparently renamed `\pagewidth' to `\txipagewidth', and
similarly for `\pageheight', to avoid some conflict with LuaTeX.  Fix
`@afourpaper' to with these new names.

(cherry picked from commits 892a9f865ad8baed5c67ddf9d68301c916bfb0f1 and
0b5f869b689a085655df9e1a261eacf8c7facade)

3 years agoMakefile.am: Tweak `silent-rules' machinery.
Mark Wooding [Sat, 22 Jul 2017 10:43:11 +0000 (11:43 +0100)]
Makefile.am:  Tweak `silent-rules' machinery.

Since Automake 1.11, the advice for setting up custom silent-rules
recipes has changed, so use the new machinery.

Also, I'm no longer mainly working on wheezy, and Automake has made the
operation field two spaces wider while I wasn't looking, so make the
output line up properly.

This means that CFD now requires Automake 1.11.2 or later to build from
the Git tree.

(cherry picked from commit 262cdcea7d345a0e523957de46fceed547f2de44)

3 years agoauto-version.in: Don't insist that `.git' is a directory.
Mark Wooding [Sat, 22 Jul 2017 10:35:55 +0000 (11:35 +0100)]
auto-version.in: Don't insist that `.git' is a directory.

Nowadays, `git worktree' can cause this to be a regular file instead,
and it's a shame if we can't spot it properly.

(cherry picked from commit e3bf207c8bde1191c3850debd27ac604305bff31)

4 years agotexinice.tex: Fix bungled change.
Mark Wooding [Mon, 27 Apr 2020 09:19:01 +0000 (10:19 +0100)]
texinice.tex: Fix bungled change.

Alas, `@' is still magical, so comparing against `\@@undefined' is
inadvisable.

4 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/cfd
Mark Wooding [Mon, 27 Apr 2020 09:07:45 +0000 (10:07 +0100)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/cfd

* 'master' of git.distorted.org.uk:~mdw/publish/public-git/cfd:
  texinice.tex: Cope with new names for page-dimension registers.

4 years agotexinice.tex: Cope with new names for page-dimension registers.
Mark Wooding [Tue, 7 Apr 2020 19:14:44 +0000 (20:14 +0100)]
texinice.tex: Cope with new names for page-dimension registers.

Texinfo 6.2 apparently renamed `\pagewidth' to `\txipagewidth', and
similarly for `\pageheight', to avoid some conflict with LuaTeX.  Fix
`@afourpaper' to with these new names.

4 years agodebian/rules: Don't pass `--without=...' to all Debhelper programs.
Mark Wooding [Sat, 22 Jul 2017 10:40:53 +0000 (11:40 +0100)]
debian/rules: Don't pass `--without=...' to all Debhelper programs.

4 years agoMakefile.am: Tweak `silent-rules' machinery.
Mark Wooding [Sat, 22 Jul 2017 10:43:11 +0000 (11:43 +0100)]
Makefile.am:  Tweak `silent-rules' machinery.

Since Automake 1.11, the advice for setting up custom silent-rules
recipes has changed, so use the new machinery.

Also, I'm no longer mainly working on wheezy, and Automake has made the
operation field two spaces wider while I wasn't looking, so make the
output line up properly.

This means that CFD now requires Automake 1.11.2 or later to build from
the Git tree.

4 years agoauto-version.in: Don't insist that `.git' is a directory.
Mark Wooding [Sat, 22 Jul 2017 10:35:55 +0000 (11:35 +0100)]
auto-version.in: Don't insist that `.git' is a directory.

Nowadays, `git worktree' can cause this to be a regular file instead,
and it's a shame if we can't spot it properly.

4 years agodebian/: Bump to Debhelper 10.
Mark Wooding [Tue, 1 Oct 2019 20:28:06 +0000 (21:28 +0100)]
debian/: Bump to Debhelper 10.

4 years agodebian/changelog: Prepare for the next version.
Mark Wooding [Tue, 1 Oct 2019 11:01:08 +0000 (12:01 +0100)]
debian/changelog: Prepare for the next version.

5 years agoRelease 1.3.14.
Mark Wooding [Thu, 21 Jun 2018 23:13:22 +0000 (00:13 +0100)]
Release 1.3.14.

5 years ago(|l)gpl-2.[01].tex: Remove the `\renewcommand{\theenumi}...' comments.
Mark Wooding [Thu, 21 Jun 2018 23:08:06 +0000 (00:08 +0100)]
(|l)gpl-2.[01].tex: Remove the `\renewcommand{\theenumi}...' comments.

When invoked from inside `texdoc', `%' isn't a comment character, and
`\alpha', rather than `\alph', isn't allowed outside maths mode.

Remove these lines, because they're not contributing anything very
useful.

7 years agoAdd some files for manually testing the typeset license files.
Mark Wooding [Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)]
Add some files for manually testing the typeset license files.

7 years agoRelease 1.3.13.
Mark Wooding [Sat, 4 Jun 2016 00:37:45 +0000 (01:37 +0100)]
Release 1.3.13.

7 years agomaninst: Fix stupid variable-name typo.
Mark Wooding [Sat, 4 Jun 2016 00:35:49 +0000 (01:35 +0100)]
maninst: Fix stupid variable-name typo.

Introduced in de8440c...  Not my finest hour, really.

7 years agoRelease 1.3.12.
Mark Wooding [Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)]
Release 1.3.12.

7 years agoMakefile.am: Fix layout.
Mark Wooding [Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)]
Makefile.am: Fix layout.

7 years ago{,l,a}gpl-*.{tex,texi}: Proper typeset versions of the licences.
Mark Wooding [Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)]
{,l,a}gpl-*.{tex,texi}: Proper typeset versions of the licences.

These replace the old versions `{,l}gpl.tex{,i}'.  I formatted the old
LaTeX versions by hand; I downloaded the sources for some of the new
ones from https://www.gnu.org/, and modified them slightly for inclusion
in a larger document; and I constructed the others from the plain text
versions of the licences and the upstream formatted versions I could
find.

The Texinfo sources are plain upstream versions, except that the
`gpl-2.0.texi' file is slightly modified: I've used the highlighting for
the `NO WARRANTY' section heading from the `lgpl-2.0.texi' file, because
`@heading' isn't allowed within an `@enumeration' environment in later
Texinfo versions.

7 years agomklinks.in: Don't make directories if the link name doesn't contain `/'.
Mark Wooding [Sat, 14 May 2016 18:14:25 +0000 (19:14 +0100)]
mklinks.in: Don't make directories if the link name doesn't contain `/'.

This breakage was introduced in de8440ce...; the previous version
carefully stuck `./' on the front of names before trimming off a final
`/*'.

7 years agoMerge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/cfd
Mark Wooding [Sun, 29 May 2016 15:18:40 +0000 (16:18 +0100)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/cfd

* 'master' of git.distorted.org.uk:~mdw/publish/public-git/cfd:
  Release 1.3.11.
  debian/control: Fix build-depends.
  debian/source/format: Apparently there should be one of these.
  debian/control: Fix my email address.
  Makefile.am: We no longer need to make the COPYING link on distribution.
  .gitignore: COPYING is now a symbolic link, made at setup time.
  Reinstate erroneously deleted `*.tex' and `*.texi' files.

7 years agodebian/control: Recommend the other build tools we usually need.
Mark Wooding [Mon, 16 May 2016 09:07:58 +0000 (10:07 +0100)]
debian/control: Recommend the other build tools we usually need.

Thanks to Tony Finch for pointing this out.

7 years agoRelease 1.3.11.
Mark Wooding [Thu, 12 May 2016 13:16:45 +0000 (14:16 +0100)]
Release 1.3.11.

7 years agodebian/control: Fix build-depends.
Mark Wooding [Thu, 12 May 2016 12:52:58 +0000 (13:52 +0100)]
debian/control: Fix build-depends.

7 years agodebian/source/format: Apparently there should be one of these.
Mark Wooding [Thu, 12 May 2016 12:53:37 +0000 (13:53 +0100)]
debian/source/format: Apparently there should be one of these.

7 years agodebian/control: Fix my email address.
Mark Wooding [Thu, 12 May 2016 12:52:35 +0000 (13:52 +0100)]
debian/control: Fix my email address.

Wow.  That's ancient.

7 years agoMakefile.am: We no longer need to make the COPYING link on distribution.
Mark Wooding [Thu, 12 May 2016 13:08:18 +0000 (14:08 +0100)]
Makefile.am: We no longer need to make the COPYING link on distribution.

7 years ago.gitignore: COPYING is now a symbolic link, made at setup time.
Mark Wooding [Thu, 12 May 2016 12:55:20 +0000 (13:55 +0100)]
.gitignore: COPYING is now a symbolic link, made at setup time.

7 years agoReinstate erroneously deleted `*.tex' and `*.texi' files.
Mark Wooding [Thu, 12 May 2016 12:49:09 +0000 (13:49 +0100)]
Reinstate erroneously deleted `*.tex' and `*.texi' files.

The previous commit contained part of a reorganization effort.
Unfortunately, it only contained the part which broke everything.
Reinstate the missing things.

7 years agoMakefile.am: Remove license links during uninstall.
Mark Wooding [Thu, 5 May 2016 09:13:51 +0000 (10:13 +0100)]
Makefile.am: Remove license links during uninstall.

10 years agoAdd lots of GPL versions.
Mark Wooding [Tue, 25 Jun 2013 20:04:02 +0000 (21:04 +0100)]
Add lots of GPL versions.

Retain the files `COPYING' and `COPYING.LIB' as version 2, for
compatiblity's sake, via symbolic links.

10 years agomklinks.in: Allow `TARGET=SOURCE' renamings in `.links' files.
Mark Wooding [Tue, 25 Jun 2013 20:02:36 +0000 (21:02 +0100)]
mklinks.in: Allow `TARGET=SOURCE' renamings in `.links' files.

10 years agoTidy up the shell scripts somewhat.
Mark Wooding [Tue, 25 Jun 2013 19:29:36 +0000 (20:29 +0100)]
Tidy up the shell scripts somewhat.

Main changes are replacing `sed' calls with ${var#...} and ${var%...},
and improving the quoting.

10 years agoconfsubst.in: Allow empty right-hand side in substitutions.
Mark Wooding [Wed, 19 Jun 2013 08:44:43 +0000 (09:44 +0100)]
confsubst.in: Allow empty right-hand side in substitutions.

They do occur naturally, and then you're stuffed.  This is release
1.3.10.1.

10 years agoRelease 1.3.10.
Mark Wooding [Sun, 16 Jun 2013 17:52:00 +0000 (18:52 +0100)]
Release 1.3.10.

10 years agodebian/rules: Spruce up somewhat.
Mark Wooding [Sat, 15 Jun 2013 23:04:24 +0000 (00:04 +0100)]
debian/rules: Spruce up somewhat.

10 years agopysetup.mk: Makefile fragment for interfacing to `setup.py'.
Mark Wooding [Sat, 15 Jun 2013 21:21:21 +0000 (22:21 +0100)]
pysetup.mk: Makefile fragment for interfacing to `setup.py'.

10 years agomdwsetup.py: Integrate better with `distutils'.
Mark Wooding [Sat, 15 Jun 2013 21:08:36 +0000 (22:08 +0100)]
mdwsetup.py: Integrate better with `distutils'.

  * Move the file-generation functionality into new commands, and arrange
    to have them cleaned.

  * Override `sdist' to dereference symbolic links, rather than
    including them literally into tarballs (which breaks for out-of-tree
    links), and to write `RELEASE' into the tarball.

  * Add a command to extract the archive name, for release management.

10 years agomdwsetup.py: Use `with open(...) as f' instead of `try'/`finally'.
Mark Wooding [Sat, 15 Jun 2013 21:02:50 +0000 (22:02 +0100)]
mdwsetup.py: Use `with open(...) as f' instead of `try'/`finally'.

10 years agomdwsetup.py: Fix the licensing header.
Mark Wooding [Sat, 15 Jun 2013 20:56:57 +0000 (21:56 +0100)]
mdwsetup.py: Fix the licensing header.

10 years agoCrack down on whitespace badness.
Mark Wooding [Sat, 15 Jun 2013 20:55:42 +0000 (21:55 +0100)]
Crack down on whitespace badness.

11 years agodebian/rules: Don't ship `/usr/share/info/dir.gz'.
Mark Wooding [Thu, 14 Mar 2013 20:18:31 +0000 (20:18 +0000)]
debian/rules: Don't ship `/usr/share/info/dir.gz'.

It causes great disaster.

11 years agoMakefile.am: Ship `debian/compat'.
Mark Wooding [Sat, 16 Mar 2013 14:22:49 +0000 (14:22 +0000)]
Makefile.am: Ship `debian/compat'.

Debhelper goes horribly wrong otherwise.

11 years agoaclocal.glob (mdw_LIBTOOL_VERSION_INFO): Use most significant numbers!
Mark Wooding [Tue, 5 Mar 2013 17:40:37 +0000 (17:40 +0000)]
aclocal.glob (mdw_LIBTOOL_VERSION_INFO): Use most significant numbers!

The regexp had an initial `.*', which causes the captures to pick up the
rightmost version numbers, which is entirely wrong for brown-paper-bag
releases.

Release 1.3.8.

11 years agodebian/control: No, we don't need such a shiny `debhelper'.
Mark Wooding [Tue, 5 Mar 2013 17:44:45 +0000 (17:44 +0000)]
debian/control: No, we don't need such a shiny `debhelper'.

11 years agoaclocal.glob: Clean up bad whitespace.
Mark Wooding [Tue, 5 Mar 2013 17:36:59 +0000 (17:36 +0000)]
aclocal.glob: Clean up bad whitespace.

12 years agoRelease 1.3.7.
Mark Wooding [Tue, 10 Apr 2012 09:42:10 +0000 (10:42 +0100)]
Release 1.3.7.

12 years agogpl.texi, lgpl.texi: Headings must be at top level.
Mark Wooding [Tue, 10 Apr 2012 09:52:13 +0000 (10:52 +0100)]
gpl.texi, lgpl.texi: Headings must be at top level.

12 years agodebian/rules: Switch to Debhelper for building.
Mark Wooding [Thu, 5 Apr 2012 14:08:47 +0000 (15:08 +0100)]
debian/rules: Switch to Debhelper for building.

12 years agoaclocal: Reinstate `mdw_TEXMF_DIR'.
Mark Wooding [Thu, 5 Apr 2012 14:08:09 +0000 (15:08 +0100)]
aclocal: Reinstate `mdw_TEXMF_DIR'.

The version from the Autoconf archive has vanished.

12 years agomdw-setup: Fix regexp portability.
Mark Wooding [Sat, 11 Jun 2011 18:31:53 +0000 (19:31 +0100)]
mdw-setup: Fix regexp portability.

The `\?' quantifier is a GNU extension.  Apparently \{0,1\} is a more
portable replacement.

13 years agoRelease 1.3.6.1.
Mark Wooding [Mon, 31 May 2010 23:14:05 +0000 (00:14 +0100)]
Release 1.3.6.1.

13 years agodebian/rules: Remove `/usr/share/info/dir.gz'.
Mark Wooding [Mon, 31 May 2010 23:00:23 +0000 (00:00 +0100)]
debian/rules: Remove `/usr/share/info/dir.gz'.

The switch to GNU `install-info' from the dpkg version means that we
generate a (largely bogus) `dir.gz' file.  This gets picked up by
`update-info-dir' and we lose the original `dir'.  This in turn is a
hopeless bummer because Emacs doesn't look for a `dir.gz' file, only an
uncompressed `dir', and can't find any Info documents as a result.

So terminate the offending file with extreme prejudice in the nick of
time.

13 years agoMakefile.am: Be more careful about what gets distributed.
Mark Wooding [Mon, 31 May 2010 22:58:26 +0000 (23:58 +0100)]
Makefile.am: Be more careful about what gets distributed.

I've just noticed that I'm shipping all sorts of things which I should
be generating at build time, such as configured versions of
`confsubst'.

Fix this idiocy by removing pkgdata_MUMBLE from EXTRA_DIST and adding
things to dist_pkgdata_MUMBLE instead.  This took a couple of iterations
to get right but I think we're there now.

13 years agodebian/changelog: New version.
Mark Wooding [Sun, 30 May 2010 15:29:26 +0000 (16:29 +0100)]
debian/changelog: New version.

(How I hate having to do this.)

13 years agoBuild system, autotest.am: Support Automake 1.11 `silent-rules'.
Mark Wooding [Sat, 22 May 2010 13:03:27 +0000 (14:03 +0100)]
Build system, autotest.am: Support Automake 1.11 `silent-rules'.

  * Introduce a new macro mdw_SILENT_RULES which enables the use of
    the `silent-rules' feature if it's available.  If the feature is
    /not/ available, then make sure that AM_DEFAULT_VERBOSITY is
    defined, in order to avoid errors about recursive variable-expansion
    in custom silent-rules actions.

  * Use this machinery to implement `silent-rules' building in the
    package itself.

14 years agoAnnounce version 1.3.5.
Mark Wooding [Sun, 4 Oct 2009 12:57:32 +0000 (13:57 +0100)]
Announce version 1.3.5.

14 years agomdwsetup.py: Common utilities for Python module build systems.
Mark Wooding [Sun, 4 Oct 2009 12:54:13 +0000 (13:54 +0100)]
mdwsetup.py: Common utilities for Python module build systems.

14 years agodebian: Ignore debhelper logs.
Mark Wooding [Sun, 4 Oct 2009 12:54:56 +0000 (13:54 +0100)]
debian: Ignore debhelper logs.

15 years agoVersion 1.3.4.
Mark Wooding [Sun, 21 Dec 2008 20:20:49 +0000 (20:20 +0000)]
Version 1.3.4.

15 years agoauto-version: Separate out version deduction magic.
Mark Wooding [Sun, 21 Dec 2008 20:20:47 +0000 (20:20 +0000)]
auto-version: Separate out version deduction magic.

This is useful in simpler non-Autoconf projects, so put the magic in
a script.

15 years agoconfsubst: Rename to confsubst.in and substitute.
Mark Wooding [Sun, 21 Dec 2008 20:10:09 +0000 (20:10 +0000)]
confsubst: Rename to confsubst.in and substitute.

Otherwise it has @VERSION@ crud in it!

15 years agoaclocal/mdw_AUTO_VERSION: Tweak unpleasant AC_DEFUN hack.
Mark Wooding [Wed, 17 Dec 2008 12:12:03 +0000 (12:12 +0000)]
aclocal/mdw_AUTO_VERSION: Tweak unpleasant AC_DEFUN hack.

Later versions (1.10.1, for example) of aclocal don't notice AC_DEFUNs
which are commented out.  Simple answer: don't comment it, just override
it immediately.  This seems to work.