aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2022-11-15 19:12:49 +0100
committerRobert Alessi <alessi@robertalessi.net>2022-11-15 19:12:49 +0100
commitc1511160615c73a0429aa673fbdff4003c0c75c8 (patch)
tree506b90ede8301a042572e11d83eef7eacbea47b4
parenta3422f818d7fff7b8b78a0b1b291fd15c34f229a (diff)
downloadekdosis-c1511160615c73a0429aa673fbdff4003c0c75c8.tar.gz
adapted find cmd in Makefiles to Unix-style
-rw-r--r--Makefile2
-rw-r--r--samples/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5046e12..a38fa34 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ clean: testsamples
52 rm -f $(NAME).bib $(PWD)/TMP/*.bib 52 rm -f $(NAME).bib $(PWD)/TMP/*.bib
53 rm -rf .backup 53 rm -rf .backup
54 rm -rf auto 54 rm -rf auto
55 find -iname "*~" -or -iname "*.pdf" -or -iname "*_out*.tex" | xargs rm -rf 55 find ./ -iname "*~" -or -iname "*.pdf" -or -iname "*_out*.tex" | xargs rm -rf
56 find ./* -type f -iname "Makefile" $(findopts) $(findfiles) > ls-R 56 find ./* -type f -iname "Makefile" $(findopts) $(findfiles) > ls-R
57 find ./* -type f -iname "*.tex" | grep '/samples/' >> ls-R 57 find ./* -type f -iname "*.tex" | grep '/samples/' >> ls-R
58 rsync -aPr --files-from=ls-R . .backup 58 rsync -aPr --files-from=ls-R . .backup
diff --git a/samples/Makefile b/samples/Makefile
index 8cb7a98..eee238a 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -17,7 +17,7 @@ all: test
17 cp ../ekdosis.{lua,sty} . 17 cp ../ekdosis.{lua,sty} .
18 $(foreach file,$(texsamples), $(call dosamples, $(file))) 18 $(foreach file,$(texsamples), $(call dosamples, $(file)))
19 rm -rf auto 19 rm -rf auto
20 find -iname "*~" -or -iname "*_out*.tex" | xargs rm -rf 20 find ./ -iname "*~" -or -iname "*_out*.tex" | xargs rm -rf
21 find ./* -type f -iname "Makefile" $(findopts) > ls-R 21 find ./* -type f -iname "Makefile" $(findopts) > ls-R
22 rsync -aPr --files-from=ls-R . .backup 22 rsync -aPr --files-from=ls-R . .backup
23 rm -rf * 23 rm -rf *