summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pjlib-util/build/Makefile2
-rw-r--r--pjlib/build/Makefile2
-rw-r--r--pjmedia/build/Makefile2
-rw-r--r--pjnath/build/Makefile2
-rw-r--r--pjsip/build/Makefile2
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