doap: update my name and kickout inactive maintainers
[gtk-doc.git] / tests / Makefile.am
blob83c5c4e5d3197df4abe4120e4db78d47f3a20c84
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = gobject bugs annotations fail empty program .
5 if BUILD_TESTS
7 TESTS = \
8   gtkdoc-common.t gtkdoc-fixxref.t gtkdoc-mkdb.t gtkdoc-rebase.t gtkdoc-scan.t \
9   tools.sh gobject.sh bugs.sh annotations.sh fail.sh empty.sh sanity.sh \
10   program.sh
11 TESTS_ENVIRONMENT = \
12         BUILDDIR=$(abs_builddir) \
13         SRCDIR=$(abs_srcdir) \
14         ABS_TOP_BUILDDIR=$(abs_top_builddir) \
15         ABS_TOP_SRCDIR=$(abs_top_srcdir) \
16         PATH=$(abs_top_builddir):$(srcdir):$(PATH) \
17         PERL5LIB=$(abs_top_builddir):$(PERL5LIB) \
18         GLIB_PREFIX="$(glib_prefix)"
20 endif
22 EXTRA_DIST = gtkdoctest.sh tools.sh sanity.sh \
23         gobject.sh bugs.sh annotations.sh fail.sh empty.sh \
24         gtkdoc-common.t gtkdoc-fixxref.t gtkdoc-mkdb.t gtkdoc-rebase.t gtkdoc-scan.t
27 # run any given test by running make <test>.check
28 %.check: %
29         @$(TESTS_ENVIRONMENT)   \
30         ./$*
32 snapshot:
33         @for dir in $(SUBDIRS); do \
34     rm -rf $$dir/docs/html.ref; \
35           if test -d $$dir/docs/html; then \
36       cp -r $$dir/docs/html $$dir/docs/html.ref; \
37     fi; \
38     rm -rf $$dir/docs/xml.ref; \
39           if test -d $$dir/docs/xml; then \
40       cp -r $$dir/docs/xml $$dir/docs/xml.ref; \
41     fi; \
42         done
44 .PHONY: snapshot
46 -include $(top_srcdir)/git.mk