~ubuntu-branches/ubuntu/precise/pmake/precise

« back to all changes in this revision

Viewing changes to mk/bsd.inc.mk

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2002-03-12 21:59:55 UTC
  • Revision ID: james.westby@ubuntu.com-20020312215955-i183oxj3rpm464yh
Tags: 1.45-10
* Fixed broken '.Nm ""' directives in the man page. Closes: #137768
* Changed name from "make" to "pmake" in manpage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#       $NetBSD: bsd.inc.mk,v 1.12 1999/02/04 11:58:30 christos Exp $
 
2
 
 
3
.PHONY:         incinstall
 
4
includes:       ${INCS} incinstall
 
5
 
 
6
.if defined(INCS)
 
7
.for I in ${INCS}
 
8
incinstall:: ${DESTDIR}${INCSDIR}/$I
 
9
 
 
10
.PRECIOUS: ${DESTDIR}${INCSDIR}/$I
 
11
.if !defined(UPDATE)
 
12
.PHONY: ${DESTDIR}${INCSDIR}/$I
 
13
.endif
 
14
${DESTDIR}${INCSDIR}/$I: $I
 
15
        @cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || \
 
16
            (echo "${INSTALL} ${RENAME} ${PRESERVE} -c -o ${BINOWN} \
 
17
                -g ${BINGRP} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}" && \
 
18
             ${INSTALL} ${RENAME} ${PRESERVE} -c -o ${BINOWN} -g ${BINGRP} \
 
19
                -m ${NONBINMODE} ${.ALLSRC} ${.TARGET})
 
20
.endfor
 
21
.endif
 
22
 
 
23
.if !target(incinstall)
 
24
incinstall::
 
25
.endif