summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-25 09:18:51 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-25 09:40:04 +0300
commitcb17fb722c9576502378cd79e21517819db2cdc4 (patch)
treea71b5a14b51296d8ba51fd9e38fcc5a201114e1c /Makefile.am
parent600c98615426cf2e5a606e51b447250cd3be9c71 (diff)
downloadlibrpm-tizen-cb17fb722c9576502378cd79e21517819db2cdc4.tar.gz
librpm-tizen-cb17fb722c9576502378cd79e21517819db2cdc4.tar.bz2
librpm-tizen-cb17fb722c9576502378cd79e21517819db2cdc4.zip
Eliminate rpmd, rpmi, rpmk, rpmq "helper binaries"
- it's all rolled into "rpm" itself, these are just clutter and complicate things needlessly - leave symlinks to rpmquery, rpmverify, rpmsign and rpmdb -> rpm to preserve some compatibility (at least rpmquery is known to be used in scripts)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am49
1 files changed, 6 insertions, 43 deletions
diff --git a/Makefile.am b/Makefile.am
index 3998fedfc..0cba0c407 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,7 +82,7 @@ rpmbin_PROGRAMS = rpm
bin_PROGRAMS = rpm2cpio rpmbuild
-rpmlibexec_PROGRAMS = rpmd rpmi rpmk rpmq
+rpmlibexec_PROGRAMS =
rpmconfig_SCRIPTS = find-provides find-requires mkinstalldirs \
config.guess config.sub
DISTCLEANFILES = find-provides
@@ -98,26 +98,6 @@ rpmbuild_CPPFLAGS = $(AM_CPPFLAGS) -DIAM_RPMBT
rpmbuild_LDADD = build/librpmbuild.la lib/librpm.la rpmio/librpmio.la
rpmbuild_LDADD += @WITH_LIBELF_LIB@ @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@
-rpmd_SOURCES = rpmqv.c debug.h system.h
-rpmd_CPPFLAGS = $(AM_CPPFLAGS) -DIAM_RPMDB
-rpmd_LDADD = lib/librpm.la rpmio/librpmio.la
-rpmd_LDADD += @WITH_LIBELF_LIB@ @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@
-
-rpmi_SOURCES = rpmqv.c debug.h system.h
-rpmi_CPPFLAGS = $(AM_CPPFLAGS) -DIAM_RPMEIU
-rpmi_LDADD = lib/librpm.la rpmio/librpmio.la
-rpmi_LDADD += @WITH_LIBELF_LIB@ @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@
-
-rpmk_SOURCES = rpmqv.c debug.h system.h
-rpmk_CPPFLAGS = $(AM_CPPFLAGS) -DIAM_RPMK
-rpmk_LDADD = lib/librpm.la rpmio/librpmio.la
-rpmk_LDADD += @WITH_LIBELF_LIB@ @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@
-
-rpmq_SOURCES = rpmqv.c debug.h system.h
-rpmq_CPPFLAGS = $(AM_CPPFLAGS) -DIAM_RPMQV
-rpmq_LDADD = build/librpmbuild.la lib/librpm.la rpmio/librpmio.la
-rpmq_LDADD += @WITH_LIBELF_LIB@ @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@
-
rpm2cpio_SOURCES = rpm2cpio.c debug.h system.h
rpm2cpio_LDADD = lib/librpm.la rpmio/librpmio.la
rpm2cpio_LDADD += @WITH_LIBELF_LIB@ @WITH_NSS_LIB@ @WITH_POPT_LIB@ @WITH_ZLIB_LIB@
@@ -219,24 +199,14 @@ rpmvardir = $(localstatedir)/lib/rpm
rpmvar_DATA =
install-exec-hook:
- @rm -f $(DESTDIR)$(rpmlibexecdir)/rpme
- @@LN_S@ rpmi $(DESTDIR)$(rpmlibexecdir)/rpme
- @rm -f $(DESTDIR)$(rpmlibexecdir)/rpmu
- @@LN_S@ rpmi $(DESTDIR)$(rpmlibexecdir)/rpmu
- @rm -f $(DESTDIR)$(rpmlibexecdir)/rpmv
- @@LN_S@ rpmq $(DESTDIR)$(rpmlibexecdir)/rpmv
rm -f $(DESTDIR)$(bindir)/rpmquery
- @LN_S@ ../lib/rpm/rpmq $(DESTDIR)$(bindir)/rpmquery
+ @LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmquery
rm -f $(DESTDIR)$(bindir)/rpmverify
- @LN_S@ ../lib/rpm/rpmv $(DESTDIR)$(bindir)/rpmverify
+ @LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmverify
rm -f $(DESTDIR)$(bindir)/rpmsign
- @LN_S@ ../lib/rpm/rpmk $(DESTDIR)$(bindir)/rpmsign
- rm -f $(DESTDIR)$(bindir)/rpmdb ; \
- @LN_S@ ../lib/rpm/rpmd $(DESTDIR)$(bindir)/rpmdb ; \
- for bf in e i u ; do \
- rm -f $(DESTDIR)$(bindir)/rpm$$bf ; \
- @LN_S@ ../lib/rpm/rpm$$bf $(DESTDIR)$(bindir)/rpm$$bf ; \
- done
+ @LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmsign
+ rm -f $(DESTDIR)$(bindir)/rpmdb
+ @LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmdb
install-data-local:
@case "@host_os@" in \
@@ -247,17 +217,10 @@ install-data-local:
# XXX to appease distcheck we need to remove "stuff" here...
uninstall-local:
- @rm -rf $(DESTDIR)/$(rpmconfigdir)/platform
- @rm -f $(DESTDIR)$(rpmlibexecdir)/rpmu
- @rm -f $(DESTDIR)$(rpmlibexecdir)/rpme
- @rm -f $(DESTDIR)$(rpmlibexecdir)/rpmv
@rm -f $(DESTDIR)$(bindir)/rpmquery
- @rm -f $(DESTDIR)$(bindir)/rpmu
@rm -f $(DESTDIR)$(bindir)/rpmsign
- @rm -f $(DESTDIR)$(bindir)/rpme
@rm -f $(DESTDIR)$(bindir)/rpmverify
@rm -f $(DESTDIR)$(bindir)/rpmdb
- @rm -f $(DESTDIR)$(bindir)/rpmi
MAINTAINERCLEANFILES = ChangeLog