17 Commits

Author SHA1 Message Date
64ceaf03b3 Remove the MD5-based manifest file system.
A long time ago, it seemed like a good idea to arrange that binaries
of my puzzles would automatically cease to identify themselves as a
particular upstream version number if any changes were made to the
source code, so that if someone made a local tweak and distributed the
result then I wouldn't get blamed for the results. Since then I've
decided the whole idea is more trouble than it's worth, so I'm
retiring it completely.

[originally from svn r10264]
2014-09-24 10:33:22 +00:00
2ebbdbf2a5 Remove dependencies on Subversion.
I'm going through all my projects and reworking them to avoid
depending on the monotonic integer-valued source control revision
identifier provided by Subversion, so I can migrate everything to git
without my builds and versioning breaking.

Puzzles's version number is now of the form YYYYMMDD.vvvvvv, where
vvvvvv is some string of source control information (currently still
the SVN-style "rNNNNN", but free to change in future). The date
provides monotonicity between my official automated builds, and the
second component is the one I'll be most interested in when people
send bug reports.

[originally from svn r10263]
2014-09-24 10:33:21 +00:00
b375232d7d Support building via autoconf and automake. mkfiles.pl now outputs a
Makefile.am, and there's a new mkauto.sh which builds a corresponding
configure script.

The old makefile has been renamed from 'Makefile' to 'Makefile.gtk',
indicating that the intended new _default_ approach is to use the
autoconf world. Makefile.gtk is provided as an emergency fallback in
case anything fails with the new stuff that used to work with it.

The new configure script does not support the same $(BINPREFIX) system
as the old Makefile did. However, as I understand it, it should be
possible to configure using --program-prefix="sgt-" (for example) and
then the binaries should all be renamed appropriately at install time.

The Makefile.am is quite painful. The Puzzles codebase relies heavily
on compiling individual object files multiple times with different the
cpp flags per build deliverable (program or library) and not per
source file. Solution: anything built with non-default compile options
has to go in its own little library. But that doesn't work either in
the general case, because as soon as you have more than one such
library linked into an application, Unix ld semantics bite you if the
objects in the libraries both refer to each other. So I ended up
building all those little libraries but not _using_ them - instead the
link commands for the programs needing those objects refer to the
objects directly, under the silly names that automake gives them.
(That's less fragile than it sounds, because it does _document_ the
names of the intermediate object files. But still, yuck.)

[originally from svn r9886]
2013-06-30 08:58:45 +00:00
399ac356bd Left puzzles.rc2 out of the tarball. Oops.
[originally from svn r7600]
2007-05-19 06:16:24 +00:00
05a0cf0684 noicon.rc was missing from the Unix source archive, which caused a
re-run of mkfiles.pl to fail.

[originally from svn r7567]
2007-05-10 11:10:14 +00:00
dd1cee7537 Build script for Puzzles using bob. I've also added a piece of extra
infrastructure to the mkfiles.pl framework for the convenience of
the build script: it generates `wingames.lst', a list of the Windows
binaries which are ship-worthy games as opposed to nullgame or
command-line auxiliary programs.

[originally from svn r7206]
2007-02-04 11:44:10 +00:00
a977d37e9d Er, further makedist fixes. Helps if you test _before_ checkin.
[originally from svn r7025]
2006-12-27 15:49:16 +00:00
649df16776 And update makedist.sh to put all the new stuff into the source
tarball.

[originally from svn r7024]
2006-12-27 15:36:27 +00:00
1129ba83f9 Forgot to put the new .R files into makedist.sh. Oops!
[originally from svn r6849]
2006-09-06 08:23:15 +00:00
1d0573109c HACKING.but -> devel.but
[originally from svn r6226]
2005-08-28 09:35:55 +00:00
ca108a017b Bah, there's always one. Remove the now-erroneous `*.py' from the
makedist script.

[originally from svn r6191]
2005-08-19 07:49:44 +00:00
466e9d21a7 Forgot to add print.py to the source archive. Ahem.
[originally from svn r5830]
2005-05-22 12:45:39 +00:00
3dfeadd738 Er, except that I already had a makedist.sh. Transferred new version
code into that!

[originally from svn r5783]
2005-05-15 10:58:09 +00:00
8ae25046d8 Ahem. Lots of stuff, including the new OS X sources, was being left
out of the tarball by makedist.sh, causing the downloaded source
tree to fail mkfiles.pl. Worse still, the GTK Makefile wasn't
included, so people _needed_ to run mkfiles.pl! Both now fixed, I
think.

[originally from svn r5205]
2005-01-25 09:07:54 +00:00
137c1d7bbd Added a help file, mostly thanks to Jacob.
[originally from svn r4460]
2004-08-16 12:23:56 +00:00
9b71ae8fd7 makedist.sh should be silent.
[originally from svn r4240]
2004-05-22 13:08:18 +00:00
6dc05307d6 Shell script to prepare a source distribution archive.
[originally from svn r4193]
2004-05-03 13:03:12 +00:00