[Pkg-cracklib-commits] [pkg-cracklib] 01/06: upstream supports out of tree builds, simplify debian/rules override_dh_auto_build and override_dh_auto_clean
Jan Dittberner
jandd at moszumanska.debian.org
Sun Oct 5 22:01:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
jandd pushed a commit to branch master
in repository pkg-cracklib.
commit 23176f8c8e370a3f1eb755c5f4eba7b3c58cc897
Author: Jan Dittberner <jandd at debian.org>
Date: Sun Oct 5 22:34:19 2014 +0200
upstream supports out of tree builds, simplify debian/rules override_dh_auto_build and override_dh_auto_clean
---
debian/changelog | 2 ++
debian/rules | 8 ++------
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ae2e2fd..3ad91c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ cracklib2 (2.9.2-1) UNRELEASED; urgency=medium
* New upstream version (Closes: #724570)
* refresh debian/patches/install-debian-python-modules.patch
* bump Standards-Version to 3.9.6 (No changes)
+ * upstream supports out of tree builds, simplify debian/rules
+ override_dh_auto_build and override_dh_auto_clean
-- Jan Dittberner <jandd at debian.org> Sun, 05 Oct 2014 20:03:52 +0200
diff --git a/debian/rules b/debian/rules
index dc2833b..ffc4e94 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,15 +43,11 @@ override_dh_auto_configure:
override_dh_auto_build:
$(MAKE) -C $(CURDIR)/debian/buildtmp/base
ifneq ($(DEB_STAGE),stage1)
+ ln -s $(CURDIR)/debian/crack.py $(CURDIR)/python; \
for i in $(PYVERS) $(PY3VERS); do \
cd $(CURDIR)/debian/buildtmp/python$$i; \
rm -rf lib; ln -s $(CURDIR)/debian/buildtmp/base/lib lib; \
cd python; \
- ln -s $(CURDIR)/python/*.py \
- $(CURDIR)/python/*.c \
- $(CURDIR)/debian/test_cracklib.py \
- $(CURDIR)/debian/crack.py \
- . ; \
CFLAGS="-I$(CURDIR)/lib $(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" python$$i setup.py build ; \
done
endif
@@ -80,7 +76,7 @@ override_dh_auto_clean:
dicts/Makefile.in doc/Makefile.in lib/Makefile.in m4/Makefile.in \
py-compile python/Makefile.in util/Makefile.in ltmain.sh \
m4/ltoptions.m4 m4/ltversion.m4 m4/libtool.m4 m4/ltsugar.m4 \
- m4/lt~obsolete.m4
+ m4/lt~obsolete.m4 python/crack.py
dh_auto_clean
override_dh_auto_install:
--
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