Author: gordon
Date: Thu Oct  5 17:02:21 2017
New Revision: 324322
URL: https://svnweb.freebsd.org/changeset/base/324322

Log:
  MFC r323709:
  Revert tcpdump to using the source manpage instead of having a copy here.
  
  This helps future maintainability of tcpdump so we don't forget to update
  the manpage (like we have previously).

Deleted:
  stable/11/usr.sbin/tcpdump/tcpdump/tcpdump.1
Modified:
  stable/11/usr.sbin/tcpdump/tcpdump/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/tcpdump/tcpdump/Makefile
==============================================================================
--- stable/11/usr.sbin/tcpdump/tcpdump/Makefile Thu Oct  5 16:48:05 2017        
(r324321)
+++ stable/11/usr.sbin/tcpdump/tcpdump/Makefile Thu Oct  5 17:02:21 2017        
(r324322)
@@ -173,7 +173,7 @@ SRCS=       addrtoname.c \
        tcpdump.c \
        util-print.c \
        version.c
-CLEANFILES+=   version.c
+CLEANFILES+=   version.c ${MAN}
 
 CFLAGS+= -I${.CURDIR} -I${TCPDUMP_DISTDIR}
 CFLAGS+= -DHAVE_CONFIG_H
@@ -210,3 +210,9 @@ version.c: ${TCPDUMP_DISTDIR}/VERSION
                > version.c
 
 .include <bsd.prog.mk>
+
+.for mp in ${MAN}
+${mp}: ${mp}.in
+       sed -e 's/@MAN_MISC_INFO@/7/g' -e 's/@MAN_FILE_FORMATS@/5/g' \
+               ${.ALLSRC} > ${.TARGET}
+.endfor
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to