[926] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

util/Makefile.in building of libupdate

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Wed Nov 2 08:42:16 1994

From: epeisach@MIT.EDU
Date: Wed, 2 Nov 1994 08:42:07 -0500
To: krb5-bugs@MIT.EDU


With the shipped make that I am using (not gmake) which up until now has
behaved fine, no longer is able to do the job in makeing libupdate....

Your use of $< in the Makefile.in conflicts with the use in my man page:

  $<  Represents the name of the component that	is being used to make the
      target.  Used only in conjunction	with suffix rules.

This is not a suffix rule target....

The patch below fixes the problem....

===================================================================
RCS file: /mit/krb5/.cvsroot/src/util/Makefile.in,v
retrieving revision 1.8
diff -c -r1.8 Makefile.in
*** 1.8	1994/11/01 19:53:14
--- Makefile.in	1994/11/02 13:36:12
***************
*** 7,13 ****
  
  libupdate: $(srcdir)/libupdate.sh
  	rm -f $@ $@.tmp
! 	$(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
  
  clean::
  	$(RM) libupdate
--- 7,13 ----
  
  libupdate: $(srcdir)/libupdate.sh
  	rm -f $@ $@.tmp
! 	$(editsh) $(srcdir)/libupdate.sh > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
  
  clean::
  	$(RM) libupdate

home help back first fref pref prev next nref lref last post