[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Substitutions in _SOURCES

From: Philipp Thomas
Subject: Substitutions in _SOURCES
Date: Fri, 12 Apr 2002 18:47:32 +0200
User-agent: Mutt/1.3.16i

I have a package that does in

   GNOME_GEN_H_FILES=`cd $srcdir/src ; ls *.gen_h | xargs echo`

and then a subdir has

  gnomemmc = $(
  libgnomemm_la_SOURCES = $(gnomemmc) [.....]

And automake complains that this isn't allowed. So far it's behaving as
documented. But if I change the above to

  gnomemm_gen_files = $(shell cd $(top_srcdir)/src; ls *.gen_h | xargs echo)
  gnomemmc = $(

Automake will accept this, allthough it's in the end the same substitution,
only this time not via configure.

Question now is, if this is an acceptable workaround or a case that
automake should detect and also flag as error.


Philipp Thomas <address@hidden>
SuSE Linux AG, Deutscherrnstr. 15-19, D-90429 Nuremberg, Germany

reply via email to

[Prev in Thread] Current Thread [Next in Thread]