aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3a4270b..a7dd254 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,6 +38,12 @@ BUILT_SOURCES = macros-perarch make_macrosfiles.sh
pkglibdir = @RPMVENDORDIR@
+bin_PROGRAMS = rpmeval
+
+rpmeval_SOURCES = rpmeval.c
+
+rpmeval_LDFLAGS = -lrpm
+
pkglib_DATA = \
$(pkg_data) \
$(pkg_gdata)
@@ -75,12 +81,15 @@ install-data-local: $(macrosfiles)
$(install_sh_DATA) $${i}.macros $(DESTDIR)$(RPMVENDORDIR)/$${i}-$(RPMOS)/macros; \
done
-.PHONY: ChangeLog
+.PHONY: ChangeLog test
ChangeLog:
LC_ALL=C svn2cl --accum
rm -f *.bak
+test: $(pkg_gdata) $(pkg_gscripts) $(macrosfiles)
+ sh tests.sh
+
CLEANFILES = $(pkg_gdata) $(pkg_gscripts) $(macrosfiles) \
macros-perarch \
make_macrosfiles.sh