diff -r 000000000000 -r 48b0adfe3059 test/Makefile.am --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/Makefile.am Thu Jan 22 22:54:45 2009 +0000 @@ -0,0 +1,30 @@ +## Process this file with automake to produce Makefile.in + +check_SCRIPTS = relocate + +relocate: relocate.sh primary.xml.gz + cp $(srcdir)/relocate.sh relocate + +primary.xml.gz: zsh.spec zip.spec zap.spec Makefile + rm -rf rpmbuild rpms repodata + mkdir -p rpmbuild/BUILD rpmbuild/RPMS + rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zap.spec + rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zip.spec + rpmbuild --define "_topdir `pwd`/rpmbuild" -bb $(srcdir)/zsh.spec + mkdir rpms + mv rpmbuild/RPMS/noarch/*.rpm rpms + rm -rf rpmbuild + createrepo -o . rpms + cp repodata/primary.xml.gz repodata/filelists.xml.gz . + +TESTS = $(check_SCRIPTS) + +EXTRA_DIST = \ + zap.spec \ + zip.spec \ + zsh.spec \ + relocate.sh + +clean-local : + rm -f *~ +