From: Adam Dickmeiss Date: Tue, 18 Nov 2008 08:30:32 +0000 (+0100) Subject: Use mk_version.tcl to generate yaz-version.h X-Git-Tag: v3.0.40~46 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=9bf84c30a3d0e3e1d4b9136aee9c0a4b8ae769d2;p=yaz-moved-to-github.git Use mk_version.tcl to generate yaz-version.h --- diff --git a/win/makefile b/win/makefile index bced029..3137e98 100644 --- a/win/makefile +++ b/win/makefile @@ -60,8 +60,6 @@ nsis: nsishelp: $(NSIS) -generate: generated_files - # Directories # The current directory is supposed to be something like # ..../yaz/win, everything is relative to that @@ -656,12 +654,13 @@ GENERATED_H_FILES= \ $(ILL_CORE_H_FILES) \ $(ITEM_REQ_H_FILES) -generated_files: \ +generate: \ $(GENERATED_H_FILES) \ $(GENERATED_C_FILES) \ $(SRCDIR)\diagsrw.c \ $(SRCDIR)\diagbib1.c \ - $(SRCDIR)\diagsru_update.c + $(SRCDIR)\diagsru_update.c \ + $(INCLDIR)\yaz\yaz-version.h # Compiling @@ -771,6 +770,11 @@ $(SRCDIR)\diagsru_update.c: $(SRCDIR)\sru_update.csv @cd $(SRCDIR) $(TCL) csvtosru_update.tcl $(SRCDIR) +$(INCLDIR)\yaz\yaz-version.h: + @cd $(SRCDIR) + $(TCL) mk_version.tcl $(ROOTDIR)/configure.ac $(INCLDIR)\yaz\yaz-version.h + + !endif !if $(HAVE_BISON)