File: Makefile.am

package info (click to toggle)
click 0.5.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,372 kB
  • sloc: python: 7,135; ansic: 857; makefile: 441; sh: 236; perl: 26; xml: 11
file content (33 lines) | stat: -rw-r--r-- 887 bytes parent folder | download | duplicates (2)
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
SUBDIRS = integration

NULL =

noinst_DATA = preload.gir
CLEANFILES = $(noinst_DATA)

preload.gir: preload.h
	PKG_CONFIG_PATH=$(top_builddir)/lib/click g-ir-scanner \
		-n preload --nsversion 0 -l c \
		--pkg glib-2.0 --pkg gee-0.8 --pkg json-glib-1.0 \
		--pkg click-0.4 \
		-I$(top_builddir)/lib/click -L$(top_builddir)/lib/click \
		--accept-unprefixed --warn-all \
		--libtool "$(LIBTOOL)" \
		$< --output $@

noinst_SCRIPTS = test_database.py \
                 test_paths.py \
                 $(NULL)
CLEANFILES += $(noinst_SCRIPTS)

do_subst = sed \
	-e 's,[@]sysconfdir[@],$(sysconfdir),g' \
	-e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \
	-e 's,[@]DEFAULT_ROOT[@],$(DEFAULT_ROOT),g' \
	$(NULL)

test_database.py: test_database.py.in Makefile
	$(do_subst) < $(srcdir)/test_database.py.in > $@

test_paths.py: test_paths.py.in Makefile
	$(do_subst) < $(srcdir)/test_paths.py.in > $@