Move XML entity file to glossary

To migrate common-rst to common, and keep common directory simple
as possible, this change move openstack.ent file from common to
glossary directory because we use entity file for glossary only.

Change-Id: I329589e1fb9427ef28a2503444d04b2f0704c89f
This commit is contained in:
KATO Tomoyuki 2016-01-27 00:10:33 +09:00
parent 475da950bb
commit 227ae86f54
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glossary [
<!ENTITY % openstack SYSTEM "../common/entities/openstack.ent">
<!ENTITY % openstack SYSTEM "./openstack.ent">
%openstack;
]>

View File

@ -1,5 +1,5 @@
<!-- The master of this file is in openstack-manuals repository, file
doc/common/entities/openstack.ent.
doc/glossary/openstack.ent.
Any changes to the master file will override changes in other
repositories. -->
<!-- Some useful entities borrowed from HTML -->

View File

@ -58,12 +58,12 @@ function copy_glossary_xml {
# currently while the ha-guide is additionally translated to zh_CN.
# Training-guides is not translated at all.
cp doc/glossary/locale/{ja,zh_CN}.po $GLOSSARY_DIR/locale/
sed -i -e "s|\"../common/entities/openstack.ent\"|\"../$ENT_DIR/openstack.ent\"|" \
sed -i -e "s|\"./openstack.ent\"|\"../$ENT_DIR/openstack.ent\"|" \
$GLOSSARY_DIR/glossary-terms.xml
(cd $PROJECT_DIR; git add $GLOSSARY_SUB_DIR)
# Sync entitites file
cp doc/common/entities/openstack.ent $GLOSSARY_DIR/../$ENT_DIR/
cp doc/glossary/openstack.ent $GLOSSARY_DIR/../$ENT_DIR/
# Add files
(cd $PROJECT_DIR; git add $GLOSSARY_SUB_DIR \