aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcsh/Makefile.ADMIN
blob: 5ad3bb8fb3c58593c27151b0e6a37d7fa32901cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Makefile.ADMIN
#
# Maintenance tasks
#
# You can refetch files from the website, then run "git diff" to
# sanity check any changes before committing.
#

LYNX=	lynx -dump -nolist
TRIM=	expand | sed -e 's/^  *$$//' | cat -s
WEB=	https://www.tcsh.org

PAGES=	FAQ

all: ${PAGES}

.for i in ${PAGES}
$i: force
	${LYNX} ${WEB}/${i:tl}/ | ${TRIM} > ${.TARGET}
.endfor

.DUMMY: force
force: