From ae862803e0b193ea9f0cf80bcae97babf2e04536 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 14 Aug 2006 12:21:57 +0000 Subject: - Include bsd.own.mk early so existsence check using ${SHAREDIR} actually works. - Touch /usr/share/tmac/man.local if it already exists. MFC after: 3 days --- gnu/usr.bin/groff/tmac/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/usr.bin/groff') diff --git a/gnu/usr.bin/groff/tmac/Makefile b/gnu/usr.bin/groff/tmac/Makefile index d6a63edb1e39..db77dc550c2a 100644 --- a/gnu/usr.bin/groff/tmac/Makefile +++ b/gnu/usr.bin/groff/tmac/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include # SHAREDIR + TMACOWN?= ${BINOWN} TMACGRP?= ${BINGRP} TMACMODE?= ${NOBINMODE} @@ -78,6 +80,8 @@ beforeinstall: .if !exists(${DESTDIR}${TMACDIR}/man.local) ${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \ ${DIST_DIR}/man.local ${DESTDIR}${TMACDIR} +.else + @:>>${DESTDIR}${TMACDIR}/man.local .endif .include -- cgit v1.3