diff options
| author | 2000-11-23 22:55:47 +0000 | |
|---|---|---|
| committer | 2000-11-23 22:55:47 +0000 | |
| commit | 0966e80dce18c948225fe6b739c879809bc07b78 (patch) | |
| tree | 8ec4657b7fb98cd521a2ab7aedd68f39dac74fc5 /debian/rules | |
| parent | Removed acconfig.h, which wasn't needed for some time. (diff) | |
Add ldconfig in deb postinst for Debian policy conformance.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@42 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
| -rw-r--r-- | debian/rules | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index a07eea6..f610f0e 100644 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,9 @@ fullversionname = $(shell grep library_names src/libraw1394.la | cut -d"'" -f 2 major = $(shell echo $(majorname) | cut -d"." -f 3) +autoclean-files: + echo $@ >$@ + build: build-stamp build-stamp: dh_testdir @@ -18,7 +21,7 @@ build-stamp: touch build-stamp -clean: +clean: autoclean-files dh_testdir dh_testroot rm -f build-stamp @@ -26,6 +29,7 @@ clean: -$(MAKE) distclean dh_clean + xargs <autoclean_files rm -f install: build dh_testdir @@ -38,7 +42,7 @@ install: build binary-indep: build install # Nothing to do here -binary-arch: build install +binary-arch: build install autoclean-files dh_testdir dh_testroot @@ -46,6 +50,10 @@ binary-arch: build install usr/lib/$(majorname) \ usr/lib/$(fullversionname) + echo debian/libraw1394-$(major).postinst >>autoclean_files + sed <debian/libraw1394.postinst.in >debian/libraw1394-$(major).postinst \ + -e s/@libname@/$(fullversionname)/ + dh_installdocs dh_installchangelogs dh_strip |
