zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: Makefile tweaks
Date: Mon, 16 Dec 1996 10:01:09 +0000 (GMT)	[thread overview]
Message-ID: <25654.199612161001@stone.dcs.warwick.ac.uk> (raw)

-----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-----


                 reply	other threads:[~1996-12-16 10:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=25654.199612161001@stone.dcs.warwick.ac.uk \
    --to=zefram@dcs.warwick.ac.uk \
    --cc=zsh-workers@math.gatech.edu \
    /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).