SUBDIRS = . plover plover-gtk EXTRA_DIST = zsh.spec zsh2.spec zip.spec zap.spec filesystem.spec zappy.spec \ zappy2.spec unsatisfiable.spec uninstallable.spec badpostun.spec comps.xml \ distribution-local-comps.xml glib.supp.in README xvfb-run pkg_V_rpmbuild = $(pkg_v_rpmbuild_$(V)) pkg_v_rpmbuild_ = $(pkg_v_rpmbuild_$(AM_DEFAULT_VERBOSITY)) pkg_v_rpmbuild_0 = --quiet BUILD_RPM = $(RPMBUILD) $(pkg_V_rpmbuild) --define "_topdir `pwd`/rpmbuild" -bb if HAVE_CHECK_TOOLS noinst_DATA = glib.supp yum-repo-test-dir/repodata/primary.xml.gz \ distribution-local-test-dir/repodata/primary.xml.gz \ razor-test-dir/var/lib/razor/system.rzdb if HAVE_VALGRIND_3_9 %.supp: %.supp.in cat $< > $@ else %.supp: %.supp.in grep -v '^ *match-leak-kinds: ' $< > $@ endif distribution-local-test-dir/repodata/primary.xml.gz: filesystem.spec \ zappy.spec Makefile rm -rf rpmbuild distribution-local-test-dir mkdir -p rpmbuild/BUILD rpmbuild/RPMS $(BUILD_RPM) $(srcdir)/filesystem.spec $(BUILD_RPM) $(srcdir)/zappy.spec mkdir -p distribution-local-test-dir/Packages mv rpmbuild/RPMS/noarch/*.rpm distribution-local-test-dir/Packages rm -rf rpmbuild cp $(srcdir)/distribution-local-comps.xml \ distribution-local-test-dir/comps.xml $(CREATEREPO) --simple-md-filenames -g comps.xml \ distribution-local-test-dir mv distribution-local-test-dir/comps.xml \ distribution-local-test-dir/repodata yum-repo-test-dir/repodata/primary.xml.gz: zsh.spec zsh2.spec zip.spec \ zap.spec filesystem.spec zappy.spec zappy2.spec unsatisfiable.spec \ uninstallable.spec badpostun.spec Makefile rm -rf rpmbuild yum-repo-test-dir mkdir -p rpmbuild/BUILD rpmbuild/RPMS $(BUILD_RPM) $(srcdir)/zap.spec $(BUILD_RPM) --define "_version 1" $(srcdir)/zip.spec $(BUILD_RPM) $(srcdir)/zsh.spec $(BUILD_RPM) $(srcdir)/zsh2.spec $(BUILD_RPM) $(srcdir)/filesystem.spec $(BUILD_RPM) $(srcdir)/zappy.spec $(BUILD_RPM) $(srcdir)/zappy2.spec $(BUILD_RPM) $(srcdir)/unsatisfiable.spec $(BUILD_RPM) $(srcdir)/uninstallable.spec $(BUILD_RPM) $(srcdir)/badpostun.spec mkdir -p yum-repo-test-dir/Packages mv rpmbuild/RPMS/noarch/*.rpm yum-repo-test-dir/Packages rm -rf rpmbuild cp $(srcdir)/comps.xml yum-repo-test-dir $(CREATEREPO) --simple-md-filenames -g comps.xml yum-repo-test-dir mv yum-repo-test-dir/comps.xml yum-repo-test-dir/repodata razor-test-dir/var/lib/razor/system.rzdb: yum-repo-test-dir/repodata/primary.xml.gz $(RM) -r razor-test-dir $(RAZOR) --root=file:razor-test-dir init $(RAZOR) --url=file://localhost`pwd`/yum-repo-test-dir \ --root=file:razor-test-dir import-yum $(RAZOR) --url=file://localhost`pwd`/yum-repo-test-dir \ --root=file:razor-test-dir install zap zappy zappy2 zappy-tools endif check-valgrind: $(RM) test-suite-*.log -(cd plover && $(MAKE) $(AM_MAKEFLAGS) check-valgrind) -(cd plover-gtk && $(MAKE) $(AM_MAKEFLAGS) check-valgrind) @for infile in plover/test-suite-*.log plover-gtk/test-suite-*.log; do \ outfile=`echo $$infile | sed -e 's:.*/::'`; \ cat $$infile >> $$outfile; \ done clean-local: rm -rf yum-repo-test-dir distribution-local-test-dir razor-test-dir rm -f rawhide.rzdb CLEANFILES = glib.supp