Fixed man and doc-html rules.
This commit is contained in:
parent
4252310c92
commit
b83bb6dac2
|
@ -246,11 +246,17 @@ Makefile: Makefile.in $(TOPSRCDIR)/configure
|
||||||
|
|
||||||
# Rules for auto documentation
|
# Rules for auto documentation
|
||||||
|
|
||||||
man: $(C_SRCS)
|
$(SUBDIRS:%=%/__man__): dummy
|
||||||
for i in $(C_SRCS); do $(C2MAN) -L -o $(TOPOBJDIR)/documentation/man3w -S3w $(DIVINCL) -D__WINE__ $(MANSPECS) $$i; done
|
cd `dirname $@` && $(MAKE) man
|
||||||
|
|
||||||
doc-html: $(C_SRCS)
|
man: $(C_SRCS) $(SUBDIRS:%=%/__man__)
|
||||||
for i in $(C_SRCS); do $(C2MAN) -L -o $(TOPOBJDIR)/documentation/html -Th -iwindows.h $(DIVINCL) -D__WINE__ $(MANSPECS) $$i; done
|
if [ -n "$(C_SRCS)" ]; then $(MKDIR) $(TOPOBJDIR)/documentation/man3w; for i in $(C_SRCS); do $(C2MAN) -L -o $(TOPOBJDIR)/documentation/man3w -S3w $(DIVINCL) -D__WINE__ $(MANSPECS) $$i; done; fi
|
||||||
|
|
||||||
|
$(SUBDIRS:%=%/__doc_html__): dummy
|
||||||
|
cd `dirname $@` && $(MAKE) doc-html
|
||||||
|
|
||||||
|
doc-html: $(C_SRCS) $(SUBDIRS:%=%/__doc_html__)
|
||||||
|
if [ -n "$(C_SRCS)" ]; then $(MKDIR) $(TOPOBJDIR)/documentation/html; for i in $(C_SRCS); do $(C2MAN) -L -o $(TOPOBJDIR)/documentation/html -Th -iwindows.h $(DIVINCL) -D__WINE__ $(MANSPECS) $$i; done; fi
|
||||||
|
|
||||||
# Rule for linting
|
# Rule for linting
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue