forked from CyberGrandChallenge/cgc-release-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (21 loc) · 773 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
DOC_DIR = $(DESTDIR)/usr/share/cgc-docs/
HOWTO_DIR = $(DOC_DIR)/walk-throughs
NEWSLETTER_DIR = $(DOC_DIR)/newsletter
all:
echo nothing to see here
html:
@for doc in walk-throughs/*.md ; do pandoc -s -t html -o $$doc.html $$doc ; done
@for doc in newsletter/*.md ; do pandoc -s -t html -o $$doc.html $$doc ; done
install:
install -d $(DOC_DIR)
install -d $(HOWTO_DIR)
install -d $(NEWSLETTER_DIR)
install -m 444 RELEASE_NOTES.txt $(DOC_DIR)
install -m 444 cfe-pov.dtd $(DOC_DIR)
install -m 444 replay.dtd $(DOC_DIR)
install -m 444 pov-markup-spec.txt $(DOC_DIR)
install -m 444 *.pdf $(DOC_DIR)
install -m 444 walk-throughs/*.md walk-throughs/*.pdf $(HOWTO_DIR)
install -m 444 newsletter/*.md $(NEWSLETTER_DIR)
clean:
echo nothing to see here either