size logo
[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
8450d9dd 19SPEAKERS_MD = /home/owner/brains/campaigns/libreplanet/2018/program/bios-for-site.mdwn
198341d4 20SPEAKERS_HTML = program/generated-bios.html
21
8450d9dd 22SESSIONS_MD = /home/owner/brains/campaigns/libreplanet/2018/program/sessions-for-site.mdwn
198341d4 23SESSIONS_HTML = program/generated-sessions.html
24
25
26all:
27 @echo "Give me something to make."
28
29
30speakers: $(SPEAKERS_HTML)
31
32
33sessions: $(SESSIONS_HTML)
34
35
36clean:
37 rm -f $(SPEAKERS_HTML) $(SESSIONS_HTML)
38
39
40both: $(SPEAKERS_HTML) $(SESSIONS_HTML)
41
42
43$(SPEAKERS_HTML): $(SPEAKERS_MD)
706288d3 44 @lps_gen -sp $< > $@
198341d4 45
46
47$(SESSIONS_HTML): $(SESSIONS_MD)
706288d3 48 @lps_gen -sc --ical $(LP_YEAR) $< > $@
198341d4 49
50
51.PHONY: all speakers sessions both clean