aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-08-27 09:23:13 +0100
committerChristopher Baines <mail@cbaines.net>2016-09-03 12:20:26 +0100
commit64a211f4f5899908a06ad3317355ddbd9eaa598a (patch)
tree13c4784403658000a8656bd204d58c3e92d6ae66
parent987080448d890339aaea2597cf3cdb6a8eee74b4 (diff)
downloadpyguile-64a211f4f5899908a06ad3317355ddbd9eaa598a.tar
pyguile-64a211f4f5899908a06ad3317355ddbd9eaa598a.tar.gz
Don't read the version in from stdin
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 696bdaa..adfbed5 100644
--- a/Makefile
+++ b/Makefile
@@ -86,12 +86,8 @@ pytoguile.inc: pytoguile.c $(EXTRACT_CONVERSION_FUNCTIONS_PY)
pyguile.scm: pyguile.scm.in guiletopy.c pytoguile.c $(EXTRACT_CONVERSION_FUNCTIONS_PY)
cat guiletopy.c pytoguile.c | $(EXTRACT_CONVERSION_EXPORTS) > $@
-version.h: BUILD
- touch BUILD
- mv BUILD BUILD~
- echo $$(( 1 + `cat BUILD~` )) > BUILD
+version.h:
echo "#define PYGUILE_VERSION \"0.3.1\"" > $@
- echo "#define PYGUILE_BUILD \""`cat $<`"\"" >> $@
.build:
echo 1 > $@