summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-22 18:00:10 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-22 18:10:23 +0200
commitf0d61e42cf69164dca0d20e48caf1643616db2f2 (patch)
tree8d4d2a6cde9fc54da83c4e99fc872d16f8dee33d /tests
parenta15a475a409e4f929736d28af10bb55b5dfee17c (diff)
downloadlibrpm-tizen-f0d61e42cf69164dca0d20e48caf1643616db2f2.tar.gz
librpm-tizen-f0d61e42cf69164dca0d20e48caf1643616db2f2.tar.bz2
librpm-tizen-f0d61e42cf69164dca0d20e48caf1643616db2f2.zip
Remove RPMCONFIGDIR sedding from Makefiles where no longer necessary
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am40
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 212f7352d..6adf6dfb5 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -70,54 +70,14 @@ atlocal: atlocal.in Makefile
DISTCLEANFILES = atlocal
EXTRA_DIST += atlocal.in
-## Create a customized rpmrc
-rpmrc: $(top_srcdir)/rpmrc.in
- @sed \
- -e "s,[@]RPMCONFIGDIR[@],`pwd`/testing$(rpmconfigdir),g" \
- -e "s,[@]SYSCONFIGDIR[@],`pwd`/testing$(sysconfdir)/rpm,g" \
- -e "s,:~/.rpmmacros,," \
- < $(top_srcdir)/rpmrc.in > rpmrc.tmp \
- && ( cd $(top_builddir) && ./config.status --file=${subdir}/rpmrc:${subdir}/rpmrc.tmp )
-CLEANFILES += rpmrc rpmrc.tmp
-
-## Create a customized macros
-macros.in: $(top_srcdir)/macros.in Makefile
- @sed \
- -e "s,[@]RPMCONFIGDIR[@],`pwd`/testing$(rpmconfigdir),g" \
- < $(top_srcdir)/macros.in > macros.in
-CLEANFILES += macros.in
-
-
-## Create a customized rpmpopt
-rpmpopt.in: $(top_srcdir)/rpmpopt.in Makefile
- @sed \
- -e "s,[@]RPMCONFIGDIR[@],`pwd`/testing$(rpmconfigdir),g" \
- < $(top_srcdir)/rpmpopt.in > rpmpopt.in
-CLEANFILES += rpmpopt.in
-
-
# Hack: Abusing testing$(bindir)/rpmbuild as stamp file
testing$(bindir)/rpmbuild: ../rpmbuild
rm -rf testing
(cd ${top_builddir} && \
$(MAKE) DESTDIR=`pwd`/${subdir}/testing install)
-testing$(rpmconfigdir)/rpmrc: rpmrc testing$(bindir)/rpmbuild
- $(INSTALL_DATA) rpmrc testing$(rpmconfigdir)/rpmrc
-
-testing$(rpmconfigdir)/macros: macros.in testing$(bindir)/rpmbuild
- (cd ${top_builddir} && \
- ./config.status --file=${subdir}/testing$(rpmconfigdir)/macros:${subdir}/macros.in)
-
-testing$(rpmconfigdir)/rpmpopt-@VERSION@: rpmpopt.in testing$(bindir)/rpmbuild
- (cd ${top_builddir} && \
- ./config.status --file=${subdir}/testing$(rpmconfigdir)/rpmpopt-@VERSION@:${subdir}/rpmpopt.in)
-
check_DATA = atconfig atlocal $(TESTSUITE)
check_DATA += testing$(bindir)/rpmbuild
-check_DATA += testing$(rpmconfigdir)/rpmrc
-check_DATA += testing$(rpmconfigdir)/macros
-check_DATA += testing$(rpmconfigdir)/rpmpopt-@VERSION@
check-local: $(check_DATA)
$(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS) ||: