6 CLEANFILES = $(BUILT_SOURCES)
15 include Makefile.introspection
17 include Makefile-girepository.am
18 include Makefile-giscanner.am
19 include Makefile-examples.am
20 include Makefile-gir.am
21 include Makefile-tools.am
23 ## Process this file with automake to produce Makefile.in
24 ACLOCAL_AMFLAGS = -I m4
26 SUBDIRS = . docs tests
28 DIST_SUBDIRS = m4 $(SUBDIRS)
29 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
32 docs/g-ir-compiler.1 \
33 docs/g-ir-generate.1 \
36 pkgconfigdir = $(libdir)/pkgconfig
37 pkgconfig_DATA = gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc
39 m4dir = $(datadir)/aclocal
40 m4_DATA = m4/introspection.m4
42 makedir = $(datadir)/gobject-introspection-1.0
43 dist_make_DATA = Makefile.introspection
57 @TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
58 echo "* Tagging $(VERSION)"; \
59 git tag -m "Tag $$VERSION" -a \
60 GOBJECT_INTROSPECTION_$$TAG && \
61 git push --tags ssh://git.gnome.org/git/gobject-introspection
63 upload-release: $(distdir).tar.bz2
64 scp $(distdir).tar.bz2 gnome.org:
65 ssh gnome.org install-module $(distdir).tar.bz2
68 @test ! -d $(top_srcdir)/.git || (test -f .git/hooks/pre-commit || (echo -e "ERROR: missing \
69 pre-commit hook.\n\ncopy misc/pre-commit to .git/hooks"; false))
70 @test ! -d $(top_srcdir)/.git || (test -x .git/hooks/pre-commit || (echo -e "ERROR: pre-commit \
71 is not executable\n\nrun chmod +x .git/hooks/pre-commit"; false))
72 @echo " PEP-8 INQUISITION"
73 @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pep8.py --repeat --exclude=config.py
76 @echo " CHECK Pyflakes"
77 @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pyflakes.py