diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-09-23 22:46:11 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-09-23 22:46:11 +0000 |
commit | 0c0fd8df344b0e8ea7316500a27ed6186ac12a77 (patch) | |
tree | 0ae9e04e23f47440417bb27b827a6d0a4b0643a1 | |
parent | a850b761252a1b7f01c4380a8432eb37781c357d (diff) |
Misc (re #1134): fixed error in Makefile target for generating doxygen documentation when WWWDIR is specified
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3319 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjlib-util/build/Makefile | 2 | ||||
-rw-r--r-- | pjlib/build/Makefile | 2 | ||||
-rw-r--r-- | pjmedia/build/Makefile | 2 | ||||
-rw-r--r-- | pjnath/build/Makefile | 2 | ||||
-rw-r--r-- | pjsip/build/Makefile | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/pjlib-util/build/Makefile b/pjlib-util/build/Makefile index 6acea05b..69e92b41 100644 --- a/pjlib-util/build/Makefile +++ b/pjlib-util/build/Makefile @@ -56,7 +56,7 @@ all: $(TARGETS) doc: cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg - @if test ! "$(WWWDIR)" == ""; then \ + @if [ -n "$(WWWDIR)" ]; then \ echo "Copying to $(WWWDIR)/pjlib-util/docs/html.." ; \ cp -a ../docs/html/* $(WWWDIR)/pjlib-util/docs/html/ ; \ fi diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile index 1e0e88f9..76fece33 100644 --- a/pjlib/build/Makefile +++ b/pjlib/build/Makefile @@ -58,7 +58,7 @@ all: $(TARGETS) doc: cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg - @if test ! "$(WWWDIR)" == ""; then \ + @if [ -n "$(WWWDIR)" ]; then \ echo "Copying to $(WWWDIR)/pjlib/docs/html.." ; \ cp -a ../docs/html/* $(WWWDIR)/pjlib/docs/html/ ; \ fi diff --git a/pjmedia/build/Makefile b/pjmedia/build/Makefile index 4df63677..b0e2014d 100644 --- a/pjmedia/build/Makefile +++ b/pjmedia/build/Makefile @@ -123,7 +123,7 @@ all: $(TARGETS) doc: cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg - @if test ! "$(WWWDIR)" == ""; then \ + @if [ -n "$(WWWDIR)" ]; then \ echo "Copying to $(WWWDIR)/pjmedia/docs/html.." ; \ rm -rf $(WWWDIR)/pjmedia/docs/html/* ; \ cp -a ../docs/html/* $(WWWDIR)/pjmedia/docs/html/ ; \ diff --git a/pjnath/build/Makefile b/pjnath/build/Makefile index 3012659f..46fda2ff 100644 --- a/pjnath/build/Makefile +++ b/pjnath/build/Makefile @@ -79,7 +79,7 @@ all: $(TARGETS) doc: cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg - @if test ! "$(WWWDIR)" == ""; then \ + @if [ -n "$(WWWDIR)" ]; then \ echo "Copying to $(WWWDIR)/pjnath/docs/html.." ; \ cp -a ../docs/html/* $(WWWDIR)/pjnath/docs/html/ ; \ fi diff --git a/pjsip/build/Makefile b/pjsip/build/Makefile index 4a7c9a22..6466c57a 100644 --- a/pjsip/build/Makefile +++ b/pjsip/build/Makefile @@ -110,7 +110,7 @@ all: $(TARGETS) doc: cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg - @if test ! "$(WWWDIR)" == ""; then \ + @if [ -n "$(WWWDIR)" ]; then \ echo "Copying to $(WWWDIR)/pjsip/docs/html.." ; \ cp -a ../docs/html/* $(WWWDIR)/pjsip/docs/html/ ; \ fi |