🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1340

Makefile.in patch for gzip 0.8.1

#1340
From: Jason Merrill
Date: Wed, 27 Jan 1993 02:44
50 lines
2021 bytes
When I ran 'make check', it created _gztest.z, then died with and Error 1
message.  This is due to the result of the test(1) being carried forward; I
added an 'else true', and now it checks out happily.

*** Makefile.in~	Fri Jan 22 03:21:30 1993
--- Makefile.in	Mon Jan 25 22:53:56 1993
***************
*** 161,168 ****
  check:	all
  	./gzip < $(srcdir)/texinfo.tex > _gztest.z
  	@if test `wc -c < _gztest.z` -ne 30890; then \
! 	   echo FAILED gzip test: incorrect size; rm -f _gztest*; exit 1; fi
! 	rm -f _gztest
  	./gzip -d _gztest.z
  	@if cmp _gztest $(srcdir)/texinfo.tex; then \
  	   echo gzip test OK; else \
--- 161,169 ----
  check:	all
  	./gzip < $(srcdir)/texinfo.tex > _gztest.z
  	@if test `wc -c < _gztest.z` -ne 30890; then \
! 	   echo FAILED gzip test: incorrect size; rm -f _gztest*; exit 1; else\
! 	   true; fi
! 	rm -f _gztest			# Why?
  	./gzip -d _gztest.z
  	@if cmp _gztest $(srcdir)/texinfo.tex; then \
  	   echo gzip test OK; else \

match.S wouldn't compile in a subdirectory because $(CPP) couldn't find
match.S in the current directory...

***************
*** 223,229 ****
  gzip$O getopt$O: getopt.h
  
  match$O: match.S
! 	$(CPP) match.S > _match.s
  	$(CC) -c _match.s
  	mv _match$O match$O
  	rm -f _match.s
--- 224,230 ----
  gzip$O getopt$O: getopt.h
  
  match$O: match.S
! 	$(CPP) $(srcdir)/match.S > _match.s
  	$(CC) -c _match.s
  	mv _match$O match$O
  	rm -f _match.s

--
Jason Merrill					jason@jarthur.claremont.edu
Technical Details
Message-ID: <JASON.93Jan25230448@ooze.claremont.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!jarthur.claremont.edu!jason

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!jarthur.claremont.edu!jason
From: jason@jarthur.claremont.edu (Jason Merrill)
Newsgroups: gnu.utils.bug
Subject: Makefile.in patch for gzip 0.8.1
Date: 26 Jan 1993 21:44:10 -0500
Organization: Minimal
Lines: 51
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-utils@prep.ai.mit.edu
Distribution: gnu
Message-ID: <JASON.93Jan25230448@ooze.claremont.edu>