Commits

Anonymous committed 46fe7b8

xemacsweb: Fix test for index directory

-------------------- ChangeLog entries follow: --------------------

ChangeLog addition:

2006-02-11 Adrian Aichner <adrian@xemacs.org>

* Makefile (namazu-re-index): Fix test for index directory.

  • Participants
  • Parent commits a540cc4

Comments (0)

Files changed (2)

+2006-02-11  Adrian Aichner  <adrian@xemacs.org>
+
+	* Makefile (namazu-re-index): Fix test for index directory.
+
 2006-02-11  Adrian Aichner  <adrian@xemacs.org>
 
 	* Makefile (namazu-re-index): Fix syntax in shell command.
 # unless they are newer than the associated template.
 namazu-re-index: FORCE
 	touch index.html
-	if test -n "$(NAMAZU_INDEX_DIR)" -a -f "$(NAMAZU_INDEX_DIR)"; then \
+	if test -n "$(NAMAZU_INDEX_DIR)" -a -d "$(NAMAZU_INDEX_DIR)"; then \
 		$(MKNMZ) --output-dir=$(NAMAZU_INDEX_DIR) . ; \
 	fi;