From ccf80ceb802f916783aa6d2234dcb8753b1c4a76 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Thu, 16 Jun 2005 05:08:23 +0000 Subject: [PATCH] Fixed a typo in the fhs build section of the rules file Author: srivasta Date: 2000/07/30 23:32:10 Fixed a typo in the fhs build section of the rules file git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-60 --- debian/rules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 1969428..59c351f 100755 --- a/debian/rules +++ b/debian/rules @@ -83,6 +83,8 @@ install_file = /usr/bin/install -p -o root -g root -m 644 install_program= /usr/bin/install -p -o root -g root -m 755 make_directory = /usr/bin/install -p -d -o root -g root -m 755 +GROFF_VERSION := $(shell dpkg -s groff | sed -n -e 's/Version: //p') + all build: stamp-build stamp-build: @@ -98,8 +100,7 @@ stamp-build: tar zfx $(FHS_ARCHIVE) # Need to use a patched tmac.m macro file if we're using a pre-1.16 # groff; version 1.16 is apparently fixed - if [ dpkg --compare-versions \ - `dpkg -s groff | sed -n -e 's/Version: //p'` lt 1.16 ]; then \ + if dpkg --compare-versions $(GROFF_VERSION) lt 1.16; then \ cp /usr/share/groff/tmac/tmac.m fhs && \ cd fhs && patch -p1 < ../mm1.32-patch; \ fi -- 2.39.2