From 456524da4536c512af624934d7f52d2c10d71e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Sun, 7 Oct 2007 09:59:28 +0000 Subject: [PATCH] shuffle stuff arond git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20810 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/Makefile.am | 20 ++++++++++++++++++ src/frontends/controllers/Makefile.am | 21 ------------------- .../{controllers => }/tests/biblio.cpp | 0 .../{controllers => }/tests/boost.cpp | 0 .../{controllers => }/tests/regfiles/biblio | 0 .../{controllers => }/tests/test_biblio | 0 6 files changed, 20 insertions(+), 21 deletions(-) rename src/frontends/{controllers => }/tests/biblio.cpp (100%) rename src/frontends/{controllers => }/tests/boost.cpp (100%) rename src/frontends/{controllers => }/tests/regfiles/biblio (100%) rename src/frontends/{controllers => }/tests/test_biblio (100%) diff --git a/src/frontends/Makefile.am b/src/frontends/Makefile.am index c9dbfa3c48..4387df5853 100644 --- a/src/frontends/Makefile.am +++ b/src/frontends/Makefile.am @@ -39,3 +39,23 @@ liblyxfrontends_la_SOURCES = \ WorkAreaManager.cpp \ WorkAreaManager.h \ mouse_state.h + +################################# Tests ################################ + +EXTRA_DIST += tests/test_biblio + +TESTS = \ + test_biblio + +check_PROGRAMS = \ + biblio + +biblio_LDADD = $(BOOST_REGEX) +biblio_SOURCES = \ + tests/biblio.cpp \ + tests/boost.cpp + +makeregfiles: ${check_PROGRAMS} + for all in ${check_PROGRAMS} ; do \ + ./$$all > ${srcdir}/regfiles/$$all ; \ + done diff --git a/src/frontends/controllers/Makefile.am b/src/frontends/controllers/Makefile.am index e2274e2941..b6f82d0e65 100644 --- a/src/frontends/controllers/Makefile.am +++ b/src/frontends/controllers/Makefile.am @@ -42,24 +42,3 @@ AM_CPPFLAGS += $(PCH_FLAGS) liblyxcontrollers_la_SOURCES = $(SOURCEFILES) $(HEADERFILES) endif - - -################################# Tests ################################ - -EXTRA_DIST += tests/test_biblio - -TESTS = \ - test_biblio - -check_PROGRAMS = \ - biblio - -biblio_LDADD = $(BOOST_REGEX) -biblio_SOURCES = \ - tests/biblio.cpp \ - tests/boost.cpp - -makeregfiles: ${check_PROGRAMS} - for all in ${check_PROGRAMS} ; do \ - ./$$all > ${srcdir}/regfiles/$$all ; \ - done diff --git a/src/frontends/controllers/tests/biblio.cpp b/src/frontends/tests/biblio.cpp similarity index 100% rename from src/frontends/controllers/tests/biblio.cpp rename to src/frontends/tests/biblio.cpp diff --git a/src/frontends/controllers/tests/boost.cpp b/src/frontends/tests/boost.cpp similarity index 100% rename from src/frontends/controllers/tests/boost.cpp rename to src/frontends/tests/boost.cpp diff --git a/src/frontends/controllers/tests/regfiles/biblio b/src/frontends/tests/regfiles/biblio similarity index 100% rename from src/frontends/controllers/tests/regfiles/biblio rename to src/frontends/tests/regfiles/biblio diff --git a/src/frontends/controllers/tests/test_biblio b/src/frontends/tests/test_biblio similarity index 100% rename from src/frontends/controllers/tests/test_biblio rename to src/frontends/tests/test_biblio