diff options
author | Ludovic Pouzenc <lpouzenc@gmail.com> | 2013-07-09 02:17:30 +0200 |
---|---|---|
committer | Ludovic Pouzenc <lpouzenc@gmail.com> | 2013-07-09 02:17:30 +0200 |
commit | f745b369825958c848a64b99c81daffa089d4ea3 (patch) | |
tree | 015960549b2f87bae0c6d115b1a49b0cf41c05c2 /rm-all-generated-files.sh | |
download | mplemmings-f745b369825958c848a64b99c81daffa089d4ea3.tar.gz mplemmings-f745b369825958c848a64b99c81daffa089d4ea3.tar.bz2 mplemmings-f745b369825958c848a64b99c81daffa089d4ea3.zip |
* Initial import : dummy sources, autotools conf ready
Diffstat (limited to 'rm-all-generated-files.sh')
-rwxr-xr-x | rm-all-generated-files.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/rm-all-generated-files.sh b/rm-all-generated-files.sh new file mode 100755 index 0000000..1fcfb24 --- /dev/null +++ b/rm-all-generated-files.sh @@ -0,0 +1,27 @@ +#/bin/sh + +make clean + +# Generated by "autoreconf -i" from configure.ac Makefile.am +# Mandatory files for that command : AUTHORS ChangeLog README NEWS +rm -rf autom4te.cache/ build-aux/ +rm -f mplemmings_config.h.in config.h.in~ configure Makefile.in INSTALL +#rm COPYING # Generated once but kept in SCM +rm -f aclocal.m4 # Old fashion +rm -f m4/* # New fashion + +# Generated by "./configure" +rm -f config.log config.status mplemmings_config.h Makefile stamp-h1 + +# Generated by "make' +find -type f -name .dirstamp -exec rm {} \; +find -type d -name .deps -exec rm -r {} \; -prune + +# Generated by "make dist" +rm -f mplemmings-*.*.tar.gz + +# Generated by "make distcheck" (auto removed if no failure) +if [ -d mplemmings-*.*/ ] +then chmod u+w mplemmings-*.*/{,build-aux/} + rm -rf mplemmings-*.*/ +fi |