[arch-projects] [initscripts] [PATCH 1/2] Makefile: Mark phony targets

Lukas Fleischer archlinux at cryptocrack.de
Mon Mar 12 10:19:03 EDT 2012


Most targets used in our Makefile don't refer to files. Use the ".PHONY"
special target to mark these. Doing this prevents us from file name
conflicts and improves performance a bit.

Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 Makefile |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 3e83e58..1081730 100644
--- a/Makefile
+++ b/Makefile
@@ -62,3 +62,5 @@ tar:
 release: tar
 	scp initscripts-$(VER).tar.xz gerolde.archlinux.org:/srv/ftp/other/initscripts/
 	scp initscripts-$(VER).tar.xz pkgbuild.com:~/svn-packages/initscripts/trunk/
+
+.PHONY: all installdirs install doc clean tar release
-- 
1.7.9.3



More information about the arch-projects mailing list