Wed Nov 12 12:14:17 CST 2008 Pekka Pessi <first.last@nokia.com>

* 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
This commit is contained in:
Michael Jerris 2008-12-16 19:39:51 +00:00
parent 9fe55b899f
commit 40c64dbc70
1 changed files with 11 additions and 13 deletions

View File

@ -80,24 +80,22 @@ doxygen: built-sources
fi ; \ fi ; \
done done
for d in $(DIST_SUBDIRS); do \ for d in $(DIST_SUBDIRS); do \
test -r $$d/Doxyfile \ ( test -r $$d/Doxyfile && \
&& pushd $$d > /dev/null \ cd $$d > /dev/null && \
&& echo running ${DOXYGEN} first time in $$d \ echo running ${DOXYGEN} first time in $$d && \
&& ${DOXYGEN} 2>&1 \ ${DOXYGEN} 2>&1 ) | \
| egrep -v -i -e 'Warning: (unsupported (xml/)?html tag|unable to resolve reference|explicit link.*could not be resolved)' \ 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 docs/$$d.doxytags && \
sed '2,10s!<name>index</name>!<name>'$$d'_index</name>!' \ sed '2,10s!<name>index</name>!<name>'$$d'_index</name>!' \
docs/$$d.doxytags > docs/$$d.doxytags.tmp && \ docs/$$d.doxytags > docs/$$d.doxytags.tmp && \
mv -f docs/$$d.doxytags.tmp docs/$$d.doxytags ; \ mv -f docs/$$d.doxytags.tmp docs/$$d.doxytags ; \
done done
for d in $(DIST_SUBDIRS); do \ for d in $(DIST_SUBDIRS); do \
test -r $$d/Doxyfile \ ( test -r $$d/Doxyfile && \
&& pushd $$d > /dev/null \ cd $$d > /dev/null \
&& echo running ${DOXYGEN} second time in $$d \ echo running ${DOXYGEN} second time in $$d && \
&& ${DOXYGEN} 2>&1 \ ${DOXYGEN} 2>&1 ) | \
| egrep -v -i -e 'Warning: Unsupported (xml/)?html tag' \ egrep -v -i -e 'Warning: Unsupported (xml/)?html tag' ; \
; popd > /dev/null ; \
test -r docs/$$d.doxytags && \ test -r docs/$$d.doxytags && \
sed '2,10s!<name>index</name>!<name>'$$d'_index</name>!' \ sed '2,10s!<name>index</name>!<name>'$$d'_index</name>!' \
docs/$$d.doxytags > docs/$$d.doxytags.tmp && \ docs/$$d.doxytags > docs/$$d.doxytags.tmp && \