[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] MiNTOS sources
On Mon, Mar 08, 1999 at 09:48:17AM +0200, Martin-Eric Racine wrote:
> 3) Distribution - The idea of nested Makefiles sounds cool, but in
> practice one has to edit individual Makefiles to change global
> compiling option (such as: -m68000 -O3 which should be global).
> Has anybody improved those nested Makefiles, so that only stuff
> pertaining to specific binaries remain in individual Makefile?
You might want to do it the way Debian does. Debian provides three files for
a source package: the original-source.tar.gz, a diff.gz, and a .dsc file
that tells dpkg-source what to do.
So, you unpack the source, apply the diff, and the diff creates (beside
other necessary changes) a directory debian, which contains a file 'rules'.
To build the package, you simply call
and it does everything that is necessary to configure and build the package
The advantage is that you have an unmodified source package, and separate
diffs, so you can easily apply/update these for a newer source package
Michael Schwingen, Ahornstrasse 36, 52074 Aachen