]> git.ipfire.org Git - pakfire.git/blobdiff - Makefile.am
Remove shipped version of debugedit
[pakfire.git] / Makefile.am
index bd2546bb56e11ad6b814db7cfb5a442dd19495f5..bf7e42fbd824455e18b6fb4c5fdfbe7b3d96feee 100644 (file)
@@ -31,6 +31,7 @@ AUTOMAKE_OPTIONS = color-tests
 SUBDIRS = . po
 
 libexecdir = $(libdir)/pakfire
+pythondir  = $(pyexecdir)
 
 configsdir = $(sysconfdir)/pakfire
 configsdistrosdir = $(configsdir)/distros
@@ -59,6 +60,10 @@ DISTCHECK_CONFIGURE_FLAGS = \
 
 @INTLTOOL_POLICY_RULE@
 
+.PHONY: update-po
+update-po:
+       $(MAKE) -C po update-po
+
 # ------------------------------------------------------------------------------
 
 dist_doc_DATA = \
@@ -106,6 +111,7 @@ pakfire_PYTHON = \
        src/pakfire/keyring.py \
        src/pakfire/logger.py \
        src/pakfire/lzma.py \
+       src/pakfire/progressbar.py \
        src/pakfire/satsolver.py \
        src/pakfire/server.py \
        src/pakfire/shell.py \
@@ -238,25 +244,6 @@ libpakfire_preload_la_LIBADD = \
 
 # ------------------------------------------------------------------------------
 
-libexec_PROGRAMS += \
-       debugedit
-
-debugedit_SOURCES = \
-       src/debugedit/debugedit.c \
-       src/debugedit/hashtab.c \
-       src/debugedit/hashtab.h \
-       src/debugedit/rpmiotypes.h \
-       src/debugedit/rpmsw.h \
-       src/debugedit/rpmtag.h
-
-debugedit_LDADD = \
-       $(AM_CFLAGS) \
-       $(BEECRYPT_LIBS) \
-       $(ELF_LIBS) \
-       $(POPT_LIBS)
-
-# ------------------------------------------------------------------------------
-
 scripts_SCRIPTS = \
        src/scripts/extract-debuginfo \
        src/scripts/quality-agent
@@ -370,3 +357,15 @@ src/scripts/%: src/scripts/%.in Makefile
 
 src/systemd/%: src/systemd/%.in Makefile
        $(SED_PROCESS)
+
+# - testsuite ------------------------------------------------------------------
+
+TESTS_ENVIRONMENT = \
+       PYTHONPATH="$(top_srcdir)/.libs:$(top_srcdir)/src" \
+       topdir="$(shell pwd)"
+
+dist_check_SCRIPTS = \
+       tests/module-load.py
+
+TESTS = \
+       $(dist_check_SCRTIPS)