mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Added support for ready-to-install doc files, such as html or rtf
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11996 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e8152c494a
commit
2ea7509ad7
1 changed files with 22 additions and 0 deletions
|
@ -42,6 +42,8 @@ endif
|
|||
# The names of text documents are in the DOCUMENT_TEXT_NAME variable.
|
||||
#
|
||||
# The main file for text document is in the xxx_TEXT_MAIN variable.
|
||||
# Files already ready to be installed without pre-processing (eg, html, rtf)
|
||||
# are in the xxx_INSTALL_FILES
|
||||
# The Texinfo files that needs pre-processing are in xxx_TEXI_FILES
|
||||
# The GSDoc files that needs pre-processing are in xxx_GSDOC_FILES
|
||||
# The files for processing by autogsdoc are in xxx_AGSDOC_FILES
|
||||
|
@ -363,6 +365,26 @@ internal-doc-install:: $(GNUSTEP_DOCUMENTATION)/$(DOC_INSTALL_DIR)
|
|||
$(GNUSTEP_DOCUMENTATION)/$(DOC_INSTALL_DIR):
|
||||
$(MKINSTALLDIRS) $(GNUSTEP_DOCUMENTATION)/$(DOC_INSTALL_DIR)
|
||||
|
||||
# xxx_INSTALL_FILES
|
||||
ifneq ($($(INTERNAL_doc_NAME)_INSTALL_FILES)$($(INTERNAL_textdoc_NAME)_INSTALL_FILES),)
|
||||
internal-doc-install::
|
||||
for file in $($(INTERNAL_doc_NAME)_INSTALL_FILES) \
|
||||
$($(INTERNAL_textdoc_NAME)_INSTALL_FILES) __done; do \
|
||||
if [ $$file != __done ]; then \
|
||||
$(INSTALL_DATA) $$file \
|
||||
$(GNUSTEP_DOCUMENTATION)/$(DOC_INSTALL_DIR)/$$file ; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
internal-doc-uninstall::
|
||||
for file in $($(INTERNAL_doc_NAME)_INSTALL_FILES) \
|
||||
$($(INTERNAL_textdoc_NAME)_INSTALL_FILES) __done; do \
|
||||
if [ $$file != __done ]; then \
|
||||
rm -f $(GNUSTEP_DOCUMENTATION)/$(DOC_INSTALL_DIR)/$$file ; \
|
||||
fi; \
|
||||
done
|
||||
endif
|
||||
|
||||
#
|
||||
# texi installation
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue