From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: PATCH: phony make targets
Date: Sun, 02 Jan 2000 19:39:06 +0000 [thread overview]
Message-ID: <E124qoZ-0005hI-00.2000-01-02-19-37-19@cmailg3.svr.pol.co.uk> (raw)
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>
next reply other threads:[~2000-01-02 19:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-02 19:39 Peter Stephenson [this message]
2000-01-03 3:06 ` Zefram
2000-01-04 22:20 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E124qoZ-0005hI-00.2000-01-02-19-37-19@cmailg3.svr.pol.co.uk \
--to=pws@pwstephenson.fsnet.co.uk \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).