Skip to content

Commit d3a4db9

Browse files
committed
Only create VERSION file on make dist
1 parent 9e6fbcc commit d3a4db9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile.am

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
bin_PROGRAMS = ca
22
ca_SOURCES = circa.c
3+
4+
dist-hook:
5+
echo $(VERSION) > $(top_srcdir)/VERSION

version.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33

44
v=`git describe --abbrev=4 --match="v*" HEAD`
55
v=`echo "$v" | tr -d "vg" | tr "\-" "."`
6-
echo $v > VERSION
76
printf %s "$v"

0 commit comments

Comments
 (0)