
31 Oct
2004
31 Oct
'04
8:38 a.m.
On Sun, Oct 31, 2004 at 04:22:47PM +1100, Peter Moulder wrote:
We could have a .nsi.in file with e.g.
!define PRODUCT_VERSION "@VERSION@"
I was thinking about that when I did the commit, actually. The inkscape.spec is built the same way.
and have a makefile rule, e.g. in Makefile.am:
inkscape.nsi: inkscape.nsi.in configure.ac sed 's,[@]VERSION[@],$(VERSION),g' < $(srcdir)/inkscape.nsi.in > inkscape.nsi
This can be done by adding "inkscape.nsi" with configure.ac's AC_CONFIG_FILES list.
and perhaps add inkscape.nsi to EXTRA_DIST if we want people to be able to use the .nsi file without being able to use `make'.
Oh! Yeah, good idea. Ah, yeah, I see the inkscape.spec is in there already. Cool.
--
Kees Cook @outflux.net