On Thu, Mar 29, 2007 at 03:19:21PM +0100, Paul Cager wrote:
> I can use debhelper's "package-name.install" and "package-name.links"
> config files to set this up, but then I have to remember to amend them
> for each new upstream version.
> 
> The rules file already has "PACKAGE" and "VERSION" variables (parsed
> from the changelog). It would be really nice if the config files could
> use variable substitution, so the links file would look like:
> 
> /usr/share/java/$(PACKAGE)-$(VERSION).jar /usr/share/java/$(PACKAGE).jar
> 
> Would anyone else find it useful to be able to use variable substitution
> in the debhelper config files?

You could always run dh_install with parameters from your rules file for
this case. It doesn't need to source everything from the .install files.


Now, do you want access to all environment variables, or a set of
predefined Debian variables like $(PACKAGE) and $(VERSION)?

Hamish
-- 
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to