summaryrefslogtreecommitdiff
path: root/regress/usr.bin/make/mk21
blob: a0f9c4137e07e7ba038ee0584be077eaccd63d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $OpenBSD: mk21,v 1.1 2004/11/21 12:58:12 espie Exp $
TRUC= http://heanet.dl.sourceforge.net/sourceforge/%SUBDIR%/

.for _S in ${TRUC}
S?=        ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://}
.endfor

_S=     ${TRUC}
T?=        ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://}

all:
	@echo "S= $S"
	@echo "T= $T"