summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorGravatar aeb 2001-05-07 00:03:03 +0000
committerGravatar aeb 2001-05-07 00:03:03 +0000
commit8009101f3818d560a2f48c9dad18f8d7a2a87ae3 (patch)
tree0b67e6c0f763a349abbaf8fd51816bf0e5927bc7 /debian/rules
parentStore returned generation count after setting of port. (diff)
Fix Makefile.am to include libraw1394.m4 in distribution.
Update NEWS. Some Debian packaging updates. git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@58 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
-rw-r--r--debian/rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 7e76af2..eeed8c8 100644
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ fullversionname = $(shell grep library_names src/libraw1394.la | cut -d"'" -f 2
major = $(shell echo $(majorname) | cut -d"." -f 3)
libraw = libraw1394-$(major)
+source-version = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f 2)
autoclean-files:
echo $@ >$@
@@ -64,10 +65,13 @@ binary-arch: build install autoclean-files
else \
cp debian/libraw1394.postinst.in \
debian/$(libraw).postinst; \
- echo "makedev-depend=makedev (>= 2.3.1-49), " \
+ echo "makedev-depend=, makedev (>= 2.3.1-49)" \
>>debian/$(libraw).substvars; \
fi
+ echo >>autoclean-files debian/shlibs.local
+ echo >debian/shlibs.local "libraw1394 $(major) $(libraw) (= $(source-version))"
+
dh_installdocs README NEWS
dh_installchangelogs
dh_strip