From 0c7fbccc5cfcdf50a007600d140ae701b57cee40 Mon Sep 17 00:00:00 2001 From: Raphaƫl Hertzog Date: Tue, 29 Aug 2017 15:14:04 +0200 Subject: Auto-update version strings in manual pages. --- debian/rules | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'debian/rules') 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 -- cgit v1.2.3