6 CLEANFILES = $(BUILT_SOURCES)
13 noinst_PROGRAMS = $(GTESTER_PROGS)
16 include Makefile.introspection
18 include Makefile-cmph.am
19 include Makefile-girepository.am
20 include Makefile-giscanner.am
21 include Makefile-examples.am
22 include Makefile-gir.am
23 include Makefile-tools.am
25 ## Process this file with automake to produce Makefile.in
26 ACLOCAL_AMFLAGS = -I m4
28 SUBDIRS = . docs tests
30 DIST_SUBDIRS = m4 $(SUBDIRS)
31 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
34 docs/g-ir-compiler.1 \
35 docs/g-ir-generate.1 \
38 pkgconfigdir = $(libdir)/pkgconfig
39 pkgconfig_DATA = gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc
41 m4dir = $(datadir)/aclocal
42 m4_DATA = m4/introspection.m4
44 makedir = $(datadir)/gobject-introspection-1.0
45 dist_make_DATA = Makefile.introspection
58 prepare-release-tag: Makefile
59 @TAG=`echo $(VERSION)|sed s/\\\./_/g`;\
60 echo "git tag GOBJECT_INTROSPECTION_$$TAG"; \
61 git tag -m "Tag $$VERSION" -a \
62 GOBJECT_INTROSPECTION_$$TAG
64 prepare-minor-release: Makefile $(distdir).tar.bz2 prepare-release-tag
65 python $(top_srcdir)/tools/verbump.py
67 upload-release: $(distdir).tar.bz2
68 git log origin/master..master
69 @echo -n "Ok to push? [y/N] "; read ans; test x$$ans == xy || exit 1
70 git push --tags origin master:master
71 scp $(distdir).tar.bz2 gnome.org:
72 ssh gnome.org install-module $(distdir).tar.bz2
75 gtester --verbose $(GTESTER_PROGS)
76 @test ! -d $(top_srcdir)/.git || (test -f .git/hooks/pre-commit || (echo -e "ERROR: missing \
77 pre-commit hook.\n\ncopy misc/pre-commit to .git/hooks"; false))
78 @test ! -d $(top_srcdir)/.git || (test -x .git/hooks/pre-commit || (echo -e "ERROR: pre-commit \
79 is not executable\n\nrun chmod +x .git/hooks/pre-commit"; false))
80 @echo " PEP-8 INQUISITION"
81 @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pep8.py --repeat --exclude=config.py
84 @echo " CHECK Pyflakes"
85 @find $(top_srcdir)/giscanner -name \*.py | sort | uniq | xargs $(PYTHON) $(top_srcdir)/misc/pyflakes.py