[Top][All Lists]

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

Variable substitution @libexecdir@

From: Bill Moseley
Subject: Variable substitution @libexecdir@
Date: Tue, 8 Feb 2005 13:59:56 -0800
User-agent: Mutt/1.5.6+20040907i

Sorry, it's been a while since I looked at how this project is being
packaged. ;)

I have a few that include sections like this:
        @rm -f
        @sed \
                -e 's,@@perlmoduledir@@,$(libexecdir)/perl,' \
                -e 's,@@swishbindir@@,$(bindir),' \
                -e 's,@@perlbinary@@,$(PERL),' \
                         $(srcdir)/ >

I'm wondering why I'm not letting configure make those substitutions.
@PERL@ is resolved when configure is run, but @bindir@ and
@libexecdir@ end up as:

   bindir = ${exec_prefix}/bin
   libexecdir = ${exec_prefix}/lib/${PACKAGE}

Can those be resolved at *configure* time to full paths?  It would be
nice to make those substitutions at configure time and avoid the need
for the above sed commands in my files.


Bill Moseley

reply via email to

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