]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/Makefile.am
merge controllers/Makefile.am and controllers/tests/Makefile.am
[features.git] / src / frontends / controllers / Makefile.am
index 5d3c1f8e90d65d585b4cb4917636386a56d7ffc3..ebb42d13f0679a64bcea4ce339b18e1594aa9e4f 100644 (file)
@@ -1,7 +1,5 @@
 include $(top_srcdir)/config/common.am
 
-SUBDIRS = tests
-
 EXTRA_DIST = pch.h BCView.tmpl
 
 BUILT_SOURCES = $(PCH_FILE)
@@ -95,3 +93,24 @@ liblyxcontrollers_la_SOURCES= \
        ControlWrap.h \
        frontend_helpers.cpp \
        frontend_helpers.h
+
+
+################################# Tests ################################
+
+EXTRA_DIST += 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