aboutsummaryrefslogtreecommitdiff
path: root/python/Makefile.am
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-08 20:27:48 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-08 20:27:48 +0000
commit61795d66c7229ab282d5ed0339b013efeab2f1ce (patch)
tree4dff0b37f983d635e5ee1082461a36303efefc93 /python/Makefile.am
parent1bdf09699a222f8c97163ef6fd75a16533abf578 (diff)
downloadpaludis-61795d66c7229ab282d5ed0339b013efeab2f1ce.tar.gz
paludis-61795d66c7229ab282d5ed0339b013efeab2f1ce.tar.xz
(python) Add Formatters.
Diffstat (limited to 'python/Makefile.am')
-rw-r--r--python/Makefile.am15
1 files changed, 14 insertions, 1 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 45b9d2322..e11cf1ead 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -38,7 +38,8 @@ IF_PYTHON_TESTS = \
metadata_key_TEST.py \
mask_TEST.py \
package_id_TEST.py \
- dep_list_TEST.py
+ dep_list_TEST.py \
+ formatter_TEST.py
IF_PYTHON_QA_TESTS = \
qa_TEST.py
@@ -55,11 +56,13 @@ IF_PYTHON_SOURCES = \
dep_tag.cc \
environment.cc \
exception.hh exception.cc \
+ formatter.cc \
fs_entry.cc \
mask.cc \
metadata_key.cc \
mutex.hh mutex.cc \
name.cc \
+ nice_names-nn.hh nice_names-nn.cc \
log.cc \
package_database.cc \
package_id.cc \
@@ -69,6 +72,9 @@ IF_PYTHON_SOURCES = \
version_requirements.cc \
version_spec.cc
+BUILT_SOURCES = \
+ nice_names-nn.hh nice_names-nn.cc
+
IF_PYTHON_QA_SOURCES = \
qa.cc
@@ -80,6 +86,7 @@ EXTRA_DIST = $(IF_PYTHON_TESTS) $(IF_PYTHON_SOURCES) \
environment_TEST_setup.sh environment_TEST_cleanup.sh \
mask_TEST_setup.sh mask_TEST_cleanup.sh \
metadata_key_TEST_setup.sh metadata_key_TEST_cleanup.sh \
+ nice_names.nn \
package_database_TEST_setup.sh package_database_TEST_cleanup.sh \
package_id_TEST_setup.sh package_id_TEST_cleanup.sh \
query_TEST_setup.sh query_TEST_cleanup.sh \
@@ -149,6 +156,12 @@ TESTS = $(IF_PYTHON_TESTS)
endif
+nice_names-nn.hh : nice_names.nn $(top_srcdir)/misc/make_nn.bash
+ if ! $(top_srcdir)/misc/make_nn.bash --header $(srcdir)/nice_names.nn > $@ ; then rm -f $@ ; exit 1 ; fi
+
+nice_names-nn.cc : nice_names.nn $(top_srcdir)/misc/make_nn.bash
+ if ! $(top_srcdir)/misc/make_nn.bash --source $(srcdir)/nice_names.nn > $@ ; then rm -f $@ ; exit 1 ; fi
+
libpaludispython_la_LIBADD = \
$(top_builddir)/paludis/libpaludis.la \
$(top_builddir)/paludis/util/libpaludisutil.la \