diff --git a/docs/Makefile b/docs/Makefile index ca0eb1f5a8c2c4c1cc0f06ee80fa26023d199bc1..14684398916eb0897ed11545cb4dcf9705d6cc3c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,6 +1,6 @@ TOP = .. include $(TOP)/mk/boilerplate.mk -SGML_DOC = building +SGML_DOC = building ffi-art include $(TOP)/mk/target.mk diff --git a/mk/target.mk b/mk/target.mk index 81f4634ae8385bc85d0da7c94e2e1515a3a57119..2158db340c5ec7c0164cf60ad6edb88be071a2a8 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -962,14 +962,14 @@ SGML_SRCS = $(wildcard *.sgml) endif endif -SGML_TEX = $(SGML_DOC).tex -SGML_DVI = $(SGML_DOC).dvi -SGML_PS = $(SGML_DOC).ps -SGML_PDF = $(SGML_DOC).pdf -SGML_RTF = $(SGML_DOC).rtf -SGML_HTML = $(SGML_DOC).html +SGML_TEX = $(addsuffix .tex,$(SGML_DOC)) +SGML_DVI = $(addsuffix .dvi,$(SGML_DOC)) +SGML_PS = $(addsuffix .ps,$(SGML_DOC)) +SGML_PDF = $(addsuffix .pdf,$(SGML_DOC)) +SGML_RTF = $(addsuffix .rtf,$(SGML_DOC)) +SGML_HTML = $(addsuffix .html,$(SGML_DOC)) # HTML output goes in a subdirectory on its own. -SGML_TEXT = $(SGML_DOC).txt +SGML_TEXT = $(addsuffix .txt,$(SGML_DOC)) $(SGML_DVI) $(SGML_PS) $(SGML_HTML) $(SGML_TEXT) :: $(SGML_SRCS)