Commit f8cd5a81 authored by Phil Blundell's avatar Phil Blundell

Couple of small makefile changes (from Red Hat)

Bump RELEASE to 1.48.
parent e1396f44
...@@ -87,7 +87,7 @@ RESLIB = # -L/usr/inet6/lib -linet6 ...@@ -87,7 +87,7 @@ RESLIB = # -L/usr/inet6/lib -linet6
# -------- end of user definitions -------- # -------- end of user definitions --------
MAINTAINER = Philip.Blundell@pobox.com MAINTAINER = Philip.Blundell@pobox.com
RELEASE = 981118 RELEASE = 1.48
.EXPORT_ALL_VARIABLES: .EXPORT_ALL_VARIABLES:
...@@ -183,14 +183,14 @@ netstat: $(NET-LIB) netstat.o statistics.o interface.o sockets.o ...@@ -183,14 +183,14 @@ netstat: $(NET-LIB) netstat.o statistics.o interface.o sockets.o
$(CC) $(LDFLAGS) -o netstat netstat.o statistics.o interface.o sockets.o $(NLIB) $(RESLIB) $(CC) $(LDFLAGS) -o netstat netstat.o statistics.o interface.o sockets.o $(NLIB) $(RESLIB)
installbin: installbin:
install -o 0 -g 0 -m 0755 -d ${BASEDIR}/sbin install -m 0755 -d ${BASEDIR}/sbin
install -o 0 -g 0 -m 0755 -d ${BASEDIR}/bin install -m 0755 -d ${BASEDIR}/bin
install -o 0 -g 0 -m 0755 arp ${BASEDIR}/sbin install -m 0755 arp ${BASEDIR}/sbin
install -o 0 -g 0 -m 0755 ifconfig ${BASEDIR}/sbin install -m 0755 ifconfig ${BASEDIR}/sbin
install -o 0 -g 0 -m 0755 netstat ${BASEDIR}/bin install -m 0755 netstat ${BASEDIR}/bin
install -o 0 -g 0 -m 0755 rarp ${BASEDIR}/sbin install -m 0755 rarp ${BASEDIR}/sbin
install -o 0 -g 0 -m 0755 route ${BASEDIR}/sbin install -m 0755 route ${BASEDIR}/sbin
install -o 0 -g 0 -m 0755 hostname ${BASEDIR}/bin install -m 0755 hostname ${BASEDIR}/bin
ln -fs hostname $(BASEDIR)/bin/dnsdomainname ln -fs hostname $(BASEDIR)/bin/dnsdomainname
ln -fs hostname $(BASEDIR)/bin/ypdomainname ln -fs hostname $(BASEDIR)/bin/ypdomainname
ln -fs hostname $(BASEDIR)/bin/nisdomainname ln -fs hostname $(BASEDIR)/bin/nisdomainname
......
...@@ -36,16 +36,17 @@ install: ...@@ -36,16 +36,17 @@ install:
LANGS=`ls -d * | grep -v Makefile` ; \ LANGS=`ls -d * | grep -v Makefile` ; \
for LANG in $$LANGS; do \ for LANG in $$LANGS; do \
cd $$LANG; \ cd $$LANG; \
for SECTION in 1 8; do \ for SECTION in 1 5 8; do \
if [ "$$LANG" = "en_US" ] ; then \ if [ "$$LANG" = "en_US" ] ; then \
MAN_DIR=${BASEDIR}/usr/man/man$$SECTION; \ MAN_DIR=${BASEDIR}/usr/man/man$$SECTION; \
else \ else \
MAN_DIR=${BASEDIR}/usr/man/$$LANG/man$$SECTION; \ MAN_DIR=${BASEDIR}/usr/man/$$LANG/man$$SECTION; \
fi ; \ fi ; \
$(INSTALL) -d -m 755 -o 0 -g 0 $$MAN_DIR; \
CMDS=`ls *.$$SECTION`; \ CMDS=`ls *.$$SECTION`; \
[ -z "$$CMDS" ] && continue; \
$(INSTALL) -d -m 755 $$MAN_DIR; \
for CMD in $$CMDS; do \ for CMD in $$CMDS; do \
$(INSTALL) -m 644 -o 0 -g 0 $$CMD $$MAN_DIR; \ $(INSTALL) -m 644 $$CMD $$MAN_DIR; \
done; \ done; \
done; \ done; \
cd ..; \ cd ..; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment