[280811]: / htdocs / faq / Makefile  Maximize  Restore  History

Download this file

29 lines (20 with data), 716 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
M4DEFS = http.m4
# INSTALLHOST = gwyn.tux.org
# INSTALLPATH = public_html/maxima
INSTALLHOST = maxima.sourceforge.net
INSTALLURLPATH = faq
RSYNCPATH = --rsync-path=/homes/milgram/local/bin/rsync
faq.html: faq.dat faqheader.html faqfooter.html Makefile maxima.gif
makefaq.py -j
install: faq.html faq.css maxima.gif index.html
rsync -e ssh $(RSYNCPATH) -v -a -z $^ $(INSTALLHOST):$(INSTALLPATH)
%: $(M4DEFS) %.m4
make date
m4 -P date -DINSTALLHOST=$(INSTALLHOST) -DINSTALLURLPATH=$(INSTALLURLPATH) $^ > $@
contents:
grep '<c>' faq.dat | sed 's/^ *<c>//' | sort -b -u
.PHONY: date
date:
echo "m4_define(UPDATE,`date +%d\ %b\ %Y`)m4_dnl" > $@
clean:
$(RM) faq.dat faqheader.html faqfooter.html faq.html