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

tidy → tidyup View File