]> andersk Git - splint.git/blobdiff - fixBinaryDist.sh
noexpand always false.
[splint.git] / fixBinaryDist.sh
index eebc770756b67f8225189cb064280f9e37e2d9b7..c0d9a0e6e68640e261a0d27b97dce93f518c4cb4 100755 (executable)
@@ -10,14 +10,22 @@ pwd
 #Need to do this so modifications to the destination directory won't effect
 #the real directory 
 rm Makefile.am
-rm configure.ac 
-cp  Makefile.binary.am Makefile.am
-cp  configure.binary.ac configure.ac
-cp configure.binary configure
-cp Makefile.binary.in Makefile.in
+rm configure.ac
 
+mv  Makefile.binary.am Makefile.am
+mv  configure.binary.ac configure.ac
+sleep 3
+mv configure.binary configure
+
+
+#should probably do this in Makefile but it doesn't seem to work..
+sed -e 's/Makefile\.binary/Makefile/' Makefile.binary.in  > Makefile.in
+rm Makefile.binary.in
 #run these if possible...
-autoconf
-automake
-mkdir src
-ln -s ../preBuilt/splint src/splint
+#autoconf
+#automake
+mkdir src || echo "COULD NOT MAKE src tar ball may be incorrect"
+echo "Created this file because some versions of tar are too simple include this directory without it"  > src/dummy
+
+# Need to do this in the makefile because the tar command in make dist wants to derefence symlinks
+#ln -s ../bin/splint src/splint
This page took 0.041305 seconds and 4 git commands to generate.