use the dpb trick in order to have some pseudo-target from main Makefile

This commit is contained in:
espie 2018-11-06 10:45:27 +00:00
parent f3722f7a65
commit 0254186279

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.77 2018/07/09 13:48:16 espie Exp $
# $OpenBSD: Makefile,v 1.78 2018/11/06 10:45:27 espie Exp $
.if !defined(BSD_OWN_MK)
. include <bsd.own.mk>
@ -103,6 +103,15 @@ search: ${.CURDIR}/INDEX
. endif
.endif
fix-permissions:
@{ echo "COMMENT=test"; \
echo "CATEGORIES=test"; \
echo "PKGPATH=test/a"; \
echo "DISTNAME=test"; \
echo "PERMIT_PACKAGE_CDROM=Yes"; \
echo "ECHO_MSG=:"; \
echo ".include <bsd.port.mk>"; }|${MAKE} -f - fix-permissions
homepages.html:
@echo '<html><ul>' >$@
@${_MAKE} homepage-links ECHO_MSG='echo >&2' >>$@