aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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