Re: Sharing data between maintainer scripts and debian/rules

2011-11-15 Thread Goswin von Brederlow
Neil Williams codeh...@debian.org writes: We've a few native packages which handle data in package-specific directories under /var/lib/. It would be convenient to specify the name of this directory in debian/rules as a -D define to the compiler (because it's native) and then pass that into

Re: Sharing data between maintainer scripts and debian/rules

2011-11-05 Thread Frank Küster
Neil Williams codeh...@debian.org wrote: Other than using sed and awk during the build on a package-specific basis with all the potential for typos, is there a wider use case for dissemination of variables from debian/rules into maintainer scripts? In tex-common and

Sharing data between maintainer scripts and debian/rules

2011-11-04 Thread Neil Williams
We've a few native packages which handle data in package-specific directories under /var/lib/. It would be convenient to specify the name of this directory in debian/rules as a -D define to the compiler (because it's native) and then pass that into the relevant maintainer scripts, postinst and