[Pkg-cracklib-commits] [pkg-cracklib] 04/06: debian/rules: copy files for libcrack2-udeb

Jan Dittberner jandd at alioth.debian.org
Thu Aug 15 06:01:30 UTC 2013


This is an automated email from the git hooks/post-receive script.

jandd pushed a commit to branch master
in repository pkg-cracklib.

commit b1c30960599ff5b0ba85c2db3d32073d1a11ceb2
Author: Jan Dittberner <jandd at debian.org>
Date:   Wed Aug 14 09:20:18 2013 +0200

    debian/rules: copy files for libcrack2-udeb
---
 debian/changelog |    4 +++-
 debian/rules     |   10 +++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7ba10b0..f91eeae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,7 +4,9 @@ cracklib2 (2.9.0-2) UNRELEASED; urgency=low
     (Closes: #658089)
   * add udeb package stanza in debian/control
   * bump compatibility level in debian/compat to 9
-  * debian/rules: move sequence before args in dh call
+  * debian/rules:
+    - move sequence before args in dh call
+    - copy files for libcrack2-udeb
 
  -- Jan Dittberner <jandd at debian.org>  Wed, 14 Aug 2013 08:54:59 +0200
 
diff --git a/debian/rules b/debian/rules
index 431f61e..0b74ffb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,6 +77,13 @@ override_dh_auto_clean:
 
 override_dh_auto_install:
 	$(MAKE) -C $(CURDIR)/debian/buildtmp/base DESTDIR=$(CURDIR)/debian/libcrack2 install
+	# copy files for libcrack2-udeb
+	mkdir -p $(CURDIR)/debian/libcrack2-udeb/usr/lib/$(DEB_HOST_MULTIARCH) \
+	         $(CURDIR)/debian/libcrack2-udeb/usr/share/locale
+	cp $(CURDIR)/debian/libcrack2/usr/lib/$(DEB_HOST_MULTIARCH)/*.so \
+	   $(CURDIR)/debian/libcrack2-udeb/usr/lib/$(DEB_HOST_MULTIARCH)
+	cp -r $(CURDIR)/debian/libcrack2/usr/share/locale/* \
+	      $(CURDIR)/debian/libcrack2-udeb/usr/share/locale
 	# move files to libcrack2-dev
 	mkdir -p $(CURDIR)/debian/libcrack2-dev/usr/lib/$(DEB_HOST_MULTIARCH)
 	mv $(CURDIR)/debian/libcrack2/usr/include \
@@ -91,7 +98,8 @@ override_dh_auto_install:
 	   $(CURDIR)/debian/cracklib-runtime/usr/share/dict
 	# remove unused files
 	rm -f $(CURDIR)/debian/libcrack2/usr/lib/$(DEB_HOST_MULTIARCH)/*.la \
-	      $(CURDIR)/debian/libcrack2/usr/lib/$(DEB_HOST_MULTIARCH)/libcrack.so
+	      $(CURDIR)/debian/libcrack2/usr/lib/$(DEB_HOST_MULTIARCH)/libcrack.so \
+	      $(CURDIR)/debian/libcrack2-udeb/usr/lib/$(DEB_HOST_MULTIARCH)/libcrack.so
 	rm -rf $(CURDIR)/debian/libcrack2/usr/share/cracklib
 	chrpath -d \
 	  $(CURDIR)/debian/cracklib-runtime/usr/sbin/cracklib-check \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cracklib/pkg-cracklib.git



More information about the Pkg-cracklib-commits mailing list