Skip to content

Commit 96c65be

Browse files
memsizekeith-packard
authored andcommitted
doc: relocate xserver.ent in the package root directory
This is the appropriate location for reusable configuration and/or makefile artifacts as opposed to picking one of the subdirs where it is used. It shields them from future doc reorg as every subdir will refer to the root package which never changes location. Reviewed-by Jeremy Huddleston <[email protected]> Signed-off-by: Gaetan Nadon <[email protected]> Signed-off-by: Keith Packard <[email protected]>
1 parent dbe2663 commit 96c65be

7 files changed

+5
-6
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,4 @@ core
7878
#
7979
doltcompile
8080
doltlibtool
81+
xserver.ent

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,6 @@ dix/Makefile
21542154
doc/Makefile
21552155
doc/dtrace/Makefile
21562156
doc/xml/Makefile
2157-
doc/xml/xserver.ent
21582157
man/Makefile
21592158
fb/Makefile
21602159
record/Makefile
@@ -2244,5 +2243,6 @@ hw/kdrive/linux/Makefile
22442243
hw/kdrive/src/Makefile
22452244
test/Makefile
22462245
test/xi2/Makefile
2246+
xserver.ent
22472247
xorg-server.pc
22482248
])

devbook.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if HAVE_STYLESHEETS
3030
# The location where all cross reference databases are installed
3131
XMLTO_FLAGS = \
3232
--searchpath "$(XORG_SGML_PATH)/X11" \
33-
--searchpath "$(abs_top_builddir)/doc/xml" \
33+
--searchpath "$(abs_top_builddir)" \
3434
--stringparam current.docid="$(<:.xml=)"
3535

3636
XMLTO_XHTML_FLAGS = \

doc/xml/.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Add & Override for this directory and its subdirectories
2-
xserver.ent
31
Xserver-spec.html
42
Xserver-spec.pdf
53
Xserver-spec.txt

doc/xml/xmlrules.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# It is included by xmlrules-noinst for non installable developer's documentation
2828
# If the server version or release date changes, autogen && make
2929

30-
XML_ENT_DIR = $(abs_top_builddir)/doc/xml
30+
XML_ENT_DIR = $(abs_top_builddir)
3131
SUFFIXES = .xml .txt .html .pdf
3232

3333
XMLTO_FLAGS = --searchpath $(XML_ENT_DIR)

docbook.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sgmldbsdir = $(XORG_SGML_PATH)/X11/dbs
3232
masterdb = "$(sgmldbsdir)/masterdb$(suffix $@).xml"
3333
XMLTO_FLAGS = \
3434
--searchpath "$(XORG_SGML_PATH)/X11" \
35-
--searchpath "$(abs_top_builddir)/doc/xml" \
35+
--searchpath "$(abs_top_builddir)" \
3636
--stringparam target.database.document=$(masterdb) \
3737
--stringparam current.docid="$(<:.xml=)" \
3838
--stringparam collect.xref.targets="no"
File renamed without changes.

0 commit comments

Comments
 (0)