aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 50ef4faa857ecfa5b9ec29392bf0c7c67236b41a (plain)
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
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = lib doc tinytest tests

if BUILDEXAMPLES
SUBDIRS += examples
endif

.PHONY: dist-rpm

dist-rpm: distcheck
	rpmbuild -ta $(distdir).tar.gz

EXTRA_DIST = \
	m4/*.m4 \
	*.sln \
	test.cfg \
	TODO \
	debian/changelog \
	debian/compat \
	debian/control \
	debian/copyright \
	debian/docs \
	debian/libconfig++9-dev.install \
	debian/libconfig++9.install \
	debian/libconfig9-dev.docs \
	debian/libconfig9-dev.install \
	debian/libconfig9.info \
	debian/libconfig9.install \
	debian/rules \
	debian/shlibs \
	debian/watch \
	libconfig.spec \
	contrib

dist-hook:
	rm -rf `find $(distdir)/contrib -name .svn`

test:
	cd tests && ./libconfig_tests