From 40c64dbc70bce2a8b562f54e216ea808f79b3a1b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 16 Dec 2008 19:39:51 +0000 Subject: [PATCH] Wed Nov 12 12:14:17 CST 2008 Pekka Pessi * libsofia-sip-ua/Makefile.am: use subshell intead of pushd in doxygen target git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10804 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sofia-sip/libsofia-sip-ua/Makefile.am | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/libs/sofia-sip/libsofia-sip-ua/Makefile.am b/libs/sofia-sip/libsofia-sip-ua/Makefile.am index c089364b30..dbf4a66b22 100644 --- a/libs/sofia-sip/libsofia-sip-ua/Makefile.am +++ b/libs/sofia-sip/libsofia-sip-ua/Makefile.am @@ -80,24 +80,22 @@ doxygen: built-sources fi ; \ done for d in $(DIST_SUBDIRS); do \ - test -r $$d/Doxyfile \ - && pushd $$d > /dev/null \ - && echo running ${DOXYGEN} first time in $$d \ - && ${DOXYGEN} 2>&1 \ - | egrep -v -i -e 'Warning: (unsupported (xml/)?html tag|unable to resolve reference|explicit link.*could not be resolved)' \ - ; popd > /dev/null ; \ - test -r docs/$$d.doxytags && \ + ( test -r $$d/Doxyfile && \ + cd $$d > /dev/null && \ + echo running ${DOXYGEN} first time in $$d && \ + ${DOXYGEN} 2>&1 ) | \ + egrep -v -i -e 'Warning: (unsupported (xml/)?html tag|unable to resolve reference|explicit link.*could not be resolved)' ; \ + test -r docs/$$d.doxytags && \ sed '2,10s!index!'$$d'_index!' \ docs/$$d.doxytags > docs/$$d.doxytags.tmp && \ mv -f docs/$$d.doxytags.tmp docs/$$d.doxytags ; \ done for d in $(DIST_SUBDIRS); do \ - test -r $$d/Doxyfile \ - && pushd $$d > /dev/null \ - && echo running ${DOXYGEN} second time in $$d \ - && ${DOXYGEN} 2>&1 \ - | egrep -v -i -e 'Warning: Unsupported (xml/)?html tag' \ - ; popd > /dev/null ; \ + ( test -r $$d/Doxyfile && \ + cd $$d > /dev/null \ + echo running ${DOXYGEN} second time in $$d && \ + ${DOXYGEN} 2>&1 ) | \ + egrep -v -i -e 'Warning: Unsupported (xml/)?html tag' ; \ test -r docs/$$d.doxytags && \ sed '2,10s!index!'$$d'_index!' \ docs/$$d.doxytags > docs/$$d.doxytags.tmp && \