From c1511160615c73a0429aa673fbdff4003c0c75c8 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Tue, 15 Nov 2022 19:12:49 +0100 Subject: adapted find cmd in Makefiles to Unix-style --- Makefile | 2 +- samples/Makefile | 2 +- 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 rm -f $(NAME).bib $(PWD)/TMP/*.bib rm -rf .backup rm -rf auto - find -iname "*~" -or -iname "*.pdf" -or -iname "*_out*.tex" | xargs rm -rf + find ./ -iname "*~" -or -iname "*.pdf" -or -iname "*_out*.tex" | xargs rm -rf find ./* -type f -iname "Makefile" $(findopts) $(findfiles) > ls-R find ./* -type f -iname "*.tex" | grep '/samples/' >> ls-R 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 cp ../ekdosis.{lua,sty} . $(foreach file,$(texsamples), $(call dosamples, $(file))) rm -rf auto - find -iname "*~" -or -iname "*_out*.tex" | xargs rm -rf + find ./ -iname "*~" -or -iname "*_out*.tex" | xargs rm -rf find ./* -type f -iname "Makefile" $(findopts) > ls-R rsync -aPr --files-from=ls-R . .backup rm -rf * -- cgit v1.2.3