diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-09-04 16:34:27 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-09-04 16:34:27 +0200 |
commit | 60c02de032a1debccc8179035d9033b065cb1ffb (patch) | |
tree | 61383533900cf31917628f61b741431b5d513214 | |
parent | c752a71c168813885d64d05c96a243735b082e9a (diff) | |
download | courses-60c02de032a1debccc8179035d9033b065cb1ffb.tar.gz |
added basic makefile
-rw-r--r-- | README.html | 19 | ||||
-rw-r--r-- | makefile | 6 |
2 files changed, 25 insertions, 0 deletions
diff --git a/README.html b/README.html new file mode 100644 index 0000000..d995c20 --- /dev/null +++ b/README.html | |||
@@ -0,0 +1,19 @@ | |||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
5 | <meta http-equiv="Content-Style-Type" content="text/css" /> | ||
6 | <meta name="generator" content="pandoc" /> | ||
7 | <meta name="author" content="Robert Alessi" /> | ||
8 | <title>Cours sur LaTeX et Python</title> | ||
9 | <style type="text/css">code{white-space: pre;}</style> | ||
10 | </head> | ||
11 | <body> | ||
12 | <div id="header"> | ||
13 | <h1 class="title">Cours sur LaTeX et Python</h1> | ||
14 | <h2 class="author">Robert Alessi</h2> | ||
15 | </div> | ||
16 | <h1 id="présentation">Présentation</h1> | ||
17 | <p>Ceci est le tout premier fichier.</p> | ||
18 | </body> | ||
19 | </html> | ||
diff --git a/makefile b/makefile new file mode 100644 index 0000000..8bf9b28 --- /dev/null +++ b/makefile | |||
@@ -0,0 +1,6 @@ | |||
1 | all: clean | ||
2 | |||
3 | clean: | ||
4 | find -iname "*~" | xargs rm -rf | ||
5 | pandoc -s README.tex -o README.md && sed -i 's/{#.*}//g' README.md | ||
6 | pandoc -s README.tex -o README.html | ||