Commit 33bc9aaf by Jessica Hawkwell

making tools slightly smarter

1 parent de6ca801
Showing with 18 additions and 2 deletions
#!/bin/sh #!/bin/sh
if [ -x build/bin/NitroWin ]; then
echo Running \"make clean\"
make clean
fi
CMAKEFILES=`find * -type d -name CMakeFiles` CMAKEFILES=`find * -type d -name CMakeFiles`
CMAKECACHE=`find * -type f -name CMakeCache.txt` CMAKECACHE=`find * -type f -name CMakeCache.txt`
MAKEFILES=`find * -type f -name Makefile` MAKEFILES=`find * -type f -name Makefile`
...@@ -11,7 +16,7 @@ CORES=`find * -type f -name "*.core"` ...@@ -11,7 +16,7 @@ CORES=`find * -type f -name "*.core"`
VIMS=`find * -type f -name "*~"` VIMS=`find * -type f -name "*~"`
DOC=`find * -type d -name generated-doc` DOC=`find * -type d -name generated-doc`
FILES="Doxyfile src/nde/nde.h src/ntk/ntk.h src/NitroWin/NitroWin.h" FILES="src/nde/nde.h src/ntk/ntk.h src/NitroWin/NitroWin.h"
if [ -n "${CMAKEFILES}" ]; then if [ -n "${CMAKEFILES}" ]; then
echo Removing CMakeFiles echo Removing CMakeFiles
...@@ -71,6 +76,6 @@ fi ...@@ -71,6 +76,6 @@ fi
for F in ${FILES} for F in ${FILES}
do do
if [ -f $F ]; then if [ -f $F ]; then
rm -v $F rm $F
fi fi
done done
#!/bin/sh #!/bin/sh
if [ -f CMakeCache.txt ]; then
else
cmake .
fi
if [ -x build/bin/NitroWin ]; then
else
make
fi
XEPHYR=$(which Xephyr) XEPHYR=$(which Xephyr)
xinit ./xinitrc -- "$XEPHYR" :100 -screen 1000x750 -host-cursor xinit ./xinitrc -- "$XEPHYR" :100 -screen 1000x750 -host-cursor
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!