mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
zsh-workers/8966
This commit is contained in:
parent
726e1f5545
commit
fee2b1ab94
3 changed files with 19 additions and 1 deletions
|
@ -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)' \
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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) $@
|
||||
|
|
Loading…
Reference in a new issue