diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2009-01-28 22:07:46 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2009-01-28 22:07:46 +0000 |
commit | f4aef444d95f6845957324a45215944acbd838b6 (patch) | |
tree | e6e0f4ee65b0ad92c22c68c56c90033fb559ae03 /docs | |
parent | 4aa395acd2740de461a359cba0068baf3f9a1b1d (diff) | |
download | pango-f4aef444d95f6845957324a45215944acbd838b6.tar.gz |
Autogenerage pango.types. Remove it from repository, but dist it.
2009-01-09 Behdad Esfahbod <behdad@gnome.org>
* docs/Makefile.am:
* docs/pango.types:
Autogenerage pango.types. Remove it from repository, but dist it.
svn path=/trunk/; revision=2805
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile.am | 21 | ||||
-rw-r--r-- | docs/pango.types | 30 |
2 files changed, 14 insertions, 37 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index adbbb4f7..2d070bf7 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -98,11 +98,19 @@ include $(top_srcdir)/gtk-doc.make # This line really belongs in gtk-doc.mk $(REPORT_FILES): sgml-build.stamp +pango.types: + @echo "Rebuilding $@" + @LANG=C; LIST=$$(grep 'pango_[_a-zA-Z0-9]*_get_type' $(HFILE_GLOB) | grep -v '\(private\|atsui\|win32\)' | sed 's/\([^:]*:\).*\(pango[_a-zA-Z0-9]*_get_type\).*/\1\2/') && \ + echo "$$LIST" | sed 's/.*\/\(pango\/.*\):.*/#include <\1>/' | sort -u > $@.tmp && \ + echo >> $@.tmp && \ + echo "$$LIST" | cut -d : -f 2 | sort -u >> $@.tmp && \ + mv $@.tmp $@ + +BUILT_SOURCES = pango.types + ######################################################################## man_MANS = pango-querymodules.1 -BUILT_EXTRA_DIST = $(man_MANS) -MAINTAINERCLEANFILES = $(man_MANS) if ENABLE_MAN .xml.1: @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< @@ -117,18 +125,17 @@ dist-local-check-mans-enabled: @false endif +MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES) EXTRA_DIST += \ layout.fig \ layout.eps \ version.xml.in \ - check.docs + check.docs \ + pango.types \ + $(man_MANS) # force doc rebulid after configure dist-hook-local: dist-local-check-mans-enabled dist-local-check-no-cross-references maintainer-clean-local all-local - files='$(BUILT_EXTRA_DIST)'; \ - for f in $$files; do \ - if test -f $$f; then d=.; else d=$(srcdir); fi; \ - cp $$d/$$f $(distdir) || exit 1; done; # # Require gtk-doc when making dist diff --git a/docs/pango.types b/docs/pango.types deleted file mode 100644 index 96361269..00000000 --- a/docs/pango.types +++ /dev/null @@ -1,30 +0,0 @@ -#include <pango/pango.h> -#include <pango/pangocairo.h> -#include <pango/pangofc-font.h> -#include <pango/pangofc-fontmap.h> -#include <pango/pangoft2.h> -#include <pango/pangoxft.h> -#include <pango/pango-ot.h> - -pango_engine_get_type -pango_engine_lang_get_type -pango_engine_shape_get_type -pango_font_get_type -pango_font_family_get_type -pango_font_face_get_type -pango_font_map_get_type -pango_fontset_get_type -pango_fontset_simple_get_type -pango_context_get_type -pango_layout_get_type -pango_renderer_get_type -pango_fc_font_get_type -pango_fc_font_map_get_type -pango_fc_decoder_get_type -pango_ft2_font_map_get_type -pango_xft_font_get_type -pango_xft_font_map_get_type -pango_xft_renderer_get_type -pango_cairo_font_map_get_type -pango_ot_info_get_type -pango_ot_ruleset_get_type |