From 88ea86a07a407bf64b5a3c4a14d42ad776fef2ec Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 9 Mar 2012 10:57:54 +0000 Subject: [PATCH] remove last remnants of mirror-maker --- Makefile | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/Makefile b/Makefile index 3a1fe997c71..bb37d1438a1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.67 2011/11/12 16:37:35 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.68 2012/03/09 10:57:54 espie Exp $ # $FreeBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $ # @@ -7,7 +7,6 @@ MIRROR_MK ?= ${.CURDIR}/distfiles/Makefile PORTSTOP ?= yes DISTFILES_DB ?= ${.CURDIR}/infrastructure/db/locate.database - .if defined(SUBDIR) # nothing to do .elif defined(key) || defined(name) || defined(category) || defined(author) @@ -105,31 +104,6 @@ search: ${.CURDIR}/INDEX . endif .endif -mirror-maker: - @mkdir -p ${MIRROR_MK:H} -.if !empty(LOCKDIR) - @echo "EXEC = " >${MIRROR_MK} - @echo 'LOCKDIR = ${LOCKDIR}' >>${MIRROR_MK} - @echo 'PORTSDIR = ${PORTSDIR}' >>${MIRROR_MK} - @echo 'LOCK_CMD = perl $${PORTSDIR}/infrastructure/bin/dolock' >>${MIRROR_MK} - @echo 'UNLOCK_CMD = rm -f' >>${MIRROR_MK} - @echo 'SIMPLE_LOCK = $${LOCK_CMD} $${LOCKDIR}/$$$$lock.lock; trap "$${UNLOCK_CMD} $${LOCKDIR}/$$$$lock.lock" 0 1 2 3 13 15' >>${MIRROR_MK} -.else - @echo "EXEC = exec" >${MIRROR_MK} - @echo 'SIMPLE_LOCK = :' >>${MIRROR_MK} -.endif - - @echo '' >>${MIRROR_MK} - @echo "default:: ftp cdrom" >>${MIRROR_MK} - @echo ".PHONY: default all ftp cdrom .FORCE" >>${MIRROR_MK} - @echo ".FORCE:" >>${MIRROR_MK} - @_DONE_FILES=`mktemp /tmp/depends.XXXXXXXXX|| exit 1`; \ - export _DONE_FILES; \ - trap "rm -f $${_DONE_FILES}" 0 1 2 3 13 15; \ - ${_MAKE} fetch-makefile \ - ECHO_MSG='echo >&2' \ - _FETCH_MAKEFILE=${MIRROR_MK} - homepages.html: @echo '