mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 22:07:15 +08:00
Remove warning on first build after clone
Created a new file, dummy.xml, that is copied to ./general/prog/python-dependencies/pythonhosted.xml if that file does not already exist. This avoids a warning when generating the book for the first time after cloning the source from the repository.
This commit is contained in:
parent
5327b2af3c
commit
b6ad4e01f9
6
Makefile
6
Makefile
@ -287,9 +287,9 @@ $(PYHOSTED): $(ALL_PYTHON_DEPS) \
|
||||
$(PYTHONHOSTED_MOD_PAGES) \
|
||||
stylesheets/pyhosted-inc.xsl \
|
||||
stylesheets/pythonhosted.xsl | version.ent
|
||||
@echo Generating pythonhosted.xml; \
|
||||
if [ ! -f $@ ]; then \
|
||||
echo The following warning can be ignored...; \
|
||||
@echo Generating pythonhosted.xml; \
|
||||
if [ ! -f $@ ]; then \
|
||||
cp dummy.xml $(PYHOSTED); \
|
||||
fi
|
||||
$(Q)xsltproc --xinclude \
|
||||
--output temp.xml \
|
||||
|
9
dummy.xml
Normal file
9
dummy.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
]>
|
||||
<sect2>
|
||||
<!-- Used in Makefile to avoid warning for first build of
|
||||
general/prog/python-dependencies/pythonhosted.xml
|
||||
-->
|
||||
</sect2>
|
Loading…
Reference in New Issue
Block a user