Browse Source

Tidying in makefile

Bob Mottram 8 years ago
parent
commit
6becc4b2ba
2 changed files with 5 additions and 2 deletions
  1. 5
    2
      Makefile
  2. 0
    0
      tidyup

+ 5
- 2
Makefile View File

@@ -11,8 +11,9 @@ rmtranslations:
11 11
 	bash -c "./translate remove"
12 12
 alltranslations:
13 13
 	bash -c "./translate translations"
14
-tidy:
15
-	./tidy src/*
14
+tidyup:
15
+	./tidyup src/*
16
+	rm -f src/*~
16 17
 source:
17 18
 	tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs
18 19
 	gzip -f9n ../${APP}_${VERSION}.orig.tar
@@ -61,6 +62,8 @@ uninstall:
61 62
 	rm -rf /etc/${APP}
62 63
 	bash -c "./translate uninstall"
63 64
 clean:
65
+	./tidyup src/*
66
+	rm -f src/*~
64 67
 	rm -f \#* \.#* debian/*.substvars debian/*.log
65 68
 	rm -fr deb.* debian/${APP}
66 69
 	rm -f ../${APP}*.deb ../${APP}*.changes ../${APP}*.asc ../${APP}*.dsc

tidy → tidyup View File