mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
doc: refactor Makefile and xmlrules.in code for reusability
A different approach which requires less variables setting and internal knowledge of the reused code. Changing from "install" to "not install" is very easy now. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
f33512b70c
commit
7250f078c1
7 changed files with 66 additions and 55 deletions
|
|
@ -19,14 +19,12 @@
|
|||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
XML_FILES = dmx.xml scaled.xml
|
||||
|
||||
include $(top_srcdir)/doc/xml/xmlrules.in
|
||||
doc_sources = dmx.xml scaled.xml
|
||||
|
||||
# Developer's documentation is not installed
|
||||
if ENABLE_DEVEL_DOCS
|
||||
noinst_DATA = $(BUILT_DOC_FILES)
|
||||
include $(top_srcdir)/doc/xml/xmlrules-noinst.in
|
||||
endif
|
||||
CLEANFILES = $(CLEAN_DOC_FILES)
|
||||
|
||||
if HAVE_DOXYGEN
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue