Jeongik Cha | 1199caa | 2021-07-20 12:32:58 +0900 | [diff] [blame] | 1 | |
| 2 | ACLOCAL_AMFLAGS = -I m4 |
| 3 | |
| 4 | SUBDIRS = lib |
| 5 | |
| 6 | if BUILDDOC |
| 7 | SUBDIRS += doc |
| 8 | endif |
| 9 | |
| 10 | if BUILDEXAMPLES |
| 11 | SUBDIRS += examples |
| 12 | endif |
| 13 | |
| 14 | if BUILDTESTS |
| 15 | SUBDIRS += tinytest tests |
| 16 | endif |
| 17 | |
| 18 | .PHONY: dist-rpm |
| 19 | |
| 20 | dist-rpm: distcheck |
| 21 | rpmbuild -ta $(distdir).tar.gz |
| 22 | |
| 23 | EXTRA_DIST = \ |
| 24 | m4/*.m4 \ |
| 25 | *.sln \ |
| 26 | test.cfg \ |
| 27 | TODO \ |
| 28 | debian/changelog \ |
| 29 | debian/compat \ |
| 30 | debian/control \ |
| 31 | debian/copyright \ |
| 32 | debian/docs \ |
| 33 | debian/libconfig++9-dev.install \ |
| 34 | debian/libconfig++9.install \ |
| 35 | debian/libconfig9-dev.docs \ |
| 36 | debian/libconfig9-dev.install \ |
| 37 | debian/libconfig9.info \ |
| 38 | debian/libconfig9.install \ |
| 39 | debian/rules \ |
| 40 | debian/shlibs \ |
| 41 | debian/watch \ |
| 42 | libconfig.spec \ |
| 43 | contrib |
| 44 | |
| 45 | dist-hook: |
| 46 | rm -rf `find $(distdir)/contrib -name .svn` |
| 47 | |
| 48 | test: |
| 49 | cd tests && ./libconfig_tests |