From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13509 invoked from network); 2 May 2000 13:44:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 May 2000 13:44:26 -0000 Received: (qmail 28254 invoked by alias); 2 May 2000 13:42:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11074 Received: (qmail 28092 invoked from network); 2 May 2000 13:42:21 -0000 Subject: Re: Empty .pro files causing compiler warnings In-Reply-To: <390EC13F.851CD8A9@u.genie.co.uk> from Oliver Kiddle at "May 2, 2000 12:51:27 pm" To: Oliver Kiddle Date: Tue, 2 May 2000 14:41:54 +0100 (BST) CC: Zsh workers X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Zefram Oliver Kiddle wrote: > The patch below fixes this on AIX >by putting a comment in all .pro files but note no 'PATCH' in the >subject. This is because GNU make doesn't seem to cope with the >multi-line sed. Can someone who knows how to do multi-line commands in >a Makefile please fix this up properly. diff -c -u -r1.1.1.13 Makemod.in.in --- Src/Makemod.in.in 2000/01/05 01:41:27 1.1.1.13 +++ Src/Makemod.in.in 2000/05/02 13:38:05 @@ -82,8 +82,10 @@ $(AWK) -f $(sdir_src)/makepro.awk $< $(subdir) > $@ .syms.epro: - sed -n '/^E/{s/^E//;p;}' < $< > $@ - sed -n '/^L/{s/^L//;p;}' < $< > `echo $@ | sed 's/\.epro$$/.pro/'` + (echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < $<) \ + > $@ + (echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < $<) \ + > `echo $@ | sed 's/\.epro$$/.pro/'` PROTODEPS = $(sdir_src)/makepro.awk diff -c -u -r1.179 ChangeLog --- ChangeLog 2000/05/02 13:08:19 1.179 +++ ChangeLog 2000/05/02 13:39:09 @@ -1,3 +1,8 @@ +2000-05-02 Andrew Main + + * zefram103: Src/Makemod.in.in: make sure .{e,}pro files are + non-empty, to keep the AIX compiler quiet. + 2000-05-02 Peter Stephenson * 11066: Src/exec.c: suppress doing in and/or when at the end -zefram