mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Make bsd.linux-rpm.mk respect NOPORTDOCS variable.
PR: 123964 Submitted by: Ganael Laplanche <ganael.laplanche at martymac.com> Discussed at: emulation@
This commit is contained in:
parent
e6141bf582
commit
ce3a776fc1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218623
@ -1,7 +1,7 @@
|
||||
#-*- mode: Makefile; tab-width: 4; -*-
|
||||
# ex:ts=4
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.linux-rpm.mk,v 1.12 2008-04-29 19:20:52 bsam Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.linux-rpm.mk,v 1.13 2008-08-15 12:29:42 bsam Exp $
|
||||
#
|
||||
|
||||
# Variables:
|
||||
@ -105,6 +105,20 @@ MD5_FILE?= ${MASTERDIR}/distinfo.${LINUX_RPM_ARCH}
|
||||
BRANDELF_DIRS?=
|
||||
BRANDELF_FILES?=
|
||||
|
||||
# For ports that define PORTDOCS, be sure not to install
|
||||
# documentation if NOPORTDOCS is defined
|
||||
. if defined(PORTDOCS) && defined(NOPORTDOCS)
|
||||
pre-patch: linux-rpm-clean-portdocs
|
||||
|
||||
. if !target(linux-rpm-clean-portdocs)
|
||||
linux-rpm-clean-portdocs:
|
||||
. for x in ${PORTDOCS}
|
||||
@${RM} -f ${WRKDIR}/${DOCSDIR_REL}/${x}
|
||||
. endfor
|
||||
@${RMDIR} ${WRKDIR}/${DOCSDIR_REL}
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if defined(AUTOMATIC_PLIST)
|
||||
|
||||
. if ${USE_LINUX} == "fc4" || ${USE_LINUX:L} == "yes"
|
||||
|
Loading…
Reference in New Issue
Block a user