forked from lballabio/quantlib-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (21 loc) · 857 Bytes
/
Makefile
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
28
29
30
SITE = shell.sf.net://home/groups/q/qu/quantlib/htdocs
TIDYOPTS = -q -m
INCLUDES = qlmeta.inc qlheader.inc qlfooter.inc
FILES = index.shtml books.shtml cvs.shtml docs.shtml download.shtml \
developerFAQ.shtml extensions.shtml license.shtml \
mailinglists.shtml marketconventions.shtml quep.shtml style.shtml
.PHONY: all check install faq
all:
@echo "Available targets:"
@echo " make check - run files through tidy"
@echo " SFUSER=username make install - copy files to web server"
check:
tidy ${TIDYOPTS} ${FILES}
install:
scp ${INCLUDES} ${SFUSER}@${SITE}
scp ${FILES} ${SFUSER}@${SITE}
scp images/*.gif images/*.jpg images/*.png ${SFUSER}@${SITE}/images
scp styles/*.css ${SFUSER}@${SITE}/styles
faq: faq.shtml
faq.shtml: faq.dat faqheader.html faqfooter.html
makefaq.py -o faq.shtml