|
Revision 4662, 1.2 kB
(checked in by erijo, 2 years ago)
|
|
Make it possible for the user to pass flags to aclocal with the environment variable ACLOCAL_FLAGS.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | cvs: |
|---|
| 2 | @echo "*** Concatenating configure tests into acinclude.m4" |
|---|
| 3 | @-rm -f acinclude.m4 |
|---|
| 4 | @$(MAKE) -f Makefile.am top_srcdir=. acinclude.m4 |
|---|
| 5 | @echo "*** Retrieving configure tests needed by configure.in" |
|---|
| 6 | @aclocal $(ACLOCAL_FLAGS) |
|---|
| 7 | @echo "*** Scanning for include statements" |
|---|
| 8 | @autoheader |
|---|
| 9 | @echo "*** Building Makefile templates (step one)" |
|---|
| 10 | @automake |
|---|
| 11 | @echo "*** Building Makefile templates (step two)" |
|---|
| 12 | @autoconf |
|---|
| 13 | @if grep "ac_kw foo" configure &>/dev/null; then perl -p -i -e "s/ac_kw foo/ac_kw int foo/" configure; fi |
|---|
| 14 | @perl -pi -e 'if (/\[\/\$$\]\*. INSTALL=/) { print $$_ ; $$_ = "\"\") ;;\n"; }' configure |
|---|
| 15 | @-rm -f config.cache config.h |
|---|
| 16 | @echo "*** Create date/time stamp" |
|---|
| 17 | @touch stamp-h.in |
|---|
| 18 | @echo "*** Finished" |
|---|
| 19 | @echo " Don't forget to run ./configure" |
|---|
| 20 | @echo " If you haven't done so in a while, run ./configure --help" |
|---|
| 21 | |
|---|
| 22 | cvs-clean: |
|---|
| 23 | @if test ! -d .svn; then \ |
|---|
| 24 | echo "You don't have a toplevel .svn directory."; \ |
|---|
| 25 | echo "You most certainly didn't use svn to get these sources."; \ |
|---|
| 26 | echo "But this function depends on svn's informations."; \ |
|---|
| 27 | exit 1 ;\ |
|---|
| 28 | fi;\ |
|---|
| 29 | svn status --ignore-externals --no-ignore --non-interactive | \ |
|---|
| 30 | grep '^I' | sed -e 's/^I *//' | \ |
|---|
| 31 | xargs -I file rm -rfv "file" |
|---|
| 32 | |
|---|
| 33 | svn: cvs |
|---|
| 34 | |
|---|
| 35 | svn-clean: cvs-clean |
|---|