diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-09-27 11:44:38 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-09-27 11:44:38 +0200 |
commit | f4f700e2deed3bbe6ab07a172d3659138e155fbc (patch) | |
tree | 6e72cde8a451d8550804bc9fbe81300ae0f7ce2d /makefile | |
parent | a67cdf7e5a77d115192b358b707460cc85e64762 (diff) | |
download | courses-f4f700e2deed3bbe6ab07a172d3659138e155fbc.tar.gz |
made scripts available in a separate directory
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -12,9 +12,8 @@ pdf: clean | |||
12 | clean: | 12 | clean: |
13 | rm -rf .backup | 13 | rm -rf .backup |
14 | find -iname "*~" | xargs rm -rf | 14 | find -iname "*~" | xargs rm -rf |
15 | find ./* -type f | grep 'makefile\|\.md$$\|\.png$$\|\.bib$$\|\.tex$$' > ls-R | 15 | find ./* -type f | grep 'makefile\|\.md$$\|\.png$$\|\.sh$$\|\.bib$$\|\.tex$$' > ls-R |
16 | rsync -avPr --files-from=ls-R . .backup | 16 | rsync -avPr --files-from=ls-R . .backup |
17 | # cp ls-R .backup | ||
18 | rm -rf * | 17 | rm -rf * |
19 | cp -p -r .backup/* . | 18 | cp -p -r .backup/* . |
20 | rm -rf .backup | 19 | rm -rf .backup |