aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-06 14:24:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-06 14:24:46 +0000
commitafa5975c1ec5bea51aa766d12cff13ec128d63ae (patch)
treeab0edc1671541ef04fcbc2bf71331a05ab69173f /Makefile.am
parentd751fd623bab6ee7e9bbb1ba89ee862db70c2af2 (diff)
downloadrpm-setup-afa5975c1ec5bea51aa766d12cff13ec128d63ae.tar
rpm-setup-afa5975c1ec5bea51aa766d12cff13ec128d63ae.tar.gz
rpm-setup-afa5975c1ec5bea51aa766d12cff13ec128d63ae.tar.bz2
rpm-setup-afa5975c1ec5bea51aa766d12cff13ec128d63ae.tar.xz
rpm-setup-afa5975c1ec5bea51aa766d12cff13ec128d63ae.zip
revert %_host_cpu32 and create /etc/rpm/platform32 instead
(cf patch rpm-4.4.8-use-etc-platform32-when-linux32.patch in rpm)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 808e6bb..4ff89e6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,7 +12,8 @@ pkg_gdata = \
pkg_data_in = $(pkg_gdata:=.in)
pkg_gconfig = \
- platform
+ platform \
+ $(if $(CANONTARGETCPU32), platform32, )
pkg_scripts = \
brp-compress \
@@ -41,8 +42,6 @@ pkg_scripts_in = $(pkg_gscripts:=.in)
BUILT_SOURCES = macros-perarch make_macrosfiles.sh rpmgenplatform
-HOST_CPU32_MACRO = $(if $(CANONTARGETCPU32),%_host_cpu32 $(CANONTARGETCPU32),\#%_host_cpu32)
-
pkglibdir = @RPMVENDORDIR@
noinst_PROGRAMS = rpmeval
@@ -81,7 +80,6 @@ edit = sed \
-e 's,@RPMSYSCONFDIR\@,$(RPMSYSCONFDIR),g'\
-e 's,@RPMOS\@,$(RPMOS),g' \
-e 's,@CANONTARGETCPU\@,$(CANONTARGETCPU),g' \
- -e 's,@HOST_CPU32_MACRO\@,$(HOST_CPU32_MACRO),g' \
-e 's,@RPMALLARCH\@,$(RPMALLARCH),g'
%: %.in Makefile
@@ -94,6 +92,9 @@ edit = sed \
platform: rpmgenplatform Makefile
perl rpmgenplatform $(CANONTARGETCPU) > $@
+platform32: rpmgenplatform Makefile
+ perl rpmgenplatform $(CANONTARGETCPU32) > $@
+
install-data-local: $(macrosfiles) $(pkg_gconfig)
for i in $(RPMALLARCH); do \
$(mkinstalldirs) $(DESTDIR)$(RPMVENDORDIR)/$${i}-$(RPMOS); \