mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
Add html doc build for dmd
This commit is contained in:
parent
a540e39b75
commit
51d373ad64
2 changed files with 13 additions and 0 deletions
|
@ -20,6 +20,9 @@ clean:
|
||||||
test:
|
test:
|
||||||
$(QUIET)$(MAKE) -C test -f Makefile
|
$(QUIET)$(MAKE) -C test -f Makefile
|
||||||
|
|
||||||
|
html:
|
||||||
|
$(QUIET)$(MAKE) -C src -f posix.mak html
|
||||||
|
|
||||||
# Creates Exuberant Ctags tags file
|
# Creates Exuberant Ctags tags file
|
||||||
tags: posix.mak $(ECTAGS_FILES)
|
tags: posix.mak $(ECTAGS_FILES)
|
||||||
ctags --sort=yes --links=no --excmd=number --languages=$(ECTAGS_LANGS) \
|
ctags --sort=yes --links=no --excmd=number --languages=$(ECTAGS_LANGS) \
|
||||||
|
|
|
@ -477,4 +477,14 @@ zip:
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
|
|
||||||
|
ifneq ($(DOCDIR),)
|
||||||
|
html: $(DOCDIR)/.generated
|
||||||
|
$(DOCDIR)/.generated: $(DMD_SRCS) $(ROOT_SRCS) $(HOST_DMD_PATH)
|
||||||
|
$(HOST_DMD_RUN) -of- $(MODEL_FLAG) -J. -c -Dd$(DOCDIR)\
|
||||||
|
$(DFLAGS) $(DOCFMT) $(DMD_SRCS) $(ROOT_SRCS)
|
||||||
|
touch $@
|
||||||
|
endif
|
||||||
|
|
||||||
|
######################################################
|
||||||
|
|
||||||
.DELETE_ON_ERROR: # GNU Make directive (delete output files on error)
|
.DELETE_ON_ERROR: # GNU Make directive (delete output files on error)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue