zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: phony make targets
@ 2000-01-02 19:39 Peter Stephenson
  2000-01-03  3:06 ` Zefram
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2000-01-02 19:39 UTC (permalink / raw)
  To: Zsh hackers list

GNU make sometimes creates empty files with the names of phony targets such
as `FORCE' and `all'.  This should help in this case, I hope other forms of
make will just ignore it.  It's not a complete set but it includes the
targets I most frequently find created unnecessarily.

Index: Src/Makefile.in
===================================================================
RCS file: /home/pws/CVSROOT/projects/zsh/Src/Makefile.in,v
retrieving revision 1.9
diff -u -r1.9 Makefile.in
--- Src/Makefile.in	1999/12/22 23:17:29	1.9
+++ Src/Makefile.in	2000/01/02 17:47:49
@@ -39,6 +39,12 @@
 
 @DEFS_MK@
 
+.PHONY: all bin headers modules modobjs modules prep rm-modobjs-tmp \
+	FORCE mostlyclean-here clean-here distclean-here mostlyclean \
+	clean distclean realclean mostlyclean-modules clean-modules \
+	distclean-modules realclean-modules install.modules \
+	uninstall.modules proto
+
 sdir_src      = $(sdir)
 dir_src       = .
 
Index: Src/Makemod.in.in
===================================================================
RCS file: /home/pws/CVSROOT/projects/zsh/Src/Makemod.in.in,v
retrieving revision 1.4
diff -u -r1.4 Makemod.in.in
--- Src/Makemod.in.in	1999/12/21 15:18:27	1.4
+++ Src/Makemod.in.in	2000/01/02 17:50:53
@@ -40,6 +40,12 @@
 
 @DEFS_MK@
 
+.PHONY: all modobjs modules headers proto prep FORCE install uninstall \
+	install.bin uninstall.bin install.modules uninstall.modules \
+	install.bin-here uninstall.bin-here install.modules-here \
+	uninstall.modules-here mostlyclean-here clean-here distclean-here \
+	
+
 sdir_src      = $(sdir_top)/Src
 dir_src       = $(dir_top)/Src
 
Index: Doc/Makefile.in
===================================================================
RCS file: /home/pws/CVSROOT/projects/zsh/Doc/Makefile.in,v
retrieving revision 1.17
diff -u -r1.17 Makefile.in
--- Doc/Makefile.in	1999/12/21 15:18:27	1.17
+++ Doc/Makefile.in	2000/01/02 17:55:28
@@ -37,6 +37,10 @@
 
 @DEFS_MK@
 
+.PHONY: all everything install uninstall install.man uninstall.man \
+	install.info uninstall.info install.html uninstall.html \
+	clean-here distclean-here realclean-here
+
 MAKEINFO = makeinfo
 TEXI2DVI = texi2dvi
 DVIPS = dvips -D 300

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-01-04 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-02 19:39 PATCH: phony make targets Peter Stephenson
2000-01-03  3:06 ` Zefram
2000-01-04 22:20   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).