1# $FreeBSD: head/gnu/usr.bin/groff/Makefile.inc 284289 2015-06-11 21:13:05Z sjg $ |
2 3BINDIR?= /usr/bin 4SHELL= /bin/sh 5 6# Define `page' to be letter if your PostScript printer uses 8.5x11 7# paper (USA) and define it to be A4, if it uses A4 paper (rest of the 8# world). 9PAGE=letter --- 112 unchanged lines hidden (view full) --- 122 -e "s;@g@;$(g);g" \ 123 -e "s;@G@;`echo $(g) | LC_ALL=C tr a-z A-Z`;g" \ 124 $< >$@ 125 126.SUFFIXES: .sh .pl 127 128.sh .pl: 129 @${ECHO} Making ${.TARGET} from ${.IMPSRC} |
130 @rm -f ${.TARGET} |
131 @sed -e "s|@BINDIR@|${BINDIR}|g" \ 132 -e 's|@GROFF_BIN_PATH_SETUP@|GROFF_RUNTIME="$${GROFF_BIN_PATH=${BINDIR}}:"|g' \ 133 -e "s;@FONTDIR@;$(fontdir);g" \ 134 -e "s|@SEP@|:|g" \ 135 -e "s|@VERSION@|$(version)$(revision)|" \ 136 -e "s|@g@|$(g)|g" \ 137 ${.IMPSRC} >${.TARGET} 138 139TOPREL?= .. 140GROFF_DIST= ${.CURDIR}/${TOPREL}/../../../contrib/groff 141DIST_SUBDIR?= ${.CURDIR:T} 142DIST_DIR= ${GROFF_DIST}/${DIST_SUBDIR} 143.PATH: ${DIST_DIR} |