[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Another Makefile problem

From: Zack Weinberg <zack_at_codesourcery.com>
Date: 2002-02-15 02:50:38 CET

Quote from the toplevel Makefile(.in):

# recursive targets to handle external projects (e.g. APR, Neon)
external-all external-clean external-distclean external-install:
        @target=`echo $@ | sed s/external-//`; \
        list='$(EXTERNAL_PROJECT_DIRS)'; \
        for i in $$list; do \
            echo "------ making $$target in $$i"; \
            (cd $$i && $(MAKE) $$target) || exit 1; \
            echo "------ completed $$target in $$i"; \
        done;

apr needs to come before apr-util in EXTERNAL_PROJECT_DIRS so that it
gets built first. This means make external-distclean will do make
distclean in apr first -- and that deletes apr/build/rules.mk, which
causes the make distclean in apr-util to fail.

Ideas?

zw

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:08 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.