-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
100 lines (62 loc) · 2.11 KB
/
Copy pathMakefile
File metadata and controls
100 lines (62 loc) · 2.11 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# labPages
# http://localhost:4103/
## https://mac-theobio.github.io/
## https://mac-theobio.github.io/jd/rabies_pdf.html
current: target
-include target.mk
Ignore = target.mk
##################################################################
## serve: jekyll.log
##################################################################
## Defs
# stuff
Sources += Makefile README.md
msrepo = https://github.com/dushoff
ms = makestuff
Ignore += local.mk
-include local.mk
-include makestuff/os.mk
# -include makestuff/perl.def
Ignore += makestuff
Makefile: makestuff $(ms)/Makefile
makestuff:
git clone $(msrepo)/makestuff
######################################################################
Sources += $(wildcard *.md jd/*.md covid-19/*.md)
subdirs += events forecasts
alldirs += $(subdirs)
Ignore += $(subdirs)
######################################################################
## Importing
Ignore += *.page.mkd *.wikitext
%.page.mkd: page.md %.wikitext
cat $< > $@
pandoc -f mediawiki -t markdown $*.wikitext >> $@
index.page.mkd: index.wikitext
######################################################################
# Pix
Sources += favicon.ico seird.jpg
Ignore += 16.ico 32.ico
Ignore += *.crop.jpg
seird.crop.jpg: seird.jpg Makefile
convert -crop 350x350+280+30 $< $@
## Weirdly broken 2023 Jan 04 (Wed)
favicon.ico: seird.crop.jpg
convert -resize x16 -gravity center -crop 16x16+0+0 -flatten -colors 256 $< 16.ico
convert -resize x32 -gravity center -crop 32x32+0+0 -flatten -colors 256 $< 32.ico
convert 16.ico 32.ico $@
######################################################################
# Jekyll
Ignore += .jekyll-cache
Sources += _config.yml $(wildcard Gemfile_*)
Sources += _includes/* _layouts/* css/* _sass/*
## cp -r _config.yml Gemfile_* _includes _layouts css _sass ~/gitroot/labPages ##
Ignore += .sass-cache/ Gemfile Gemfile.lock _site/
## Gemfile_sb.set:
Gemfile_orig.set Gemfile_sb.set:
/bin/ln -fs $(basename $@) Gemfile
######################################################################
### Makestuff
-include makestuff/git.mk
-include makestuff/visual.mk
# -include makestuff/wrapR.mk