* Makefile tweaks
@ 1996-12-16 10:01 Zefram
0 siblings, 0 replies; only message in thread
From: Zefram @ 1996-12-16 10:01 UTC (permalink / raw)
To: Z Shell workers mailing list
-----BEGIN PGP SIGNED MESSAGE-----
A couple of simple Makefile fixes:
* There are now two rules that output some sort of warning message if the
main command fails. This patch changes them both to hide the message
if it is not needed, and to display the actual command being executed
(to make things look normal).
* rlimits.h should depend on rlimits.awk.
-zefram
Index: Doc/Makefile.in
===================================================================
RCS file: /home/zefram/usr/cvsroot/zsh/Doc/Makefile.in,v
retrieving revision 1.2
diff -c -r1.2 Makefile.in
*** Doc/Makefile.in 1996/11/23 01:18:49 1.2
--- Doc/Makefile.in 1996/12/16 07:55:46
***************
*** 102,110 ****
everything: all zsh_us.ps zsh_a4.ps zsh_toc.html
zsh.info: zsh.texi
$(MAKEINFO) -I$(srcdir) $(srcdir)/zsh.texi || { \
! echo Info documentation cannot be compiled without $(MAKEINFO). ; \
! echo You can find precompiled info files in zsh-doc.tar.gz. ; }
zsh.dvi: zsh.texi
$(TEXI2DVI) $(srcdir)/zsh.texi
--- 102,112 ----
everything: all zsh_us.ps zsh_a4.ps zsh_toc.html
zsh.info: zsh.texi
+ @echo '$(MAKEINFO) -I$(srcdir) $(srcdir)/zsh.texi'; \
$(MAKEINFO) -I$(srcdir) $(srcdir)/zsh.texi || { \
! echo Info documentation cannot be compiled without $(MAKEINFO). ; \
! echo You can find precompiled info files in zsh-doc.tar.gz. ; \
! }
zsh.dvi: zsh.texi
$(TEXI2DVI) $(srcdir)/zsh.texi
Index: Src/Makefile.in
===================================================================
RCS file: /home/zefram/usr/cvsroot/zsh/Src/Makefile.in,v
retrieving revision 1.12
diff -c -r1.12 Makefile.in
*** Src/Makefile.in 1996/12/16 06:13:58 1.12
--- Src/Makefile.in 1996/12/16 07:54:42
***************
*** 215,224 ****
# this file will not be made if limits are unavailable:
# silent so the warning doesn't appear unless necessary
! rlimits.h : $(RLIMITS_INC_H)
! @echo Generating rlimits.h...
! @$(AWK) -f $(srcdir)/rlimits.awk $(RLIMITS_INC_H) > rlimits.h || \
! echo WARNING: unknown limits: mail rlimits.h to developers
$(OBJS): $(HDRS)
--- 215,224 ----
# this file will not be made if limits are unavailable:
# silent so the warning doesn't appear unless necessary
! rlimits.h: rlimits.awk $(RLIMITS_INC_H)
! @echo '$(AWK) -f $(srcdir)/rlimits.awk $(RLIMITS_INC_H) > rlimits.h'; \
! $(AWK) -f $(srcdir)/rlimits.awk $(RLIMITS_INC_H) > rlimits.h || \
! echo WARNING: unknown limits: mail rlimits.h to developers
$(OBJS): $(HDRS)
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMrUCIXD/+HJTpU/hAQH81QQAoGw/HoZjqvJ9siWlTmp6i0TGh3sbx1bz
15lmsijYlY6HUut9IsGehOJeKn8d3otzC/zd7bo5gbeZIQLgLjOsrsWFekXudMgC
X787shEnsOHwrgSY47hSk4PGcpSvpJ0f95Q7D9Hsz/gWxiBUnGQAWKUxHN/XKmpk
R7E4rTwvGu0=
=Lywd
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-12-16 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-16 10:01 Makefile tweaks Zefram
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).