Add a sanity check for installed private headers.

If an installed header has an associated *.cc file (in the source
tree), but does not declare any SPOT_API symbol, something is fishy.
Either that header should not be installed, or it is missing the
SPOT_API markers.

* src/sanity/private.test: New test.
* src/sanity/Makefile.am: Call it.
* src/ltlast/Makefile.am: Do not install formula_tree.hh.
* src/ltlvisit/Makefile.am: Do not install mark.hh.
* src/tgbaalgos/Makefile.am: Do not intall weight.hh.
This commit is contained in:
Alexandre Duret-Lutz 2013-06-28 23:45:25 +02:00
parent cfbd31384f
commit aeca44e0b1
5 changed files with 49 additions and 8 deletions

View file

@ -68,8 +68,7 @@ tgbaalgos_HEADERS = \
tau03.hh \
tau03opt.hh \
translate.hh \
reductgba_sim.hh \
weight.hh
reductgba_sim.hh
noinst_LTLIBRARIES = libtgbaalgos.la
libtgbaalgos_la_SOURCES = \
@ -114,6 +113,7 @@ libtgbaalgos_la_SOURCES = \
tau03opt.cc \
translate.cc \
reductgba_sim.cc \
weight.cc
weight.cc \
weight.hh
libtgbaalgos_la_LIBADD = gtec/libgtec.la