diff options
author | Lukas Larsson <lukas@erlang.org> | 2020-03-24 08:31:54 +0100 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2020-03-27 11:02:23 +0100 |
commit | b01ae18938559c265cfe0a08a8848e8419f45a31 (patch) | |
tree | 1d30a420344760e8f771d61c842041bdb682911a /system | |
parent | 8eabc7849d5eda55e4d2e913db38b93132ad46de (diff) | |
download | erlang-b01ae18938559c265cfe0a08a8848e8419f45a31.tar.gz |
system: Move deprecation to XMLGEN stage of makefile
Diffstat (limited to 'system')
-rw-r--r-- | system/doc/general_info/Makefile | 14 | ||||
-rw-r--r-- | system/doc/general_info/xmlfiles.mk | 5 | ||||
-rw-r--r-- | system/doc/top/Makefile | 1 |
3 files changed, 14 insertions, 6 deletions
diff --git a/system/doc/general_info/Makefile b/system/doc/general_info/Makefile index 15452ae97b..5f087e22be 100644 --- a/system/doc/general_info/Makefile +++ b/system/doc/general_info/Makefile @@ -43,6 +43,8 @@ include xmlfiles.mk XML_CHAPTER_FILES=$(GENERAL_INFO_CHAPTER_FILES) +# ---------------------------------------------------- + TOPDOCDIR=.. BOOK_FILES = book.xml @@ -51,7 +53,9 @@ GIF_FILES = XML_FILES = \ $(BOOK_FILES) $(XML_CHAPTER_FILES) \ - $(XML_PART_FILES) + $(XML_PART_FILES) + +XML_GEN_FILES=$(GENERAL_INFO_CHAPTER_GEN_FILES:%=$(XMLDIR)/%) # ---------------------------------------------------- @@ -81,11 +85,11 @@ debug opt: DEPRECATIONS_SCRIPT = $(ERL_TOP)/lib/stdlib/scripts/update_deprecations -deprecations.xml: DEPRECATIONS - $(gen_verbose)escript $(DEPRECATIONS_SCRIPT) make_xml deprecations $(ERL_TOP) +$(XMLDIR)/deprecations.xml: DEPRECATIONS + $(gen_verbose)escript $(DEPRECATIONS_SCRIPT) make_xml deprecations $(ERL_TOP) $@ -scheduled_for_removal.xml: DEPRECATIONS - $(gen_verbose)escript $(DEPRECATIONS_SCRIPT) make_xml removals $(ERL_TOP) +$(XMLDIR)/scheduled_for_removal.xml: DEPRECATIONS + $(gen_verbose)escript $(DEPRECATIONS_SCRIPT) make_xml removals $(ERL_TOP) $@ clean clean_docs: diff --git a/system/doc/general_info/xmlfiles.mk b/system/doc/general_info/xmlfiles.mk index 85cdef8919..c52930c62d 100644 --- a/system/doc/general_info/xmlfiles.mk +++ b/system/doc/general_info/xmlfiles.mk @@ -17,6 +17,9 @@ # # %CopyrightEnd% # -GENERAL_INFO_CHAPTER_FILES = \ + +GENERAL_INFO_CHAPTER_FILES = + +GENERAL_INFO_CHAPTER_GEN_FILES = \ deprecations.xml \ scheduled_for_removal.xml diff --git a/system/doc/top/Makefile b/system/doc/top/Makefile index 12dc8d8657..3ebee96c08 100644 --- a/system/doc/top/Makefile +++ b/system/doc/top/Makefile @@ -58,6 +58,7 @@ XML_FILES = \ XML_GUIDE_FILES = \ $(GENERAL_INFO_CHAPTER_FILES:%=general_info/%) \ + $(GENERAL_INFO_CHAPTER_GEN_FILES:%=general_info/%) \ $(INST_GUIDE_CHAPTER_FILES:%=installation_guide/%) \ $(INST_GUIDE_CHAPTER_GEN_FILES:%=installation_guide/%) \ $(SYSTEM_PRINCIPLES_CHAPTER_FILES:%=system_principles/%) \ |