diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-09-06 12:39:27 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-09-06 12:39:27 +0200 |
commit | 2fa69381b8332949cbd5eaedd1203ae89d0f5962 (patch) | |
tree | e4c4482ebefacb34e4567512314587a6bb2d3e03 | |
parent | bab946cbb2b75b1a413c4b12005d1d60123d8eff (diff) | |
download | courses-2fa69381b8332949cbd5eaedd1203ae89d0f5962.tar.gz |
improved makefile
-rw-r--r-- | files.txt | 5 | ||||
-rw-r--r-- | ls-R | 3 | ||||
-rw-r--r-- | makefile | 4 | ||||
-rw-r--r-- | sandbox/01.tex | 0 |
4 files changed, 6 insertions, 6 deletions
diff --git a/files.txt b/files.txt deleted file mode 100644 index afd71db..0000000 --- a/files.txt +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | files.txt | ||
2 | makefile | ||
3 | README.md | ||
4 | README.tex | ||
5 | sandbox/01.tex \ No newline at end of file | ||
@@ -0,0 +1,3 @@ | |||
1 | ./makefile | ||
2 | ./README.md | ||
3 | ./README.tex | ||
@@ -3,7 +3,9 @@ all: clean | |||
3 | clean: | 3 | clean: |
4 | rm -rf .backup | 4 | rm -rf .backup |
5 | find -iname "*~" | xargs rm -rf | 5 | find -iname "*~" | xargs rm -rf |
6 | rsync -avPr --files-from=files.txt . .backup | 6 | find ./* -type f | grep 'makefile\|md$$\|tex$$' > ls-R |
7 | rsync -avPr --files-from=ls-R . .backup | ||
8 | cp ls-R .backup | ||
7 | rm -rf * | 9 | rm -rf * |
8 | cp -p -r .backup/* . | 10 | cp -p -r .backup/* . |
9 | rm -rf .backup | 11 | rm -rf .backup |
diff --git a/sandbox/01.tex b/sandbox/01.tex deleted file mode 100644 index e69de29..0000000 --- a/sandbox/01.tex +++ /dev/null | |||