summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Zimmerman <matt.zimmerman@canonical.com>2004-11-14 01:56:07 +0000
committerMatt Zimmerman <matt.zimmerman@canonical.com>2004-11-14 01:56:07 +0000
commit3d851670e95bcf11c87bfc85e740bab5fc4195a2 (patch)
tree5c7b1427bd92d0368424cb8b669cf14121523443
parentd498c3d34d01f2b28e78df603d3b2856b8797d6c (diff)
Avoid mangling configure.in on incomplete changelog
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 6e744b0a2..a4d826de5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,9 +58,11 @@ endif
# Rebuild configure.in to have the correct version from the change log
ifneq ($(APT_DEBVER),$(APT_CONFVER))
+ifneq ($(APT_DEBVER),)
.PHONY: configure.in
configure.in:
sed -e 's/$(APT_CONFVER)/$(APT_DEBVER)/' $@ > $@.$$$$ && mv $@.$$$$ $@
+fi
else
configure.in:
endif