added deb nicholson to speakers
[libreplanet-static.git] / 2018 / Makefile
CommitLineData
198341d4 1# Copyright (C) 2016 Free Software Foundation
2#
3# This program is free software: you can redistribute it and/or
4# modify it under the terms of the GNU General Public License as
5# published by the Free Software Foundation, either version 3 of the
6# License, or (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11# General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see
15# <http://www.gnu.org/licenses/>.
16
8450d9dd 17LP_YEAR = 2018
198341d4 18
19SPEAKERS_TEMPLATE = assets/templates/lp-speakers.jinja2
8450d9dd 20SPEAKERS_MD = /home/owner/brains/campaigns/libreplanet/2018/program/bios-for-site.mdwn
198341d4 21SPEAKERS_HTML = program/generated-bios.html
22
23SESSIONS_TEMPLATE = assets/templates/lp-schedule.jinja2
8450d9dd 24SESSIONS_MD = /home/owner/brains/campaigns/libreplanet/2018/program/sessions-for-site.mdwn
198341d4 25SESSIONS_HTML = program/generated-sessions.html
26
27
28all:
29 @echo "Give me something to make."
30
31
32speakers: $(SPEAKERS_HTML)
33
34
35sessions: $(SESSIONS_HTML)
36
37
38clean:
39 rm -f $(SPEAKERS_HTML) $(SESSIONS_HTML)
40
41
42both: $(SPEAKERS_HTML) $(SESSIONS_HTML)
43
44
45$(SPEAKERS_HTML): $(SPEAKERS_MD)
46 @lps_gen -sp $(SPEAKERS_TEMPLATE) $< > $@
47
48
49$(SESSIONS_HTML): $(SESSIONS_MD)
50 @lps_gen -s --ical $(LP_YEAR) $(SESSIONS_TEMPLATE) $< > $@
51
52
53.PHONY: all speakers sessions both clean