=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.403 retrieving revision 1.405 diff -u -p -r1.403 -r1.405 --- mandoc/Makefile 2013/10/05 20:43:20 1.403 +++ mandoc/Makefile 2013/12/31 11:28:20 1.405 @@ -8,8 +8,8 @@ # # CFLAGS += -DOSNAME="\"OpenBSD 5.4\"" -VERSION = 1.12.2 -VDATE = 05 October 2013 +VERSION = 1.12.3 +VDATE = 31 December 2013 # IFF your system supports multi-byte functions (setlocale(), wcwidth(), # putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a @@ -30,7 +30,7 @@ STATIC = -static # Linux requires -pthread to statically link with libdb. #STATIC += -pthread -CFLAGS += -I/usr/local/include -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" +CFLAGS += -I/usr/local/include -g -DHAVE_CONFIG_H CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings PREFIX = /usr/local WWWPREFIX = /var/www @@ -357,6 +357,7 @@ config.h: config.h.pre config.h.post rm -f config.log ( cat config.h.pre; \ echo; \ + echo '#define VERSION "$(VERSION)"'; \ if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-ohash test-ohash.c >> config.log 2>&1; then \ echo '#define HAVE_OHASH'; \ rm test-ohash; \