wmii/mk/wmii.mk

10 lines
328 B
Makefile
Raw Normal View History

2008-03-14 16:04:34 +03:00
VERS = hg$$(hg identify -n)
2008-11-16 10:50:55 +03:00
VERS = hg$$(hg log -r $$(hg id 2>/dev/null | awk -F'[+ ]' '{print $$1}') --template '{rev}' 2>/dev/null)
2008-03-14 16:04:34 +03:00
VERSION = $(VERS)
2008-11-16 10:50:55 +03:00
VERSION := $(shell echo $(VERS))
VERSION != echo $(VERS)
2009-08-04 00:33:23 +04:00
CONFVERSION = -hg
COPYRIGHT = ©2009 Kris Maglione
CFLAGS += '-DVERSION=\"$(VERSION)\"' '-DCOPYRIGHT=\"$(COPYRIGHT)\"'