| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # a quick hack script to generate necessary files from |
| 3 | # auto* tools. |
| 4 | # |
| 5 | # WARNING: if you run this you will change the versions |
| 6 | # of the tools which are used and, maybe, required! |
| 7 | touchscip-shell system . . touch. Makefile.am configure.ac |
| 8 | { |
| 9 | echoscip-shell system . . echo. "running libtoolize" >&2 |
| 10 | libtoolizescip-shell system . . libtoolize. --copy --automake |
| 11 | } && { |
| 12 | echoscip-shell system . . echo. "running aclocal" >&2 |
| 13 | aclocalscip-shell system . . aclocal. |
| 14 | } && { |
| 15 | echoscip-shell system . . echo. "running autoheader [ignore the warnings]" >&2 |
| 16 | autoheaderscip-shell system . . autoheader. |
| 17 | } && { |
| 18 | echoscip-shell system . . echo. "running automake" >&2 |
| 19 | automakescip-shell system . . automake. --foreign -a -c |
| 20 | } && { |
| 21 | echoscip-shell system . . echo. "running autoconf" >&2 |
| 22 | autoconfscip-shell system . . autoconf. |
| 23 | } && |
| 24 | echoscip-shell system . . echo. "autogen complete" >&2 || |
| 25 | echoscip-shell system . . echo. "ERROR: autogen.sh failed, autogen is incomplete" >&2 |