From 3a10368f5f12bda5d630583a0d3da1bac816f956 Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Mon, 18 Jun 2012 23:47:11 +0200 Subject: [PATCH] remove covers/ directory when performing 'make clean' - this directory is (fastly) auto generated during 'make' anyway - it avoids songbooks displaying out of date covers --- macos/clean.sh | 2 ++ makefile | 1 + windows/clean.bat | 2 ++ 3 files changed, 5 insertions(+) diff --git a/macos/clean.sh b/macos/clean.sh index 69261044..0cda9a79 100755 --- a/macos/clean.sh +++ b/macos/clean.sh @@ -2,3 +2,5 @@ # echo "manually performs 'make clean'" rm -rf *.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd +echo "remove temporary covers" +rm -rf covers/ diff --git a/makefile b/makefile index 653ea021..2c02e7e2 100644 --- a/makefile +++ b/makefile @@ -61,6 +61,7 @@ clean: $(TARGETS:%=%.nav) $(TARGETS:%=%.snm) @rm -f *.sbx *.sxd *.sxc @rm -f *.pyc + @rm -rf covers/ cleanall: clean @rm -f $(PDF) diff --git a/windows/clean.bat b/windows/clean.bat index ab78c95d..7eee1339 100644 --- a/windows/clean.bat +++ b/windows/clean.bat @@ -1,2 +1,4 @@ Rem manually performs "make clean" FOR %%A IN (*.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd) DO DEL %%A +Rem remove temporary covers +FOR %%A IN (covers\*.*) DO DEL %%A