File: Makefile.am

package info (click to toggle)
libchamplain 0.12.9-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,264 kB
  • ctags: 3,353
  • sloc: ansic: 16,562; sh: 11,332; makefile: 420; python: 244; xml: 211
file content (45 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SUBDIRS = build champlain

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

pcfiles = champlain-@CHAMPLAIN_API_VERSION@.pc
other_pcfiles = champlain-@CHAMPLAIN_API_VERSION@-uninstalled.pc

if ENABLE_GTK
SUBDIRS += champlain-gtk
pcfiles += champlain-gtk-@CHAMPLAIN_API_VERSION@.pc
other_pcfiles += champlain-gtk-@CHAMPLAIN_API_VERSION@-uninstalled.pc
endif

pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig

DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-gtk --enable-introspection --enable-vala-demos --disable-memphis

EXTRA_DIST = \
	champlain-gtk.pc.in \
	champlain-gtk-uninstalled.pc.in \
	champlain.pc.in \
	champlain-uninstalled.pc.in

DISTCLEANFILES = $(pcfiles) $(other_pcfiles)

all: $(other_pcfiles)

# Have the demos build at the end as they depend on optional parts
SUBDIRS += docs demos

dist-hook:
	@if test -d "$(srcdir)/.git"; \
	then \
		echo Creating ChangeLog && \
		( cd "$(top_srcdir)" && \
		  echo '# Generated by Makefile. Do not edit.'; echo; \
		  $(top_srcdir)/missing --run git log --pretty=medium ) > ChangeLog.tmp \
		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
		|| ( rm -f ChangeLog.tmp ; \
		     echo Failed to generate ChangeLog >&2 ); \
	else \
		echo A git clone is required to generate a ChangeLog >&2; \
	fi