1# $FreeBSD: head/gnu/usr.bin/groff/Makefile.inc 151504 2005-10-20 10:57:53Z ru $
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 @sed -e "s|@BINDIR@|${BINDIR}|g" \
131 -e 's|@GROFF_BIN_PATH_SETUP@|GROFF_RUNTIME="$${GROFF_BIN_PATH=${BINDIR}}:"|g' \
132 -e "s;@FONTDIR@;$(fontdir);g" \
133 -e "s|@SEP@|:|g" \
134 -e "s|@VERSION@|$(version)$(revision)|" \
135 -e "s|@g@|$(g)|g" \
136 ${.IMPSRC} >${.TARGET}
137
138TOPREL?= ..
139GROFF_DIST= ${.CURDIR}/${TOPREL}/../../../contrib/groff
140DIST_SUBDIR?= ${.CURDIR:T}
141DIST_DIR= ${GROFF_DIST}/${DIST_SUBDIR}
142.PATH: ${DIST_DIR}
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 @sed -e "s|@BINDIR@|${BINDIR}|g" \
131 -e 's|@GROFF_BIN_PATH_SETUP@|GROFF_RUNTIME="$${GROFF_BIN_PATH=${BINDIR}}:"|g' \
132 -e "s;@FONTDIR@;$(fontdir);g" \
133 -e "s|@SEP@|:|g" \
134 -e "s|@VERSION@|$(version)$(revision)|" \
135 -e "s|@g@|$(g)|g" \
136 ${.IMPSRC} >${.TARGET}
137
138TOPREL?= ..
139GROFF_DIST= ${.CURDIR}/${TOPREL}/../../../contrib/groff
140DIST_SUBDIR?= ${.CURDIR:T}
141DIST_DIR= ${GROFF_DIST}/${DIST_SUBDIR}
142.PATH: ${DIST_DIR}