=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.395.2.7 retrieving revision 1.395.2.8 diff -u -p -r1.395.2.7 -r1.395.2.8 --- mandoc/Makefile 2013/10/05 20:30:05 1.395.2.7 +++ mandoc/Makefile 2013/10/06 23:17:05 1.395.2.8 @@ -31,7 +31,7 @@ STATIC = -static # Linux requires -pthread to statically link with libdb. #STATIC += -pthread -CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" +CFLAGS += -g -DHAVE_CONFIG_H CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings PREFIX = /usr/local WWWPREFIX = /var/www @@ -390,6 +390,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-fgetln test-fgetln.c >> config.log 2>&1; then \ echo '#define HAVE_FGETLN'; \ rm test-fgetln; \