~online-accounts/libsignon-glib/packaging

105 by Alberto Mardegan
Setup GObject introspection
1
ACLOCAL_AMFLAGS = -I m4
2
DISTCHECK_CONFIGURE_FLAGS = \
3
	--enable-gtk-doc \
113 by Alberto Mardegan
Fixes for "make distcheck"
4
	--enable-introspection=yes
122.1.51 by David King
Make tests optional at configure time
5
SUBDIRS = libsignon-glib docs
1 by Alberto Mardegan
Initial commit
6
122.1.31 by Alberto Mardegan
Workaround for missing PyGObject support for GStrv
7
if ENABLE_PYTHON
8
SUBDIRS += pygobject
9
endif
10
122.1.51 by David King
Make tests optional at configure time
11
if ENABLE_TESTS
12
SUBDIRS += tests
13
endif
14
122.1.94 by Alberto Mardegan
Build: add coverage report
15
include $(top_srcdir)/Makefile.am.coverage
16
1 by Alberto Mardegan
Initial commit
17
pkgconfigdir = $(libdir)/pkgconfig
122.1.40 by David King
Update to recent automake syntax in Makefile.am
18
pkgconfig_in_files = libsignon-glib.pc.in
19
pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
20
21
dist_noinst_DATA = \
105 by Alberto Mardegan
Setup GObject introspection
22
	$(libsignondoc_DATA) \
23
	m4/introspection.m4
122.1.40 by David King
Update to recent automake syntax in Makefile.am
24
122.1.48 by David King
Generate ChangeLog from git during make dist
25
dist-hook: git-changelog-hook
26
27
git-changelog-hook: Makefile
28
	$(AM_V_at)if $(top_srcdir)/build-aux/missing --run git \
29
		--git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) log \
30
		--no-merges --date=short --pretty='tformat:%cd  %an  <%ae>%n%n%s%n%n%b' | \
31
		$(SED) -e '/[^  ]/,/^[  ]*$$/ !d' > .ChangeLog.tmp; \
32
	then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
33
	else rm -f .ChangeLog.tmp; exit 1; fi
34
122.1.40 by David King
Update to recent automake syntax in Makefile.am
35
DISTCLEANFILES = \
36
	$(pkgconfig_DATA)
122.1.48 by David King
Generate ChangeLog from git during make dist
37
38
.PHONY:  git-changelog-hook