aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-09-14 16:38:08 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-09-14 16:38:08 +0200
commit6dbe3f97980bfffdbc551c96411b0742dd2d5da9 (patch)
treefe38f0f6692a8697e684d1beecddbbfe4e436558 /makefile
parentbc758f2280ab4b43d43da990b60ece3d6b1512a0 (diff)
downloadcourses-6dbe3f97980bfffdbc551c96411b0742dd2d5da9.tar.gz
removed unnecessary ls-R and adapted makefile so as to fit for different versions of pandoc
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 02442bf..9beff49 100644
--- a/makefile
+++ b/makefile
@@ -14,8 +14,8 @@ clean:
14 find -iname "*~" | xargs rm -rf 14 find -iname "*~" | xargs rm -rf
15 find ./* -type f | grep 'makefile\|\.md$$\|\.png$$\|\.tex$$' > ls-R 15 find ./* -type f | grep 'makefile\|\.md$$\|\.png$$\|\.tex$$' > ls-R
16 rsync -avPr --files-from=ls-R . .backup 16 rsync -avPr --files-from=ls-R . .backup
17 cp ls-R .backup 17# cp ls-R .backup
18 rm -rf * 18 rm -rf *
19 cp -p -r .backup/* . 19 cp -p -r .backup/* .
20 rm -rf .backup 20 rm -rf .backup
21 pandoc -s README.tex -o README.md && sed -i 's/{#.*}//g' README.md 21 pandoc -s README.tex -o README.md && sed -i 's/{#.*}//g' README.md && sed -i "s/’/\'/g" README.md