changeset 831:1dcc647991ca draft

fixed build dir bug
author d3v11 <d3v11@d3v11.ano>
date Sun, 25 Dec 2011 04:57:46 +0000
parents 8b706576b3f4
children 8841c2ea97a9 8fa5cedf4bd7 2fa4790fa684
files contrib/splicex/configure contrib/splicex/src/make.in contrib/splicex/src/pymake.in
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/splicex/configure	Wed Dec 21 00:21:18 2011 +0000
+++ b/contrib/splicex/configure	Sun Dec 25 04:57:46 2011 +0000
@@ -74,6 +74,7 @@
  fi
 fi
 echo
+mkdir -p build || exit 1
 if [ -z "$2" ]; then
  sed -e s^PYTHON^"$PYPATH"^g src/splicex.py >build/splicex || exit 1
  sed -e s^PYTHON^"$PYPATH"^g src/splicex-deshadow.py >build/splicex-deshadow || exit 1
--- a/contrib/splicex/src/make.in	Wed Dec 21 00:21:18 2011 +0000
+++ b/contrib/splicex/src/make.in	Sun Dec 25 04:57:46 2011 +0000
@@ -61,7 +61,7 @@
 	rm  -f /usr/bin/splicex-deshadow
 
 clean:
-	rm Makefile DEBIAN/splicex DEBIAN/*.deb build/* -rf
+	rm Makefile DEBIAN/splicex DEBIAN/*.deb build -rf
 
 preinstall:
 	rm -rf /etc/splicex
--- a/contrib/splicex/src/pymake.in	Wed Dec 21 00:21:18 2011 +0000
+++ b/contrib/splicex/src/pymake.in	Sun Dec 25 04:57:46 2011 +0000
@@ -48,7 +48,7 @@
 	rm  -f /usr/bin/splicex-deshadow
 
 clean:
-	rm Makefile DEBIAN/splicex DEBIAN/*.deb build/* -rf
+	rm Makefile DEBIAN/splicex DEBIAN/*.deb build -rf
 
 preinstall:
 	rm -rf /etc/splicex