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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BUILT_SOURCES = $(top_srcdir)/.version
|
BUILT_SOURCES = .version
|
||||||
|
|
||||||
$(top_srcdir)/.version:
|
CLEANFILES = .version
|
||||||
touch $(top_srcdir)/.version
|
|
||||||
|
.version:
|
||||||
echo $(VERSION) > $@-t && mv $@-t $@
|
echo $(VERSION) > $@-t && mv $@-t $@
|
||||||
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
echo $(VERSION) > $(distdir)/.tarball-version
|
echo $(VERSION) > $(distdir)/.tarball-version
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user