aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2001-02-10 08:38:30 +0000
committerFlorian La Roche <laroche@redhat.com>2001-02-10 08:38:30 +0000
commit7b633e2ac3e12e4c96d91089c81c120cb6aa9642 (patch)
treef469ca427e1634e3574ba29c026907c08cc3bfa9 /Makefile
parentc8d833dfceddb2d50139221e8b216415397a859c (diff)
downloadinitscripts-7b633e2ac3e12e4c96d91089c81c120cb6aa9642.tar
initscripts-7b633e2ac3e12e4c96d91089c81c120cb6aa9642.tar.gz
initscripts-7b633e2ac3e12e4c96d91089c81c120cb6aa9642.tar.bz2
initscripts-7b633e2ac3e12e4c96d91089c81c120cb6aa9642.tar.xz
initscripts-7b633e2ac3e12e4c96d91089c81c120cb6aa9642.zip
add all changes for s390 that don't change anything for the other
architectures
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cd6f5486..69d36425 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,9 @@ install:
mkdir -p $(ROOT)/etc/profile.d $(ROOT)/sbin $(ROOT)/usr/sbin
mkdir -p $(ROOT)$(mandir)/man8
install -m644 inittab $(ROOT)/etc
+ if uname -m | grep -q s390 ; then \
+ install -m644 inittab.s390 $(ROOT)/etc/inittab ; \
+ fi
install -m644 adjtime $(ROOT)/etc
install -m755 setsysfont $(ROOT)/sbin
install -m755 lang.sh $(ROOT)/etc/profile.d
@@ -21,11 +24,11 @@ install:
install -m755 service $(ROOT)/sbin
install -m755 sys-unconfig $(ROOT)/usr/sbin
install -m644 sys-unconfig.8 $(ROOT)$(mandir)/man8
- ( if uname -m | grep -q sparc ; then \
- install -m644 sysctl.conf.sparc $(ROOT)/etc/sysctl.conf ; \
- else \
- install -m644 sysctl.conf $(ROOT)/etc/sysctl.conf ; \
- fi )
+ install -m644 sysctl.conf $(ROOT)/etc/sysctl.conf
+ if uname -m | grep -q sparc ; then \
+ install -m644 sysctl.conf.sparc $(ROOT)/etc/sysctl.conf ; fi
+ if uname -m | grep -q s390 ; then \
+ install -m644 sysctl.conf.s390 $(ROOT)/etc/sysctl.conf ; fi
mkdir -p $(ROOT)/etc/X11
install -m755 prefdm $(ROOT)/etc/X11/prefdm
mkdir -p $(ROOT)/etc/sysconfig
@@ -33,6 +36,9 @@ install:
install -m644 sysconfig/init $(ROOT)/etc/sysconfig/init
install -m644 sysconfig/rawdevices $(ROOT)/etc/sysconfig/rawdevices
cp -af rc.d sysconfig ppp $(ROOT)/etc
+ if uname -m | grep -q s390 ; then \
+ install -m644 sysconfig/init.s390 $(ROOT)/etc/sysconfig/init ; \
+ fi
mkdir -p $(ROOT)/sbin
mv $(ROOT)/etc/sysconfig/network-scripts/ifup $(ROOT)/sbin
mv $(ROOT)/etc/sysconfig/network-scripts/ifdown $(ROOT)/sbin