diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-09-14 16:38:08 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-09-14 16:38:08 +0200 |
commit | 6dbe3f97980bfffdbc551c96411b0742dd2d5da9 (patch) | |
tree | fe38f0f6692a8697e684d1beecddbbfe4e436558 /makefile | |
parent | bc758f2280ab4b43d43da990b60ece3d6b1512a0 (diff) | |
download | courses-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-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |