Commit | Line | Data |
---|---|---|
9c77e2b8 | 1 | # Copyright (C) 2016-2021 Free Software Foundation |
76c2419a GF |
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 | ||
17 | all: | |
18 | @echo "Give me something to make." | |
19 | ||
20 | wikipages: | |
21 | $(shell ../markdown-convert.sh $<) | |
22 | ||
23 | speakers: | |
49c4fbce | 24 | curl -4 -s https://my.fsf.org/lp-talk/42| sed -n 's=/lp-talk/42=/2021/speakers/=g; s=/lp-schedule/42=/2021/program/=g; s=</br>=<br>=g; s=DSC_4706 copy=DSC_4706%20copy=g; s=sopkin (=sopkin%20(=g; s=speakerpic\" src=speakerpic\" alt\="Picture of speaker.\" src=g; s/fa fa-/glyphicon glyphicon-/g; /pagestart/s/<\/div>//; /pagestart/,/pageend/p; ' > includes/generated-bios.html |
76c2419a GF |
25 | |
26 | sessions: | |
49c4fbce | 27 | curl -4 -s https://my.fsf.org/lp-schedule/42| sed -n 's=/lp-talk/42=/2021/speakers/=g; s=/lp-schedule/42=/2021/program/=g; s=</br>=<br>=g; s=DSC_4706 copy=DSC_4706%20copy=g; s=sopkin (=sopkin%20(=g; s=speakerpic\" src=speakerpic\" alt\="Picture of speaker.\" src=g; s/fa fa-/glyphicon glyphicon-/g; /pagestart/s/<\/div>//; /pagestart/,/pageend/p; ' > includes/generated-sessions.html |
76c2419a GF |
28 | |
29 | clean: | |
30 | rm -f includes/generated-sessions.html includes/generated-bios.html | |
31 | ||
32 | both: sessions speakers | |
33 | ||
34 | .PHONY: all speakers sessions both clean |