diff doc/misc/DEFS.mk @ 0:13d2b8934445

Import AnaGram (near-)release tree into Mercurial.
author David A. Holland
date Sat, 22 Dec 2007 17:52:45 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/misc/DEFS.mk	Sat Dec 22 17:52:45 2007 -0500
@@ -0,0 +1,34 @@
+HELP2HTML=$(BUILDTOP)/help2html/mhh6
+HELPSRC=$(TOP)/anagram/guisupport/helpdata.src
+
+include $(BUILDTOP)/config.mk
+include $(TOP)/mk/installdirs.mk
+
+FILES=\
+	$(SRCDIR)/readme.html \
+	$(SRCDIR)/whatsnew.html \
+	$(SRCDIR)/license.html \
+	$(SRCDIR)/buildnotes.html \
+	help.html
+
+all: help.html
+
+help.html: $(HELPSRC) $(HELP2HTML)
+	@echo '        [HELP2HTML]'
+	@$(HELP2HTML) $(HELPSRC) help.html
+	@rm -f intermed.html
+
+clean distclean:
+	@echo '        [RM]      help.html'
+	@rm -f help.html intermed.html
+
+rules depend agfiles agclean:;
+
+install:
+	@$(TOP)/mk/mkinstalldirs.sh "$(DOCDIR)"
+	@echo '        [CP]      $(FILES)'
+	@cp $(FILES) "$(DOCDIR)/"
+	@(cd "$(DOCDIR)/" && chmod 644 *.html)
+
+
+.PHONY: all rules depend install clean distclean agfiles agcleanhtml