build-sys: Fix version directory
.version needs to be generated into the build directory not the source directory. Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
parent
ddce2c3cc9
commit
4aae73e33c
@ -351,11 +351,13 @@ sysconf_DATA = sysctl.conf
|
||||
endif
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = $(top_srcdir)/.version
|
||||
BUILT_SOURCES = .version
|
||||
|
||||
$(top_srcdir)/.version:
|
||||
touch $(top_srcdir)/.version
|
||||
CLEANFILES = .version
|
||||
|
||||
.version:
|
||||
echo $(VERSION) > $@-t && mv $@-t $@
|
||||
|
||||
dist-hook:
|
||||
echo $(VERSION) > $(distdir)/.tarball-version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user