Commits

Anonymous committed fdbf136

xemacsweb: Simplify namazu-re-index rule

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

ChangeLog addition:

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

* Makefile (namazu-re-index): Simplify namazu-re-index rule (no
need to know XEMACS_WEB_DIR since we don't leave it).

  • Participants
  • Parent commits fcb200c

Comments (0)

Files changed (2)

+2006-02-11  Adrian Aichner  <adrian@xemacs.org>
+
+	* Makefile (namazu-re-index): Simplify namazu-re-index rule (no
+	need to know XEMACS_WEB_DIR since we don't leave it).
+
 2006-02-11  Adrian Aichner  <adrian@xemacs.org>
 
 	* Local.rules.template: Simplify namazu-re-index rule.
 # unless they are newer than the associated template.
 namazu-re-index: FORCE
 	touch index.html
-	if test -n "${NAMAZU_CGI}" -a -f "${NAMAZU_CGI}"; then \
-		cd ${NAMAZU_INDEX_DIR}; \
-		${MKNMZ} ${XEMACS_WEB_DIR}; \
+	if test -n "$(NAMAZU_INDEX_DIR)" -a -f "$(NAMAZU_INDEX_DIR)"; then \
+		$(MKNMZ) --output-dir=$(NAMAZU_INDEX_DIR) .
 	fi;
 
 # APA: Remove all .html files (and backups) generated from .content