aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 122ee65..6ff1d3f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# -*- Makefile -*- $Id$
+
EMACS=emacs
VERSION=1.7
@@ -56,6 +58,25 @@ package-install: package
@if [ `id -u` -ne 0 ]; then printf "\aWarning, you are not root; the installation might fail\n\n"; fi
@$(EMACS) -vanilla -batch -l install-package.el -f install-package `pwd`/$(XEMACS-PACKAGE)
+.PHONY: view-info
+view-info: info
+ info doc/dictionary.info
+
+.PHONY: doc
+doc: info html
+
+.PHONY: info
+info: doc/dictionary.info
+
+doc/dictionary.info: doc/dictionary.texi
+ cd doc && makeinfo --output dictionary.info dictionary
+
+.PHONY: html
+html: doc/dictionary
+
+doc/dictionary: doc/dictionary.texi
+ cd doc && makeinfo --html dictionary
+
.PHONY: clean
clean:
rm -f $(XEMACS-PACKAGE) $(COMPILED) build