blob: 0844d8f198c79d7b8f3952ebe911a87b842680a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
all: clean
clean:
rm -rf .backup
find -iname "*~" | xargs rm -rf
find ./* -type f | grep 'makefile\|md$$\|tex$$' > ls-R
rsync -avPr --files-from=ls-R . .backup
cp ls-R .backup
rm -rf *
cp -p -r .backup/* .
rm -rf .backup
pandoc -s README.tex -o README.md && sed -i 's/{#.*}//g' README.md
|