diff options
author | Dave Collins <davec@conformal.com> | 2011-10-03 19:02:53 -0500 |
---|---|---|
committer | Dave Collins <davec@conformal.com> | 2011-10-03 22:29:29 -0500 |
commit | 68a74b3ee0454313bcc5193135e6190023389664 (patch) | |
tree | 1ddd05ac379757ede723d57de73b8c8cc93a4339 /Makefile | |
parent | 1f146bc014ebd09e3c8c6a49c3970dca02b39e03 (diff) | |
download | xombrero-68a74b3ee0454313bcc5193135e6190023389664.tar.gz |
Add full versioning support with automatic release
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 290f5f2..c284092 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,11 @@ GTK_CFLAGS!= pkg-config --cflags $(LIBS) GTK_LDFLAGS!= pkg-config --libs $(LIBS) CFLAGS+= $(GTK_CFLAGS) -Wall -pthread LDFLAGS+= $(GTK_LDFLAGS) -pthread +BUILDVERSION != sh "${.CUDIR}/buildver.sh" +.if !${BUILDVERSION} == "" +CPPFLAGS+= -DXXXTERM_BUILDSTR=\"$(BUILDVERSION)\" +.endif + MANDIR= ${PREFIX}/man/man @@ -38,7 +43,5 @@ beforeinstall: ${PROG} ${OBJS} beforedepend: ${.CURDIR}/javascript.h -release: xxxterm xxxterm.cat1 - @sh ${.CURDIR}/release.sh ${.CURDIR} - .include <bsd.prog.mk> + |