Misc (re #1134): fixed error in Makefile target for generating doxygen documentation when WWWDIR is specified

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3319 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile
index 1e0e88f..76fece3 100644
--- a/pjlib/build/Makefile
+++ b/pjlib/build/Makefile
@@ -58,7 +58,7 @@
 
 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