+2002-03-19 Christopher Faylor <cgf@redhat.com>
+
+ * Makefile.in (setup_version.c): Add back magic which allows detection
+ of setup.exe version number.
+
2002-02-24 Robert Collins <rbtcollins@hotmail.com>
* log.cc (log_save): Fix creating /var/log.
V=`grep '^\$$Revision.*' $(srcdir)/ChangeLog \
| sed -e 's/\$$Revision:* *//' \
-e 's/ *$$.*//'` ;\
- echo "const char *version = \"$$V\";" > version.tmp ;\
+ (echo '#define VERSION_PREFIX "%%% setup-version"';\
+ echo 'static const char version_store[] = VERSION_PREFIX " '$$V'";';\
+ echo 'const char *version = version_store + sizeof (VERSION_PREFIX);') > version.tmp;\
mv version.tmp setup_version.c
%.o: %.rc