~indicator-multiload/indicator-multiload/stable

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
SUBDIRS = src data po

multiloaddocdir = ${datadir}/doc/indicator-multiload
multiloaddoc_DATA = \
	COPYING \
	AUTHORS \
	TODO \
	HACKING

EXTRA_DIST = \
	$(multiloaddoc_DATA) \
	autogen.sh

uninstall-hook:
	-rmdir $(multiloaddocdir)

test-run:
	-rm -rf local-xdg-data-dir
	-mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
	-ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
	-ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
	-glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
	-XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc src/indicator-multiload
	-rm -rf local-xdg-data-dir

test-debug:
	-rm -rf local-xdg-data-dir
	-mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
	-ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
	-ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
	-glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
	-XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc gdb src/indicator-multiload
	-rm -rf local-xdg-data-dir

test-valgrind:
	-rm -rf local-xdg-data-dir
	-mkdir -p local-xdg-data-dir/glib-2.0/schemas local-xdg-data-dir/indicator-multiload
	-ln -s ../../../data/de.mh21.indicator.multiload.gschema.xml local-xdg-data-dir/glib-2.0/schemas
	-ln -s ../../data/preferences.ui local-xdg-data-dir/indicator-multiload
	-glib-compile-schemas local-xdg-data-dir/glib-2.0/schemas
	-XDG_DATA_DIRS=./local-xdg-data-dir:$$XDG_DATA_DIRS G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 --show-reachable=yes --log-file=vgdump src/indicator-multiload
	-rm -rf local-xdg-data-dir