File: Makefile.am

package info (click to toggle)
libchamplain 0.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,680 kB
  • ctags: 2,295
  • sloc: ansic: 15,212; sh: 10,205; perl: 2,324; makefile: 647; python: 450; xml: 18; cs: 16
file content (34 lines) | stat: -rw-r--r-- 972 bytes parent folder | download
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
SUBDIRS = tidy champlain

ACLOCAL_AMFLAGS = -I m4

pcfiles = champlain-@API_VERSION@.pc
other_pcfiles = champlain-@API_VERSION@-uninstalled.pc
champlain-@API_VERSION@.pc: champlain.pc
	@cp -f $< $@
champlain-@API_VERSION@-uninstalled.pc: champlain-uninstalled.pc
	@cp -f $< $@

if ENABLE_GTK
SUBDIRS += champlain-gtk
pcfiles += champlain-gtk-@API_VERSION@.pc
champlain-gtk-@API_VERSION@.pc: champlain-gtk.pc
	@cp -f $< $@
other_pcfiles += champlain-gtk-@API_VERSION@-uninstalled.pc
champlain-gtk-@API_VERSION@-uninstalled.pc: champlain-gtk-uninstalled.pc
	@cp -f $< $@
endif

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

DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-python --enable-vala --enable-introspection --enable-gtk

CLEANFILES = $(pcfiles) $(other_pcfiles)
all: $(other_pcfiles)

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

ChangeLog: Makefile.am
	git log --pretty=short > ChangeLog