diff options
-rw-r--r-- | Config/defs.mk.in | 3 | ||||
-rw-r--r-- | Doc/Makefile.in | 11 | ||||
-rw-r--r-- | Makefile.in | 6 |
3 files changed, 19 insertions, 1 deletions
diff --git a/Config/defs.mk.in b/Config/defs.mk.in index 8ec2a3056..14f79d581 100644 --- a/Config/defs.mk.in +++ b/Config/defs.mk.in @@ -39,7 +39,9 @@ libdir = @libdir@ MODDIR = $(libdir)/$(tzsh)/$(VERSION) infodir = @infodir@ mandir = @mandir@ +datadir = @datadir@ fndir = @fndir@ +htmldir = $(datadir)/$(tzsh)/htmldoc # compilation CC = @CC@ @@ -77,6 +79,7 @@ FUNCTIONS_SUBDIRS = @FUNCTIONS_SUBDIRS@ MAKEDEFS = \ prefix='$(prefix)' exec_prefix='$(exec_prefix)' bindir='$(bindir)' \ libdir='$(libdir)' MODDIR='$(MODDIR)' infodir='$(infodir)' mandir='$(mandir)' \ +datadir='$(datadir)' fndir='$(fndir)' htmldir='$(htmldir)' \ CC='$(CC)' CPPFLAGS='$(CPPFLAGS)' DEFS='$(DEFS)' CFLAGS='$(CFLAGS)' \ LDFLAGS='$(LDFLAGS)' EXTRA_LDFLAGS='$(EXTRA_LDFLAGS)' \ DLCFLAGS='$(DLCFLAGS)' DLLDFLAGS='$(DLLDFLAGS)' \ diff --git a/Doc/Makefile.in b/Doc/Makefile.in index 4843729e5..e252bb28a 100644 --- a/Doc/Makefile.in +++ b/Doc/Makefile.in @@ -214,6 +214,17 @@ uninstall.info: rm -f $(DESTDIR)$(infodir)/$(tzsh).info rm -f $(DESTDIR)$(infodir)/$(tzsh).info-[1-9]* +# install HTML manual +install.html: zsh_toc.html + $(sdir_top)/mkinstalldirs $(DESTDIR)$(htmldir) + for file in zsh_*.html; do \ + $(INSTALL_DATA) $$file $(DESTDIR)$(htmldir) || exit 1; \ + done + +# uninstall HTML manual +uninstall.html: + rm -f $(DESTDIR)$(htmldir)/zsh_*.html + # ========== DEPENDENCIES FOR CLEANUP ========== clean-here: diff --git a/Makefile.in b/Makefile.in index df9b6a132..1a92015df 100644 --- a/Makefile.in +++ b/Makefile.in @@ -59,7 +59,7 @@ META-FAQ: FORCE install-strip: $(MAKE) install STRIPFLAGS="-s" -# install/uninstall everything (except info) +# install/uninstall most things install: install.bin install.modules install.man install.fns uninstall: uninstall.bin uninstall.modules uninstall.man uninstall.fns @@ -84,6 +84,10 @@ install.fns uninstall.fns: install.info uninstall.info: @cd Doc && $(MAKE) $(MAKEDEFS) $@ +# install/uninstall just the HTML manual +install.html uninstall.html: + @cd Doc && $(MAKE) $(MAKEDEFS) $@ + # install/uninstall just the html pages install.html uninstall.html @cd Doc && $(MAKE) $(MAKEDEFS) $@ |