$(shell) in Makefiles, kdoctools/ and kwin4/
Adriaan de Groot
adridg at cs.kun.nl
Mon Jul 14 18:56:30 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Attached patch adds a temporary file srcdir.txt and writes the value of SRCDIR
to that. It works for srcdir != builddir, haven't looked further. It replaces
the AM_CPPFLAGS that defines SRCDIR on the command line.
The reason for this is to reduce the amount of shell trickery in Makefiles,
and in particular to make kdelibs compile properly with pmake, where $(shell)
doesn't work (but != does, so
AM_CPPFLAGS != echo '-DSRCDIR="\"'`cd $(top_srcdir) ; pwd`'\""'
would be a fine subsitution, except it doesn't work in gmake again ...)
The second patch removes a similar construction in kwin4, which seems
superfluous (it allows accessing the game graphics when they are not
installed).
- --
pub 1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot at kde.org>
Key fingerprint = 934E 31AA 80A7 723F 54F9 50ED 76AC EE01 FEA2 A3FE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iD8DBQE/Eu7OdqzuAf6io/4RAtWmAJ9R4UoBqouF/87yKdBfmcGmRh7bgQCgnVD7
1R5vymYeHd7wmOrXZTaSvm0=
=adHP
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdoctools.diff
Type: text/x-diff
Size: 2681 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030714/985815de/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kwin4.diff
Type: text/x-diff
Size: 1340 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030714/985815de/attachment-0001.diff>
More information about the kde-core-devel
mailing list