diff options
author | Victor Westerhuis <victor@westerhu.is> | 2021-12-02 19:12:43 +0100 |
---|---|---|
committer | Victor Westerhuis <victor@westerhu.is> | 2021-12-04 01:08:22 +0100 |
commit | 044bd51df6b7a87d97e6d5e12c940c7ec8492880 (patch) | |
tree | 8707db1deaff3ec2b2cc88a0a9f56a9b79da6d9c /src | |
parent | 882a94938aae254aac05e061043f4c06851ea7fc (diff) | |
download | colm-044bd51df6b7a87d97e6d5e12c940c7ec8492880.tar.gz |
Move version.h generation to config.status
This means that automake makes sure it's remade when configure{,.ac} or
version.h.in change.
Also don't delete it in clean, but do delete it in distclean, like any
file configured by config.status.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/version.h.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c5fb6efa..d6c2a32f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -184,7 +184,6 @@ colm_LDADD = libprog.a -lcolm # with the following additional dependency. CLEANFILES = \ - version.h \ include/colm \ gen/parse1.c \ gen/if1.h \ diff --git a/src/version.h.in b/src/version.h.in new file mode 100644 index 00000000..753ae55b --- /dev/null +++ b/src/version.h.in @@ -0,0 +1,2 @@ +#undef VERSION +#undef PUBDATE |