summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2004-03-29 06:59:38 +0000
committerMike Hommey <mh@glandium.org>2004-03-29 06:59:38 +0000
commitb189c25e3cf46f481e64fab15f8efbb2122352ed (patch)
treec27975030dba1d0c14cc46e9a8deaa1186d8e9d9
parent6618b6a9fb0b930d6a4ee00b8b417b01ac8355b9 (diff)
downloadlibxml2-b189c25e3cf46f481e64fab15f8efbb2122352ed.tar.gz
Try to circumvent new troubles with the python/libxml2-py.c withdebian/2.6.8-1
svn-buildpackage not wanting to make the build (the file used to be removed because it was modified by the build).
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 767b66f..497e66c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,7 @@ build-stamp:
echo "distclean:" >> example/Makefile
echo " rm -rf .deps" >> example/Makefile
+ cp -f python/libxml2-py.c python/libxml2-py.c.orig
$(MAKE)
touch build-stamp
@@ -31,7 +32,8 @@ clean:
rm -f build-stamp install-stamp
-$(MAKE) distclean
- -rm -f python/libxml2-py.c
+ -test -r python/libxml2-py.c.orig && \
+ mv -f python/libxml2-py.c.orig python/libxml2-py.c
-rm -f python/libxml2-py.h
-rm -f python/libxml2-export.c
-rm -f python/libxml2class.py