diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2016-12-02 15:21:50 +0100 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2016-12-02 15:23:20 +0100 |
commit | b8f7f19015055fc4c7ef30e3787721ac2218ed3b (patch) | |
tree | 6f2bc8be3148f843545d986a543b7bf2ea526aa5 /Makefile | |
parent | 7ad6c408e559a1755beb63db8186e002a56bb7a7 (diff) | |
download | vyos-live-build-b8f7f19015055fc4c7ef30e3787721ac2218ed3b.tar.gz vyos-live-build-b8f7f19015055fc4c7ef30e3787721ac2218ed3b.zip |
Fix version of live-build that is displayed by lb --version
Now we generate the VERSION file at install time or at package build time.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,7 +40,8 @@ build: install: # Installing shared data mkdir -p $(DESTDIR)/usr/share/live/build - cp -r data functions VERSION $(DESTDIR)/usr/share/live/build + cp -r data functions $(DESTDIR)/usr/share/live/build + sed -e 's/.*(\(.*\)).*/\1/; q' debian/changelog >$(DESTDIR)/usr/share/live/build/VERSION cp -r share/* $(DESTDIR)/usr/share/live/build # Installing executables |