Commits

Anonymous committed 41e5984

Add comments, make htdocs default target

  • Participants
  • Parent commits 868125d

Comments (0)

Files changed (1)

 #
-# Adrian Aichner
+# Adrian Aichner (APA), aichner@ecf.teradyne.com, Teradyne GmbH, 2000-07-29.
+#
 # xemacsweb makefile for UNIX and Windows NT
+# featuring targets:
+# htdocs (default): creation of .html from .content files
+# validate: validation of all .html files in $(WEBDIR) using XEmacs/PSGML
+# all: creation and validation
 #
-XEMACS=/home/groups/xemacs/tools/xemacs/bin/xemacs
+XEMACS=xemacs
 # APA: This is what I use on my Windows NT machine:
 # XEMACS="c:/XEmacs/XEmacs-21.1.11/i386-pc-win32/xemacs.exe"
 FLAGS=-batch -q -no-site-file
 GENPAGE_CONF="genpage.conf"
 WEBDIR=".."
 
-all: htdocs validate
-
+# APA: Default target (first to occur in file):
 htdocs: index.content
 	perl ./genpage/bin/genpage -p $(GENPAGE_CONF) -o $(WEBDIR)
 
+# See batch-psgml-validate.el for details, in particular ...
+# (defun batch-psgml-validate (&optional file-or-dir)
+# (defun batch-psgml-validate-file (file &optional insert-result indent)
+# (defun batch-psgml-validate-buffer (&optional insert-result indent)
 validate:
 	$(XEMACS) $(FLAGS) -l ./batch-psgml-validate.el -f batch-psgml-validate $(WEBDIR)
 
-# We MUST NOT do this because output files are not kept separate:
+all: htdocs validate
+
+# APA: We MUST NOT do this because output files are not kept separate:
 # clean:
 # 	rm -rf $(WEBDIR)