Debian Codegraph @

doc/web/Makefile

raw
1
2 CONTENT=$(wildcard *.content)
3 HTML=$(subst .content,.html,$(CONTENT))
4 TARBALLS=$(wildcard gc_*.tgz)
5 OTHER= 3d.png choose-a-cyclist.png cpint.gp cpint.png critical-power-plot.png critical-power.png \
6 cyclist-info.png editor.png gui-preview.png histogram-analysis.png logo.jpg logo.png \
7 main-window.png map.png metrics-power.png metrics-timedist.png metrics-tiz.png pf-pv-plot.png \
8 pm.png power.zones realtime.png ride-plot.png ride-plot2.png ride-summary.png sample.gp \
9 sample.png weekly-summary.png google-earth.png aerolab.png
10
11 BIN= GoldenCheetah_3.0.1_Mac_Universal.dmg \
12 GoldenCheetah-3.0.1-1.fc18.x86_64.rpm \
13 GoldenCheetah-3.0.1-1.fc19.x86_64.rpm \
14 GoldenCheetah_3.0.1_Windows_Installer.exe
15
16 all: $(HTML)
17 .PHONY: all clean install
18
19 clean:
20 rm -f $(HTML)
21
22 install:
23 rsync -avz -e ssh $(HTML) $(TARBALLS) $(OTHER) \
24 goldencheetah.org:/home/srhea/wwwroot/goldencheetah.org/
25
26 install-bin:
27 rsync -avz -e ssh $(BIN) \
28 goldencheetah.org:/home/srhea/wwwroot/goldencheetah.org/
29
30 bug-tracker.html: bug-tracker.content genpage.pl
31 ./genpage.pl "Bug Tracker" $< > $@
32
33 command-line.html: command-line.content genpage.pl
34 ./genpage.pl "Legacy Command-Line Tools" $< > $@
35
36 contact.html: contact.content genpage.pl
37 ./genpage.pl "Contact Us" $< > $@
38
39 contrib.html: contrib.content genpage.pl
40 ./genpage.pl "Contributors" $< > $@
41
42 developers-guide.html: developers-guide.content genpage.pl
43 ./genpage.pl "Developer's Guide" $< > $@
44
45 older-releases.html: older-releases.content genpage.pl
46 ./genpage.pl "Older Releases" $< > $@
47
48 download.html: download.content genpage.pl
49 ./genpage.pl "Download" $< > $@
50
51 release-notes.html: release-notes.content genpage.pl
52 ./genpage.pl "Release Notes" $< > $@
53
54 release-notes_2.1.0.html: release-notes_2.1.0.content genpage.pl
55 ./genpage.pl "Release Notes 2.1.0" $< > $@
56
57 release-notes_3.0.0.html: release-notes_3.0.0.content genpage.pl
58 ./genpage.pl "Release Notes 3.0.0" $< > $@
59
60 release-notes_3.0.1.html: release-notes_3.0.1.content genpage.pl
61 ./genpage.pl "Release Notes 3.0.1" $< > $@
62
63 faq.html: faq.content genpage.pl
64 ./genpage.pl "Frequently Asked Questions" $< > $@
65
66 index.html: index.content genpage.pl
67 ./genpage.pl "Introduction" $< > $@
68
69 license.html: license.content genpage.pl
70 ./genpage.pl "License" $< > $@
71
72 mailing-list.html: mailing-list.content genpage.pl
73 ./genpage.pl "Mailing Lists" $< > $@
74
75 screenshots.html: screenshots.content genpage.pl
76 ./genpage.pl "Screenshots" $< > $@
77
78 search.html: search.content genpage.pl
79 ./genpage.pl "Search" $< > $@
80
81 users-guide.html: users-guide.content genpage.pl
82 ./genpage.pl "User's Guide" $< > $@
83
84 wiki.html: wiki.content genpage.pl
85 ./genpage.pl "Wiki" $< > $@
86
87 wishlist.html: wishlist.content genpage.pl
88 ./genpage.pl "Wish List" $< > $@
89
90 zones.html: zones.content genpage.pl
91 ./genpage.pl "Power Zones File Guide" $< > $@
92