From 6becc4b2ba744179dea29d961d6347162dcb10b0 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Sun, 24 Jul 2016 14:31:15 +0100
Subject: [PATCH] Tidying in makefile

---
 Makefile       | 7 +++++--
 tidy => tidyup | 0
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename tidy => tidyup (100%)

diff --git a/Makefile b/Makefile
index 9e079b933..2aa96dc3a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,9 @@ rmtranslations:
 	bash -c "./translate remove"
 alltranslations:
 	bash -c "./translate translations"
-tidy:
-	./tidy src/*
+tidyup:
+	./tidyup src/*
+	rm -f src/*~
 source:
 	tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs
 	gzip -f9n ../${APP}_${VERSION}.orig.tar
@@ -61,6 +62,8 @@ uninstall:
 	rm -rf /etc/${APP}
 	bash -c "./translate uninstall"
 clean:
+	./tidyup src/*
+	rm -f src/*~
 	rm -f \#* \.#* debian/*.substvars debian/*.log
 	rm -fr deb.* debian/${APP}
 	rm -f ../${APP}*.deb ../${APP}*.changes ../${APP}*.asc ../${APP}*.dsc
diff --git a/tidy b/tidyup
similarity index 100%
rename from tidy
rename to tidyup
-- 
GitLab