Abuse bsd.obj.mk for defining default distribute target.
This commit is contained in:
parent
51d62000c2
commit
d579a1cbf2
@ -121,14 +121,6 @@ afterinstall:
|
||||
|
||||
.endif
|
||||
|
||||
DISTRIBUTION?= doc
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
spell: ${SRCS}
|
||||
(cd ${.CURDIR}; spell ${SRCS} ) | sort | \
|
||||
comm -23 - ${.CURDIR}/spell.ok > ${DOC}.spell
|
||||
@ -155,4 +147,6 @@ ${DFILE}: ${SRCS} _stamp.extraobjs
|
||||
.endif
|
||||
.endif
|
||||
|
||||
DISTRIBUTION?= doc
|
||||
|
||||
.include <bsd.obj.mk>
|
||||
|
@ -11,8 +11,6 @@
|
||||
#
|
||||
# DESTDIR Change the tree where the info files gets installed. [not set]
|
||||
#
|
||||
# DISTRIBUTION Name of distribution. [info]
|
||||
#
|
||||
# DVIPS A program which convert a TeX DVI file to PostScript [dvips]
|
||||
#
|
||||
# DVIPS2ASCII A program to convert a PostScript file which was prior
|
||||
@ -65,10 +63,6 @@
|
||||
#
|
||||
# +++ targets +++
|
||||
#
|
||||
# distribute:
|
||||
# This is a variant of install, which will
|
||||
# put the stuff into the right "distribution".
|
||||
#
|
||||
# install:
|
||||
# Install the info files.
|
||||
#
|
||||
@ -159,15 +153,6 @@ ${x:S/$/-install/}: ${DESTDIR}${INFODIR}/${INFODIRFILE}
|
||||
|
||||
.PHONY: ${INSTALLINFODIRS}
|
||||
|
||||
DISTRIBUTION?= base
|
||||
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if defined(SRCS)
|
||||
CLEANFILES+= ${INFO}.texi
|
||||
${INFO}.texi: ${SRCS}
|
||||
|
@ -354,14 +354,6 @@ afterinstall: maninstall
|
||||
.endif
|
||||
.endif
|
||||
|
||||
DISTRIBUTION?= base
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !target(lint)
|
||||
lint: ${SRCS:M*.c}
|
||||
${LINT} ${LINTOBJFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
|
||||
|
@ -117,14 +117,6 @@ realinstall: beforeinstall
|
||||
all: all-nls
|
||||
install: realinstall afterinstall
|
||||
|
||||
DISTRIBUTION?= base
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR}; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !target(beforeinstall)
|
||||
beforeinstall:
|
||||
.endif
|
||||
|
@ -151,6 +151,14 @@ checkdpadd:
|
||||
|
||||
cleandir: cleanobj
|
||||
|
||||
DISTRIBUTION?= base
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR}; ${MAKE} install DESTDIR=${DISTDIR}/${dist} SHARED=copies
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
||||
.endif !target(__<bsd.obj.mk>__)
|
||||
|
@ -205,14 +205,6 @@ afterinstall: maninstall
|
||||
.endif
|
||||
.endif
|
||||
|
||||
DISTRIBUTION?= base
|
||||
.if !target(distribute)
|
||||
distribute:
|
||||
.for dist in ${DISTRIBUTION}
|
||||
cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !target(lint)
|
||||
lint: ${SRCS}
|
||||
.if defined(PROG)
|
||||
|
Loading…
Reference in New Issue
Block a user