| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. -e |
| 2 | |
| 3 | echoscip-shell system . . echo. -n cleaning up . |
| 4 | |
| 5 | # Clean up the generated crud |
| 6 | ( |
| 7 | for FILE in compile config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs; do |
| 8 | if testscip-shell system . . test. -f $FILE; then |
| 9 | rmscip-shell system . . rm. -f $FILE |
| 10 | fi |
| 11 | echoscip-shell system . . echo. -n . |
| 12 | done |
| 13 | ) |
| 14 | |
| 15 | for FILE in aclocal.m4 configure config.h.in; do |
| 16 | if testscip-shell system . . test. -f $FILE; then |
| 17 | rmscip-shell system . . rm. -f $FILE |
| 18 | fi |
| 19 | echoscip-shell system . . echo. -n . |
| 20 | done |
| 21 | |
| 22 | for DIR in autom4te.cache; do |
| 23 | if testscip-shell system . . test. -d $DIR; then |
| 24 | rmscip-shell system . . rm. -rf $DIR |
| 25 | fi |
| 26 | echoscip-shell system . . echo. -n . |
| 27 | done |
| 28 | |
| 29 | findscip-shell system . . find. . -type f -name 'Makefile.in' -print0 | xargsscip-shell system . . xargs. -r0 rm -f -- |
| 30 | findscip-shell system . . find. . -type f -name 'Makefile' -print0 | xargsscip-shell system . . xargs. -r0 rm -f -- |
| 31 | |
| 32 | echoscip-shell system . . echo. ' done' |
| 33 | |
| 34 | if testscip-shell system . . test. x"${1}" = x"clean"; then |
| 35 | exit |
| 36 | fi |
| 37 | |
| 38 | aclocalscip-shell system . . aclocal. |
| 39 | libtoolizescip-shell system . . libtoolize. --force --copy |
| 40 | autoheaderscip-shell system . . autoheader. |
| 41 | automakescip-shell system . . automake. --add-missing --copy --gnu # -Wall |
| 42 | autoconfscip-shell system . . autoconf. # -Wall |