rename src/ as spot/ and use include <spot/...>

* NEWS: Mention the change.
* src/: Rename as ...
* spot/: ... this, adjust all headers to include <spot/...> instead of
"...", and adjust all Makefile.am to search headers from the top-level
directory.
* HACKING: Add conventions about #include.
* spot/sanity/style.test: Add a few more grep to catch cases
that do not follow these conventions.
* .gitignore, Makefile.am, README, bench/stutter/Makefile.am,
bench/stutter/stutter_invariance_formulas.cc,
bench/stutter/stutter_invariance_randomgraph.cc, configure.ac,
debian/rules, doc/Doxyfile.in, doc/Makefile.am,
doc/org/.dir-locals.el.in, doc/org/g++wrap.in, doc/org/init.el.in,
doc/org/tut01.org, doc/org/tut02.org, doc/org/tut03.org,
doc/org/tut10.org, doc/org/tut20.org, doc/org/tut21.org,
doc/org/tut22.org, doc/org/tut30.org, iface/ltsmin/Makefile.am,
iface/ltsmin/kripke.test, iface/ltsmin/ltsmin.cc,
iface/ltsmin/ltsmin.hh, iface/ltsmin/modelcheck.cc,
wrap/python/Makefile.am, wrap/python/ajax/spotcgi.in,
wrap/python/spot_impl.i, wrap/python/tests/ltl2tgba.py,
wrap/python/tests/randgen.py, wrap/python/tests/run.in: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2015-12-04 19:42:23 +01:00
parent 1fddfe60ec
commit f120dd3206
529 changed files with 1308 additions and 1262 deletions

View file

@ -69,8 +69,8 @@ exceptions.
#+BEGIN_SRC C++ :results verbatim :exports both
#include <iostream>
#include "tl/parse.hh"
#include "tl/print.hh"
#include <spot/tl/parse.hh>
#include <spot/tl/print.hh>
int main()
{
@ -110,8 +110,8 @@ Here is how to call the infix parser explicitly:
#+BEGIN_SRC C++ :results verbatim :exports both
#include <string>
#include <iostream>
#include "tl/parse.hh"
#include "tl/print.hh"
#include <spot/tl/parse.hh>
#include <spot/tl/print.hh>
int main()
{
@ -152,8 +152,8 @@ with the "fixed" formula if you wish. Here is an example:
#+BEGIN_SRC C++ :results verbatim :exports both
#include <string>
#include <iostream>
#include "tl/parse.hh"
#include "tl/print.hh"
#include <spot/tl/parse.hh>
#include <spot/tl/print.hh>
int main()
{
@ -193,8 +193,8 @@ of =parse_infix_psl()=.
#+BEGIN_SRC C++ :results verbatim :exports both
#include <string>
#include <iostream>
#include "tl/parse.hh"
#include "tl/print.hh"
#include <spot/tl/parse.hh>
#include <spot/tl/print.hh>
int main()
{
@ -237,8 +237,8 @@ For instance, let's see what happens if a PSL formulas is passed to
#+BEGIN_SRC C++ :results verbatim :exports both
#include <string>
#include <iostream>
#include "tl/parse.hh"
#include "tl/print.hh"
#include <spot/tl/parse.hh>
#include <spot/tl/print.hh>
int main()
{
@ -267,8 +267,8 @@ The first is to simply diagnose non-LTL formulas.
#+BEGIN_SRC C++ :results verbatim :exports code
#include <string>
#include <iostream>
#include "tl/parse.hh"
#include "tl/print.hh"
#include <spot/tl/parse.hh>
#include <spot/tl/print.hh>
int main()
{
@ -296,9 +296,9 @@ prepared to reject the formula any way. In our example, we are lucky
#+BEGIN_SRC C++ :results verbatim :exports both
#include <string>
#include <iostream>
#include "tl/parse.hh"
#include "tl/print.hh"
#include "tl/simplify.hh"
#include <spot/tl/parse.hh>
#include <spot/tl/print.hh>
#include <spot/tl/simplify.hh>
int main()
{