Re: [PATCHES] Patch to add version numbers to libpq.rc
Tom Lane <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.patches |
|---|---|
| Message-ID | <[email protected]> |
Bruce Momjian <[email protected]> writes: > + # Force rebuild on re-run of configure > + $(srcdir)/libpq.rc: $(top_srcdir)/src/Makefile.global libpq.rc.in > + sed -e 's/\(VERSION.*\),0 *$$/\1,'`date '+%y%j'`'/' < $< > $@ Put Makefile.global second, else $< refers to the wrong file. Also, it has to be $(top_builddir)/src/Makefile.global, not top_srcdir. The comment would probably be more useful if a little more verbose: # depend on Makefile.global to force rebuild on re-run of configure regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [email protected] so that your message can get through to the mailing list cleanly