Source

xemacsweb / Makefile

Diff from to

File Makefile

 	touch validate-time-stamp
 
 # PB: target for rebuilding the namazu index
-# APA: Moving files which wouldn't be overwritten otherwise
-# (workaround, until Namazu will overwrite files older than
-# templates).
+# APA: Touch index.html for index template files to be re-generated.
+# www.xemacs.org has a patched mknmz that will update index files,
+# unless they are newer than the associated template.
 namazu-re-index: FORCE
+	touch index.html
 	if test -f ${NAMAZU_CGI}; then \
 		cd ${NAMAZU_INDEX_DIR}; \
-		mv -f NMZ.{head,foot,body,tips,result}* ../index.old; \
 		${MKNMZ} ${XEMACS_WEB_DIR}; \
 	fi;