Fix 'make clean' and release scripts

db4
Slava Pestov 2007-12-16 18:43:26 -05:00
parent 3c5b2073ef
commit 7b17a9fcc2
3 changed files with 3 additions and 2 deletions

1
Makefile Normal file → Executable file
View File

@ -140,6 +140,7 @@ factor: $(DLL_OBJS) $(EXE_OBJS)
clean: clean:
rm -f vm/*.o rm -f vm/*.o
rm libfactor.a
vm/resources.o: vm/resources.o:
windres vm/factor.rs vm/resources.o windres vm/factor.rs vm/resources.o

2
misc/source-release.sh Normal file → Executable file
View File

@ -1,5 +1,5 @@
source misc/version.sh source misc/version.sh
rm -rf .git rm -rf .git .gitignore
cd .. cd ..
tar cfz Factor-$VERSION.tar.gz factor/ tar cfz Factor-$VERSION.tar.gz factor/

2
misc/windows-release.sh Normal file → Executable file
View File

@ -15,7 +15,7 @@ wget http://factorcode.org/images/$VERSION/boot.x86.32.image
CMD="./factor-nt -i=boot.x86.32.image -no-user-init $FLAGS" CMD="./factor-nt -i=boot.x86.32.image -no-user-init $FLAGS"
echo $CMD echo $CMD
$CMD $CMD
rm -rf .git/ rm -rf .git/ .gitignore
rm -rf Factor.app/ rm -rf Factor.app/
rm -rf vm/ rm -rf vm/
rm -f Makefile rm -f Makefile