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