add markdown-convert.sh and edit makefile
[libreplanet-static.git] / 2020 / Makefile
CommitLineData
187b5bdd 1# Copyright (C) 2016-2020 Free Software Foundation
929ee71b 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
929ee71b 17all:
18 @echo "Give me something to make."
f167a89c 19
929ee71b 20wikipages:
f167a89c 21 $(shell ../markdown-convert.sh $<)
929ee71b 22
187b5bdd 23speakers:
56f9051f 24 curl -s https://my.fsf.org/lp-talk/30| sed -n 's=/lp-talk/30=/2020/speakers/=g; s=/lp-schedule-2020=/2020/program/=g; s/fa fa-/glyphicon glyphicon-/g; /pagestart/s/<\/div>//; /pagestart/,/pageend/p; ' > includes/generated-bios.html
929ee71b 25
187b5bdd 26sessions:
56f9051f 27 curl -s https://my.fsf.org/lp-schedule-2020| sed -n 's=/lp-talk/30=/2020/speakers/=g; s=/lp-schedule-2020=/2020/program/=g; s/fa fa-/glyphicon glyphicon-/g; /pagestart/s/<\/div>//; /pagestart/,/pageend/p; ' > includes/generated-sessions.html
929ee71b 28
29clean:
187b5bdd 30 rm -f includes/generated-sessions.html includes/generated-bios.html
929ee71b 31
187b5bdd 32both: sessions speakers
929ee71b 33
34.PHONY: all speakers sessions both clean