mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Add describe target support.
This commit is contained in:
parent
eb497430f3
commit
e7c865345a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=674
@ -3,7 +3,7 @@
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
#
|
||||
# $Id: bsd.port.mk,v 1.89 1994/12/28 04:17:54 ache Exp $
|
||||
# $Id: bsd.port.mk,v 1.90 1995/01/01 20:06:20 ache Exp $
|
||||
#
|
||||
# Please view me with 4 column tabs!
|
||||
|
||||
@ -277,6 +277,15 @@ patch:
|
||||
|
||||
# More standard targets start here.
|
||||
|
||||
.if !target(describe)
|
||||
describe:
|
||||
@if [ -f ${PKGDIR}/COMMENT ]; then \
|
||||
echo "${.CURDIR}/${DISTNAME}: `cat ${PKGDIR}/COMMENT`"; \
|
||||
else \
|
||||
echo "${.CURDIR}/${DISTNAME}: ** No Description"; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
.if !target(reinstall)
|
||||
reinstall: pre-reinstall install
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
|
||||
# $Id: bsd.port.subdir.mk,v 1.6 1994/11/17 16:02:56 jkh Exp $
|
||||
# $Id: bsd.port.subdir.mk,v 1.7 1994/12/17 20:50:44 gpalmer Exp $
|
||||
|
||||
.MAIN: all
|
||||
|
||||
@ -65,6 +65,10 @@ clean: _SUBDIRUSE
|
||||
depend: _SUBDIRUSE
|
||||
.endif
|
||||
|
||||
.if !target(describe)
|
||||
describe: _SUBDIRUSE
|
||||
.endif
|
||||
|
||||
.if !target(reinstall)
|
||||
reinstall: _SUBDIRUSE
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user