Skip to content

Commit 2b18abe

Browse files
Thibaut Artisnigoroll
authored andcommitted
Handle src/vmod_vcs_version.txt
Since VC 7.7, vmodtool.py generates a file that must be taken into account in Makefile.am https://varnish-cache.org/docs/trunk/whats-new/upgrading-7.7.html
1 parent 433106f commit 2b18abe

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ vmod-querystring-*/
4949

5050
vmod-*.tar.[gx]z
5151
*.spec
52+
53+
src/vmod_vcs_version.txt

src/Makefile.am

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ nodist_libvmod_dynamic_la_SOURCES = \
3434
vcc_dynamic_if.c \
3535
vcc_dynamic_if.h
3636

37+
vmod_vcs_version.txt: vcc_dynamic_if.c
38+
39+
DISTCLEANFILES = vmod_vcs_version.txt
40+
3741
$(srcdir)/dyn_getdns.c: vcc_dynamic_if.h
3842
$(srcdir)/dyn_resolver_gai.c: vcc_dynamic_if.h
3943
$(srcdir)/dyn_resolver_getdns.c: vcc_dynamic_if.h
@@ -60,6 +64,7 @@ TESTS = \
6064

6165
dist_doc_DATA = \
6266
vmod_dynamic.vcc \
67+
vmod_vcs_version.txt \
6368
$(TESTS)
6469

6570
dist_man_MANS = \

0 commit comments

Comments
 (0)