1
SUBDIRS = tidy champlain docs/reference
2
3
ACLOCAL_AMFLAGS = -I m4
4
5
pcfiles = champlain-@API_VERSION@.pc
6
other_pcfiles = champlain-@API_VERSION@-uninstalled.pc
7
champlain-@API_VERSION@.pc: champlain.pc
8
	@cp -f $< $@
9
champlain-@API_VERSION@-uninstalled.pc: champlain-uninstalled.pc
10
	@cp -f $< $@
11
12
if ENABLE_GTK
13
SUBDIRS += champlain-gtk docs/reference-gtk
14
pcfiles += champlain-gtk-@API_VERSION@.pc
15
champlain-gtk-@API_VERSION@.pc: champlain-gtk.pc
16
	@cp -f $< $@
17
other_pcfiles += champlain-gtk-@API_VERSION@-uninstalled.pc
18
champlain-gtk-@API_VERSION@-uninstalled.pc: champlain-gtk-uninstalled.pc
19
	@cp -f $< $@
20
endif
21
22
pkgconfig_DATA = $(pcfiles)
23
pkgconfigdir = $(libdir)/pkgconfig
24
25
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-python
26
27
CLEANFILES = $(pcfiles) $(other_pcfiles)
28
all: $(other_pcfiles)
29
30
# Have the demos build at the end as they depend on optional parts
31
SUBDIRS += demos bindings
32
33
ChangeLog: Makefile.am
34
	git log --pretty=short > ChangeLog