[FIX] HEAD & 3_0 winbindd_proto - Makefile.in

Stefan (metze) Metzmacher metze at metzemix.de
Thu May 16 22:41:02 GMT 2002


I noticed a bug in HEAD's and 3_0's Makefile(Makefile.in)

when I run make clean 'nsswitch/winbindd_proto.h' is deleted, but when I 
run make it's not created!
If I run 'cvs update' I got winbindd_proto.h from CVS.

Here's a patch for the Makefile.in,
I would preferr to delete winbindd_proto.h from CVS.

-------------------------------------------------------------------------------
--- HEAD/source/Makefile.in     Fri May 17 07:31:56 2002
+++ HEAD-fix/source/Makefile.in Thu May 16 13:54:51 2002
@@ -470,7 +470,7 @@
  ######################################################################
  # now the rules...
  ######################################################################
-all : SHOWFLAGS include/proto.h include/wrepld_proto.h include/build_env.h 
$(SPROGS) $(PROGS) $(WINBIND_PROGS) $(WINBIND_SPROGS) $(LPROGS) $(SHLIBS)
+all : SHOWFLAGS headers $(SPROGS) $(PROGS) $(WINBIND_PROGS) 
$(WINBIND_SPROGS) $(LPROGS) $(SHLIBS)

  pam_smbpass : SHOWFLAGS bin/pam_smbpass. at SHLIBEXT@

@@ -855,8 +855,7 @@
           -h _WREPLD_PROTO_H_ $(builddir)/include/wrepld_proto.h \
           $(WREPL_OBJ1)

-headers:
-       $(MAKE) delheaders include/proto.h include/build_env.h 
include/wrepld_proto.h winbindd_proto
+headers: include/proto.h include/build_env.h include/wrepld_proto.h 
winbindd_proto

  proto: headers
----------------------------------------------------------------------------


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
-------------- next part --------------
--- HEAD/source/Makefile.in	Fri May 17 07:31:56 2002
+++ HEAD-fix/source/Makefile.in	Thu May 16 13:54:51 2002
@@ -470,7 +470,7 @@
 ######################################################################
 # now the rules...
 ######################################################################
-all : SHOWFLAGS include/proto.h include/wrepld_proto.h include/build_env.h $(SPROGS) $(PROGS) $(WINBIND_PROGS) $(WINBIND_SPROGS) $(LPROGS) $(SHLIBS)
+all : SHOWFLAGS headers $(SPROGS) $(PROGS) $(WINBIND_PROGS) $(WINBIND_SPROGS) $(LPROGS) $(SHLIBS)
 
 pam_smbpass : SHOWFLAGS bin/pam_smbpass. at SHLIBEXT@
 
@@ -855,8 +855,7 @@
 	  -h _WREPLD_PROTO_H_ $(builddir)/include/wrepld_proto.h \
 	  $(WREPL_OBJ1)
 
-headers: 
-	$(MAKE) delheaders include/proto.h include/build_env.h include/wrepld_proto.h winbindd_proto
+headers: include/proto.h include/build_env.h include/wrepld_proto.h winbindd_proto
 
 proto: headers 
 


More information about the samba-technical mailing list