PUAE/release_.sh

135 lines
3.5 KiB
Bash
Raw Normal View History

2010-09-13 07:23:43 +00:00
# P-UAE
#
2014-01-14 08:23:25 +00:00
# 2006-2014 Mustafa TUFAN
2010-09-13 07:23:43 +00:00
#
# this script cleans up various files so that we don't push unnecessary files to git..
#
2010-05-13 05:57:40 +00:00
make clean
rm -rf ./df0.adz
rm -rf ./kick.rom
2012-04-28 22:05:31 +00:00
rm -rf ./kick_ext.rom
2010-05-13 05:57:40 +00:00
rm -rf ./aclocal.m4
rm -rf ./src/gfxdep
rm -rf ./src/guidep
rm -rf ./src/joydep
rm -rf ./src/machdep
rm -rf ./src/osdep
rm -rf ./src/sounddep
rm -rf ./src/threaddep
2010-12-01 06:07:54 +00:00
rm -rf ./src/PUAE.app
2010-05-13 05:57:40 +00:00
rm -rf `find . -type d -name autom4te.cache`
rm -rf `find . -type d -name .deps`
rm -rf `find . -type f -name Makefile`
rm -rf `find . -type f -name *~`
2010-08-31 13:05:29 +00:00
rm -rf `find . -type f -name *.o`
rm -rf `find . -type f -name *.a`
2010-09-13 07:23:43 +00:00
rm -rf `find . -type f -name configure`
rm -rf `find . -type f -name config.log`
rm -rf `find . -type f -name config.status`
2011-05-30 08:54:09 +00:00
rm -rf `find . -type f -name .DS_Store`
2011-05-30 08:55:07 +00:00
rm -rf `find . -type f -name sysconfig.h`
2011-07-21 13:51:45 +00:00
rm -rf `find . -type f -name gmon.out`
2014-03-06 12:00:28 +00:00
rm -rf `find . -type f -name *.uss`
2010-09-13 07:23:43 +00:00
2014-02-09 15:52:58 +00:00
#
2010-09-13 11:37:17 +00:00
rm -rf Makefile.in
rm -rf src/Makefile.in
rm -rf src/archivers/dms/Makefile.in
rm -rf src/archivers/zip/Makefile.in
rm -rf src/caps/Makefile.in
rm -rf src/gfx-amigaos/Makefile.in
rm -rf src/gfx-beos/Makefile.in
rm -rf src/gfx-curses/Makefile.in
rm -rf src/gfx-sdl/Makefile.in
rm -rf src/gfx-svga/Makefile.in
rm -rf src/gfx-x11/Makefile.in
2011-02-24 13:20:27 +00:00
rm -rf src/gfx-cocoa/Makefile.in
2014-02-09 15:52:58 +00:00
rm -rf src/gfx-pepper/Makefile.in
2010-09-13 11:37:17 +00:00
rm -rf src/gui-beos/Makefile.in
rm -rf src/gui-cocoa/Makefile.in
rm -rf src/gui-gtk/Makefile.in
rm -rf src/gui-muirexx/Makefile.in
rm -rf src/gui-none/Makefile.in
2010-12-03 15:52:48 +00:00
rm -rf src/gui-qt/Makefile.in
2012-12-31 21:00:30 +00:00
rm -rf src/gui-sdl/Makefile.in
2014-02-09 15:52:58 +00:00
rm -rf src/gui-pepper/Makefile.in
2010-09-13 11:37:17 +00:00
rm -rf src/jd-amigainput/Makefile.in
rm -rf src/jd-amigaos/Makefile.in
rm -rf src/jd-beos/Makefile.in
rm -rf src/jd-linuxold/Makefile.in
rm -rf src/jd-none/Makefile.in
rm -rf src/jd-sdl/Makefile.in
2014-02-09 15:52:58 +00:00
rm -rf src/jd-pepper/Makefile.in
2010-09-13 11:37:17 +00:00
rm -rf src/keymap/Makefile.in
rm -rf src/md-68k/Makefile.in
rm -rf src/md-amd64-gcc/Makefile.in
rm -rf src/md-generic/Makefile.in
rm -rf src/md-i386-gcc/Makefile.in
rm -rf src/md-ppc-gcc/Makefile.in
rm -rf src/md-ppc/Makefile.in
rm -rf src/od-amiga/Makefile.in
rm -rf src/od-beos/Makefile.in
rm -rf src/od-generic/Makefile.in
rm -rf src/od-linux/Makefile.in
rm -rf src/od-macosx/Makefile.in
2011-02-25 21:23:47 +00:00
rm -rf src/od-macosx/Credits.rtf
rm -rf src/od-macosx/Info.plist
2010-09-13 11:37:17 +00:00
rm -rf src/sd-alsa/Makefile.in
rm -rf src/sd-amigaos/Makefile.in
rm -rf src/sd-beos/Makefile.in
rm -rf src/sd-none/Makefile.in
rm -rf src/sd-sdl/Makefile.in
rm -rf src/sd-solaris/Makefile.in
rm -rf src/sd-uss/Makefile.in
2014-02-09 15:52:58 +00:00
rm -rf src/sd-pepper/Makefile.in
2010-09-13 11:37:17 +00:00
rm -rf src/td-amigaos/Makefile.in
rm -rf src/td-beos/Makefile.in
rm -rf src/td-none/Makefile.in
rm -rf src/td-posix/Makefile.in
rm -rf src/td-sdl/Makefile.in
rm -rf src/test/Makefile.in
2011-02-23 23:48:26 +00:00
2011-03-01 10:30:45 +00:00
# remove generated files, just in case
# blitter
rm -rf src/blit.h
rm -rf src/blitfunc.c
rm -rf src/blitfunc.h
rm -rf src/blittable.c
rm -rf src/linetoscr.c
# cpu
rm -rf src/cpudefs.c
rm -rf src/cputbl.h
rm -rf src/cpustbl.c
rm -rf src/compemu.c
rm -rf src/comptbl.h
rm -rf src/compstbl.c
2014-01-14 08:23:25 +00:00
rm -rf src/cpuemu_*.c
2011-03-01 10:30:45 +00:00
# jit
rm -rf src/compemu.cpp
rm -rf src/compstbl.h
rm -rf src/compstbl.cpp
2011-05-23 09:15:56 +00:00
rm -rf src/md-fpp.h
rm -rf src/target.h
# tools
rm -rf src/tools/blitops.c
rm -rf src/tools/build68k.c
rm -rf src/tools/genblitter.c
rm -rf src/tools/gencomp.c
rm -rf src/tools/gencpu.c
rm -rf src/tools/genlinetoscr.c
rm -rf src/tools/missing.c
rm -rf src/tools/readcpu.c
rm -rf src/tools/writelog.c
2011-02-23 23:48:26 +00:00
echo "=================================================="
echo "Current Commit: "
tail -1 .git/packed-refs | awk '{print $1}'
echo "=================================================="