🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #9

Makefile for diff-2.0 should stick in some $(binprefix)es

#9
From: david carlton
Date: Wed, 28 Oct 1992 17:05
30 lines
1406 bytes
The makefile for diff-2.0 doesn't stick in $(binprefix) when defining
DIFF_PROGRAM; the following patch should fix it.

*** 107,116 ****
  diff.o fnmatch.o: fnmatch.h
  
  diff3.o: diff3.c
!       $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -DDIFF_PROGRAM=\"$(bindir)/diff\" $(srcdir)/diff3.c
  
  sdiff.o: sdiff.c
!       $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -DDIFF_PROGRAM=\"$(bindir)/diff\" $(srcdir)/sdiff.c
  
  TAGS: $(srcs)
        etags $(srcs)
--- 107,116 ----
  diff.o fnmatch.o: fnmatch.h
  
  diff3.o: diff3.c
!       $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -DDIFF_PROGRAM=\"$(bindir)/$(binprefix)diff\" $(srcdir)/diff3.c
  
  sdiff.o: sdiff.c
!       $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -DDIFF_PROGRAM=\"$(bindir)/$(binprefix)diff\" $(srcdir)/sdiff.c
  
  TAGS: $(srcs)
        etags $(srcs)

david carlton
carlton@husc.harvard.edu

       We have DIFFERENT amounts of HAIR --
Technical Details
Message-ID: <CARLTON.92Oct28120510@scws8.harvard.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!scws8.harvard.edu!carlton

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!scws8.harvard.edu!carlton
From: carlton@scws8.harvard.edu (david carlton)
Subject: Makefile for diff-2.0 should stick in some $(binprefix)es
Message-ID: <CARLTON.92Oct28120510@scws8.harvard.edu>
Sender: gnulists@ai.mit.edu
Organization: Citizens for Boysenberry Jam
Distribution: gnu
Date: Wed, 28 Oct 1992 17:05:10 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 31