Toss the mkaliases script into the attic and remove its install
target from the Makefile. We don't need it anymore, and it was broken anyway.
This commit is contained in:
parent
abddf39173
commit
616b87f978
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18305
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.4 1996/04/28 04:38:45 wpaul Exp $
|
||||
# $Id: Makefile,v 1.5 1996/06/25 20:27:55 wpaul Exp $
|
||||
|
||||
PROG= ypserv
|
||||
SRCS= yp_svc.c yp_server.c yp_dblookup.c yp_dnslookup.c \
|
||||
@ -35,8 +35,5 @@ afterinstall:
|
||||
@if [ ! -f ${DESTDIR}/var/yp/Makefile.dist ]; then \
|
||||
ln -s ${DESTDIR}/var/yp/Makefile.dist \
|
||||
${DESTDIR}/var/yp/Makefile; fi
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||
${.CURDIR}/mkaliases \
|
||||
${DESTDIR}/usr/libexec/mkaliases
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/usr/bin/awk -f
|
||||
# mkaliases script
|
||||
# Written by Mike Murphy mrm@Sceard.com
|
||||
# $Id: mkaliases,v 1.1 1996/04/13 20:22:18 wpaul Exp $
|
||||
|
||||
BEGIN {l=""}
|
||||
/^#/ || /^[ \t]*$/ {gsub("[ \t]+","",l);if (length(l)!=0){sub(":"," ",l);print l;l=""};next}
|
||||
/:[ \t]/ {gsub("[ \t]+","",l);if (length(l)!=0){sub(":"," ",l);print l;l=""}}
|
||||
{ l=l $0 }
|
||||
END {gsub("[ \t]+","",l);if (length(l)!=0){sub(":"," ",l);print l;l=""}}
|
Loading…
Reference in New Issue
Block a user