[PATCH] am_edit: support for vars in _SOURCES

Aurelien Gateau aurelien.gateau at free.fr
Sat May 8 15:55:38 BST 2004


As you might know, we are trying to provide stable and unstable versions of
Gwenview (an image viewer from the kdeextragear-1 CVS module). They are
differentiated by a "_hack" suffix, which can be enabled with a ./configure
option. To achieve this, we wrote the following Makefile.am (simplified):

gvcore = \
  file1.cpp \
  file2.cpp \

libgwenview_hack_la_SOURCES = $(gvcore)
libgwenview_la_SOURCES = $(gvcore)

The attached patch is necessary for am_edit to properly expand $(gvcore). My
knowledge of Perl and autotools is somewhat limited, but at least it works
for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: am_edit_vars.diff
Type: text/x-diff
Size: 837 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040508/3885c68a/attachment.diff>

More information about the kde-core-devel mailing list