summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2017-08-29 15:14:04 +0200
committerRaphaël Hertzog <hertzog@debian.org>2017-08-29 15:14:04 +0200
commit0c7fbccc5cfcdf50a007600d140ae701b57cee40 (patch)
tree7b596208864f33d9aa8f59bddde6a1b317301a31 /debian/rules
parent37840d9cb2fbff2f3d313e3d55aa10832e51479c (diff)
downloadvyos-live-build-0c7fbccc5cfcdf50a007600d140ae701b57cee40.tar.gz
vyos-live-build-0c7fbccc5cfcdf50a007600d140ae701b57cee40.zip
Auto-update version strings in manual pages.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 4 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 92cbff285..6a51ecde9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,14 @@
#!/usr/bin/make -f
-include /usr/share/dpkg/pkg-info.mk
-
%:
dh $@
override_dh_auto_install:
- dh_auto_install -- DESTDIR=debian/live-build
+ # Update manual pages first
+ $(MAKE) -C manpages update
+ $(MAKE) -C manpages build
- # Update VERSION file
- echo $(DEB_VERSION) >debian/live-build/usr/share/live/build/VERSION
+ dh_auto_install -- DESTDIR=debian/live-build
# Removing unused files
rm -f debian/live-build/usr/share/doc/live-build/COPYING