Package: libphysfs
Version: 2.0.3-3
Tags: patch
Hi,
The header in the manpages for libphysfs contain the following string:
Version·unknown·version·(build·with·'make·docs'·next·time!)
.. instead of the actual version.
Patch attached. An alternative would be use to use the Doxyfile that's
generated in ./obj-$(DEB_BUILD-GNU-TYPE) but then we'd have to mangle
OUTPUT_DIR to use the top-level ./docs.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/debian/rules b/debian/rules
index 9ec613e..ac19b06 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ EXTRAFLAGS := -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"
override_dh_auto_configure:
dh_auto_configure -- $(EXTRAFLAGS)
+ echo "PROJECT_VERSION = `dpkg-parsechangelog --show-field=Version`" >>
Doxyfile
override_dh_auto_build:
dh_auto_build