diff options
-rwxr-xr-x | debian/rules | 4 |
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 |