diff options
-rw-r--r-- | rules/host-gtk-doc.in | 5 | ||||
-rw-r--r-- | rules/host-gtk-doc.make | 47 |
2 files changed, 52 insertions, 0 deletions
diff --git a/rules/host-gtk-doc.in b/rules/host-gtk-doc.in new file mode 100644 index 000000000..b3e884e05 --- /dev/null +++ b/rules/host-gtk-doc.in @@ -0,0 +1,5 @@ +## SECTION=host_gtk + +config HOST_GTK_DOC + tristate + diff --git a/rules/host-gtk-doc.make b/rules/host-gtk-doc.make new file mode 100644 index 000000000..6cf042532 --- /dev/null +++ b/rules/host-gtk-doc.make @@ -0,0 +1,47 @@ +# -*-makefile-*- +# +# Copyright (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_GTK_DOC) += host-gtk-doc + +# +# Paths and names +# +HOST_GTK_DOC_VERSION := 1.13 +HOST_GTK_DOC := gtk-doc-$(HOST_GTK_DOC_VERSION) +HOST_GTK_DOC_SUFFIX := tar.bz2 +HOST_GTK_DOC_URL := http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/$(HOST_GTK_DOC_VERSION)/$(HOST_GTK_DOC).$(HOST_GTK_DOC_SUFFIX) +HOST_GTK_DOC_SOURCE := $(SRCDIR)/$(HOST_GTK_DOC).$(HOST_GTK_DOC_SUFFIX) +HOST_GTK_DOC_DIR := $(HOST_BUILDDIR)/$(HOST_GTK_DOC) + +ifdef PTXCONF_HOST_GTK_DOC +$(STATEDIR)/autogen-tools: $(STATEDIR)/host-gtk-doc.install +endif + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(HOST_GTK_DOC_SOURCE): + @$(call targetinfo) + @$(call get, HOST_GTK_DOC) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_GTK_DOC_CONF_TOOL := autoconf + +# vim: syntax=make |