Add a "distribute" target, in preparation for getting "make release" to
work with the DocBook handbook. Currently untested. . .
This commit is contained in:
parent
9fd5459be0
commit
97bc599e5a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=4476
3 changed files with 39 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# $Id: Makefile,v 1.12 1999-01-30 00:10:35 nik Exp $
|
||||
# $Id: Makefile,v 1.13 1999-03-08 21:44:45 nik Exp $
|
||||
#
|
||||
# Build the FreeBSD Handbook. Will eventually split in two, a generic .mk
|
||||
# file which can be used by many Makefiles, and a much smaller Makefile
|
||||
|
@ -366,5 +366,17 @@ ${__target}:
|
|||
.endif
|
||||
.endfor
|
||||
|
||||
#
|
||||
# Distribution target
|
||||
#
|
||||
# Like "install", but places the files into the correct distribution
|
||||
#
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR}; $(MAKE) install DESTDIR=${DISTDIR}/${dist}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.dep.mk>
|
||||
.include <bsd.obj.mk>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# $Id: Makefile,v 1.12 1999-01-30 00:10:35 nik Exp $
|
||||
# $Id: Makefile,v 1.13 1999-03-08 21:44:45 nik Exp $
|
||||
#
|
||||
# Build the FreeBSD Handbook. Will eventually split in two, a generic .mk
|
||||
# file which can be used by many Makefiles, and a much smaller Makefile
|
||||
|
@ -366,5 +366,17 @@ ${__target}:
|
|||
.endif
|
||||
.endfor
|
||||
|
||||
#
|
||||
# Distribution target
|
||||
#
|
||||
# Like "install", but places the files into the correct distribution
|
||||
#
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR}; $(MAKE) install DESTDIR=${DISTDIR}/${dist}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.dep.mk>
|
||||
.include <bsd.obj.mk>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# $Id: Makefile,v 1.12 1999-01-30 00:10:35 nik Exp $
|
||||
# $Id: Makefile,v 1.13 1999-03-08 21:44:45 nik Exp $
|
||||
#
|
||||
# Build the FreeBSD Handbook. Will eventually split in two, a generic .mk
|
||||
# file which can be used by many Makefiles, and a much smaller Makefile
|
||||
|
@ -366,5 +366,17 @@ ${__target}:
|
|||
.endif
|
||||
.endfor
|
||||
|
||||
#
|
||||
# Distribution target
|
||||
#
|
||||
# Like "install", but places the files into the correct distribution
|
||||
#
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR}; $(MAKE) install DESTDIR=${DISTDIR}/${dist}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.dep.mk>
|
||||
.include <bsd.obj.mk>
|
||||
|
|
Loading…
Reference in a new issue