mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Hook up autotools for publican
automake doesn't seem to provide a sensible method to install a directory of stuff in $(docdir). Do it manually then. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f48355cad3
commit
c3d56a05c6
6 changed files with 45 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
SUBDIRS = src protocol
|
||||
SUBDIRS = src protocol doc
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,8 +51,13 @@ fi
|
|||
AC_PATH_PROG(XSLTPROC, xsltproc)
|
||||
AM_CONDITIONAL([HAVE_XSLTPROC], [test $XSLTPROC != ""])
|
||||
|
||||
AC_PATH_PROG(PUBLICAN, publican)
|
||||
AM_CONDITIONAL([HAVE_PUBLICAN], [test $PUBLICAN != ""])
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
wayland-scanner.m4
|
||||
doc/Makefile
|
||||
doc/Wayland/Makefile
|
||||
src/Makefile
|
||||
src/wayland-server.pc
|
||||
src/wayland-client.pc
|
||||
|
|
|
|||
1
doc/Makefile.am
Normal file
1
doc/Makefile.am
Normal file
|
|
@ -0,0 +1 @@
|
|||
SUBDIRS = Wayland
|
||||
1
doc/Wayland/.gitignore
vendored
Normal file
1
doc/Wayland/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
Wayland
|
||||
35
doc/Wayland/Makefile.am
Normal file
35
doc/Wayland/Makefile.am
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
if HAVE_PUBLICAN
|
||||
EXTRA_DIST = Wayland
|
||||
noinst_DATA = Wayland
|
||||
|
||||
publican_sources = \
|
||||
$(srcdir)/en-US/Wayland.ent \
|
||||
$(srcdir)/en-US/Architecture.xml \
|
||||
$(srcdir)/en-US/Author_Group.xml \
|
||||
$(srcdir)/en-US/Book_Info.xml \
|
||||
$(srcdir)/en-US/Chapter.xml \
|
||||
$(srcdir)/en-US/Preface.xml \
|
||||
$(srcdir)/en-US/Wayland.xml \
|
||||
$(srcdir)/en-US/Revision_History.xml \
|
||||
$(srcdir)/en-US/images/icon.svg \
|
||||
$(srcdir)/en-US/images/wayland-architecture.png \
|
||||
$(srcdir)/en-US/images/wayland.png \
|
||||
$(srcdir)/en-US/images/x-architecture.png
|
||||
|
||||
|
||||
Wayland: publican.cfg $(publican_sources)
|
||||
publican build --lang en-US --format html,pdf
|
||||
|
||||
clean-local:
|
||||
-rm -rf Wayland
|
||||
|
||||
install-data-local:
|
||||
$(MKDIR_P) $(DESTDIR)$(docdir)
|
||||
cp -R $(builddir)/Wayland $(DESTDIR)$(docdir)
|
||||
|
||||
uninstall-local:
|
||||
-rm -rf $(DESTDIR)$(docdir)/Wayland/*
|
||||
-rmdir $(DESTDIR)$(docdir)/Wayland
|
||||
|
||||
EXTRA_DIST = $(publican_sources) publican.cfg
|
||||
endif
|
||||
|
|
@ -4,3 +4,5 @@
|
|||
xml_lang: "en-US"
|
||||
type: Book
|
||||
brand: common
|
||||
tmp_dir: Wayland
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue