mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
build: Distcheck fixes
This commit is contained in:
parent
65b11a305d
commit
e9b16923bf
@ -1,8 +1,8 @@
|
|||||||
HTML_DIR = $(datadir)/gtk-doc/html
|
HTML_DIR = $(datadir)/gtk-doc/html
|
||||||
TARGET_DIR = $(HTML_DIR)/clutter-cookbook
|
TARGET_DIR = $(HTML_DIR)/clutter-cookbook
|
||||||
|
|
||||||
HTML_FILES = $(srcdir)/html/*.html
|
HTML_FILES = html/*.html
|
||||||
IMAGE_FILES = $(srcdir)/images/*.png
|
IMAGE_FILES = images/*.png
|
||||||
|
|
||||||
EXTRA_DIST = clutter-cookbook.xml.in
|
EXTRA_DIST = clutter-cookbook.xml.in
|
||||||
|
|
||||||
@ -12,19 +12,19 @@ CLEANFILES = \
|
|||||||
|
|
||||||
pdf-build.stamp: clutter-cookbook.xml
|
pdf-build.stamp: clutter-cookbook.xml
|
||||||
SP_ENCODING=XML SP_CHARSET_FIXED=YES \
|
SP_ENCODING=XML SP_CHARSET_FIXED=YES \
|
||||||
$(JW) -b pdf $(srcdir)/clutter-cookbook.xml \
|
$(JW) -b pdf $(top_builddir)/doc/cookbook/clutter-cookbook.xml \
|
||||||
&& mv -f $(srcdir)/clutter-cookbook.pdf clutter-cookbook-@CLUTTER_API_VERSION@.pdf \
|
&& mv -f clutter-cookbook.pdf clutter-cookbook-@CLUTTER_API_VERSION@.pdf \
|
||||||
&& echo timestamp > $(@F)
|
&& echo timestamp > $(@F)
|
||||||
|
|
||||||
html-build.stamp: clutter-cookbook.xml
|
html-build.stamp: clutter-cookbook.xml
|
||||||
$(mkinstalldirs) html \
|
$(mkinstalldirs) html \
|
||||||
&& $(XSLTPROC) --nonet --xinclude -o $(srcdir)/html/ \
|
&& $(XSLTPROC) --nonet --xinclude -o html \
|
||||||
--path $(top_srcdir)/doc/common \
|
--path $(top_srcdir)/doc/common \
|
||||||
--path $(srcdir) \
|
--path . \
|
||||||
--stringparam gtkdoc.bookname "clutter-cookbook" \
|
--stringparam gtkdoc.bookname "clutter-cookbook" \
|
||||||
--stringparam gtkdoc.version @CLUTTER_API_VERSION@ \
|
--stringparam gtkdoc.version @CLUTTER_API_VERSION@ \
|
||||||
$(srcdir)/ref-html-style.xsl \
|
ref-html-style.xsl \
|
||||||
$(srcdir)/clutter-cookbook.xml \
|
$(top_builddir)/doc/cookbook/clutter-cookbook.xml \
|
||||||
&& echo timestamp > $(@F)
|
&& echo timestamp > $(@F)
|
||||||
|
|
||||||
if ENABLE_PDFS
|
if ENABLE_PDFS
|
||||||
@ -47,22 +47,22 @@ clean-local:
|
|||||||
uninstall-local:
|
uninstall-local:
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
installfiles=`echo $(srcdir)/html/*`; \
|
installfiles=`echo ./html/*`; \
|
||||||
if test "$$installfiles" = '$(srcdir)/html/*'; \
|
if test "$$installfiles" = './html/*'; \
|
||||||
then echo '-- Nothing to install' ; \
|
then echo '-- Nothing to install' ; \
|
||||||
else \
|
else \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) ; \
|
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) ; \
|
||||||
for file in `ls $(srcdir)/$(HTML_FILES)`; do \
|
for file in `ls $(HTML_FILES)`; do \
|
||||||
if [ -f $$file ]; then \
|
if [ -f $$file ]; then \
|
||||||
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
||||||
$(INSTALL_DATA) $$file $(DESTDIR)$(TARGET_DIR)/$$basefile; \
|
$(INSTALL_DATA) $$file $(DESTDIR)$(TARGET_DIR)/$$basefile; \
|
||||||
fi \
|
fi \
|
||||||
done; \
|
done; \
|
||||||
fi; \
|
fi; \
|
||||||
if [ -d $(srcdir)/images ]; \
|
if [ -d ./images ]; \
|
||||||
then \
|
then \
|
||||||
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/images ; \
|
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/images ; \
|
||||||
for file in `ls $(srcdir)/$(IMAGE_FILES)`; do \
|
for file in `ls $(IMAGE_FILES)`; do \
|
||||||
if [ -f $$file ]; \
|
if [ -f $$file ]; \
|
||||||
then \
|
then \
|
||||||
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
||||||
@ -71,6 +71,6 @@ install-data-local:
|
|||||||
done; \
|
done; \
|
||||||
fi; \
|
fi; \
|
||||||
$(INSTALL_DATA) $(top_srcdir)/doc/common/style.css $(DESTDIR)$(TARGET_DIR)/style.css; \
|
$(INSTALL_DATA) $(top_srcdir)/doc/common/style.css $(DESTDIR)$(TARGET_DIR)/style.css; \
|
||||||
$(INSTALL_DATA) $(srcdir)/html/clutter-cookbook.devhelp $(DESTDIR)$(TARGET_DIR)/clutter-cookbook.devhelp
|
$(INSTALL_DATA) clutter-cookbook.devhelp $(DESTDIR)$(TARGET_DIR)/clutter-cookbook.devhelp
|
||||||
|
|
||||||
.PHONY : doc
|
.PHONY : doc
|
||||||
|
@ -12,19 +12,19 @@ CLEANFILES = \
|
|||||||
|
|
||||||
pdf-build.stamp: clutter-manual.xml
|
pdf-build.stamp: clutter-manual.xml
|
||||||
SP_ENCODING=XML SP_CHARSET_FIXED=YES \
|
SP_ENCODING=XML SP_CHARSET_FIXED=YES \
|
||||||
$(JW) -b pdf $(srcdir)/clutter-manual.xml \
|
$(JW) -b pdf $(top_builddir)/doc/manual/clutter-manual.xml \
|
||||||
&& mv -f $(srcdir)/clutter-manual.pdf clutter-manual-@CLUTTER_API_VERSION@.pdf \
|
&& mv -f $(srcdir)/clutter-manual.pdf clutter-manual-@CLUTTER_API_VERSION@.pdf \
|
||||||
&& echo timestamp > $(@F)
|
&& echo timestamp > $(@F)
|
||||||
|
|
||||||
html-build.stamp: clutter-manual.xml
|
html-build.stamp: clutter-manual.xml
|
||||||
$(mkinstalldirs) html \
|
$(mkinstalldirs) html \
|
||||||
&& $(XSLTPROC) --nonet --xinclude -o $(srcdir)/html/ \
|
&& $(XSLTPROC) --nonet --xinclude -o html/ \
|
||||||
--path $(top_srcdir)/doc/common \
|
--path $(top_srcdir)/doc/common \
|
||||||
--path $(srcdir) \
|
--path . \
|
||||||
--stringparam gtkdoc.bookname "clutter-manual" \
|
--stringparam gtkdoc.bookname "clutter-manual" \
|
||||||
--stringparam gtkdoc.version @CLUTTER_API_VERSION@ \
|
--stringparam gtkdoc.version @CLUTTER_API_VERSION@ \
|
||||||
$(srcdir)/ref-html-style.xsl \
|
$(srcdir)/ref-html-style.xsl \
|
||||||
$(srcdir)/clutter-manual.xml \
|
$(top_builddir)/doc/manual/clutter-manual.xml \
|
||||||
&& echo timestamp > $(@F)
|
&& echo timestamp > $(@F)
|
||||||
|
|
||||||
if ENABLE_PDFS
|
if ENABLE_PDFS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user