diff --git a/gnu/usr.bin/awk/Makefile b/gnu/usr.bin/awk/Makefile index e211738ad2c2..690eacf1c286 100644 --- a/gnu/usr.bin/awk/Makefile +++ b/gnu/usr.bin/awk/Makefile @@ -1,12 +1,14 @@ PROG= awk SRCS= main.c eval.c builtin.c msg.c iop.c io.c field.c getopt1.c \ getopt.c array.c \ node.c version.c re.c awk.c dfa.c CFLAGS+=-I${.CURDIR} -DGAWK CLEANFILES+=awk.c y.tab.h +SUBDIR+= doc + DPADD+= ${LIBGNUREGEX} ${LIBM} LDADD+= -lgnuregex -lm .include #.include "../../usr.bin/Makefile.inc" diff --git a/gnu/usr.bin/dc/Makefile b/gnu/usr.bin/dc/Makefile index 937c7d9f2d65..57b2ebd4092c 100644 --- a/gnu/usr.bin/dc/Makefile +++ b/gnu/usr.bin/dc/Makefile @@ -1,7 +1,8 @@ PROG= dc SRCS= dc.c decimal.c CFLAGS+=-I${.CURDIR} -DHAVE_BCOPY=1 -DHAVE_BZERO=1 DPADD= ${LIBM} LDADD= -lm +SUBDIR+= doc .include diff --git a/gnu/usr.bin/ptx/Makefile b/gnu/usr.bin/ptx/Makefile index 5a2bd7f634e6..b06f5b4f3e59 100644 --- a/gnu/usr.bin/ptx/Makefile +++ b/gnu/usr.bin/ptx/Makefile @@ -1,10 +1,12 @@ PROG= ptx SRCS= argmatch.c diacrit.c error.c getopt.c getopt1.c ptx.c xmalloc.c LDADD+= -lgnuregex DPADD+= ${LIBGNUREGEX} CFLAGS+= -DHAVE_CONFIG_H -DDEFAULT_IGNORE_FILE=\"/usr/share/dict/eign\" NOMAN= +SUBDIR+= doc + .include diff --git a/gnu/usr.bin/send-pr/Makefile b/gnu/usr.bin/send-pr/Makefile index f0709acf32bb..a3a765be3993 100644 --- a/gnu/usr.bin/send-pr/Makefile +++ b/gnu/usr.bin/send-pr/Makefile @@ -1,30 +1,32 @@ # # Makefile for building a standalone send-pr. # MAN1= send-pr.1 SUBMITTERS= current-users RELEASE!= uname -rsm CLEANFILES+= send-pr send-pr.el -all: send-pr +SUBDIR+= doc + +all: send-pr _PROGSUBDIR send-pr: send-pr.sh Makefile sed -e 's,@DATADIR@,/etc,g' \ -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \ -e 's/^SUBMITTER=.*/SUBMITTER=$(SUBMITTERS)/' \ ${.ALLSRC:N*Makefile} > ${.TARGET} send-pr.el: send-pr-el.in Makefile sed -e 's,@DATADIR@,/etc,g' \ -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \ -e 's/"unknown"/"$(SUBMITTERS)"/g' \ ${.ALLSRC:N*Makefile} > ${.TARGET} beforeinstall: install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ send-pr ${DESTDIR}${BINDIR}/send-pr install -c -o ${BINOWN} -g ${BINGRP} -m 0644 \ ${.CURDIR}/categories ${DESTDIR}/etc/gnats/freefall .include