From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12122 invoked from network); 2 May 2000 11:52:06 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 May 2000 11:52:06 -0000 Received: (qmail 29683 invoked by alias); 2 May 2000 11:51:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11064 Received: (qmail 29674 invoked from network); 2 May 2000 11:51:49 -0000 Message-ID: <390EC13F.851CD8A9@u.genie.co.uk> Date: Tue, 02 May 2000 12:51:27 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Zsh workers Subject: Empty .pro files causing compiler warnings Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit When compiling under AIX, I get loads of warnings complaining about a number of the .pro files being empty. 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. If that isn't possible, I'll think up another way. This isn't critical because as I said, they are only warnings so all they do is detract from the real information and don't make it look very professional. Oliver --- Src/Makemod.in.in.bak Wed Jan 5 01:41:27 2000 +++ Src/Makemod.in.in Mon May 1 18:05:54 2000 @@ -83,7 +83,8 @@ .syms.epro: sed -n '/^E/{s/^E//;p;}' < $< > $@ - sed -n '/^L/{s/^L//;p;}' < $< > `echo $@ | sed 's/\.epro$$/.pro/'` + sed -n -e '1i\ +/* Generated automatically */' -e '/^L/{s/^L//;p;}' < $< > `echo $@ | sed 's/\.epro$$/.pro/'` PROTODEPS = $(sdir_src)/makepro.awk