summaryrefslogtreecommitdiff
path: root/src/Makefile.proto
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-09-04 17:59:11 -0700
committerKeith Packard <keithp@keithp.com>2010-09-04 18:21:41 -0700
commitaed59e1c057c13e28fd368dc2592aa4628211097 (patch)
tree2f4efb9e88c9e0a70274f064c418f4b8fa33dcc0 /src/Makefile.proto
parent2808bba3efa1cff133cc060dabff06fab8b75388 (diff)
Add version numbers to released files. Set version to 0.7.1
Instead of using git revision counts for version numbers, use explicit versions numbers configured in the configure.ac file. Expose published files with version numbers. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/Makefile.proto')
-rw-r--r--src/Makefile.proto6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.proto b/src/Makefile.proto
index 59a3b8a6..b23eb257 100644
--- a/src/Makefile.proto
+++ b/src/Makefile.proto
@@ -10,7 +10,7 @@ vpath ao-make-product.5c ..
CC=sdcc
ifndef VERSION
-VERSION=$(shell git describe)
+include ../Version
endif
CFLAGS=--model-small --debug --opt-code-speed
@@ -214,11 +214,9 @@ all: ../$(PROG)
../altitude.h: make-altitude
nickle $< > $@
-ao_product.h: ao-make-product.5c always
+ao_product.h: ao-make-product.5c ../Version
$(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
-always:
-
ao_product.rel: ao_product.c ao_product.h
$(call quiet,CC) -c $(CFLAGS) -D PRODUCT_DEFS='\"ao_product.h\"' -o$@ $<