automake
[Top][All Lists]
Advanced

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

Getting current directory name into mumble


From: Rhys Ulerich
Subject: Getting current directory name into mumble
Date: Tue, 17 Jul 2012 13:11:32 -0500

If I'm underneath the subdirectory "foo" is there a way to get
   mumble$(subdir)else_SOURCES
to be equivalent to specifying
   mumblefooelse_SOURCES?

My goal is to get installed binaries where binary name depends on the
subdirectory name.  This is related to but different from
program_transform_name a la autoconf.  A couple of quick trials have
all failed, e.g.

HEYYOU = yesyou
bin_PROGRAMS += helloworld$(HEYYOU)
helloworld$(HEYYOU)_SOURCES  = helloworld.cpp

Thanks,
Rhys



reply via email to

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