From 8d0eb004a023ffcb4dd30d12059d6659ed39ea51 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Fri, 7 Dec 2001 00:37:31 +0000 Subject: OK I think this does what everyone wants with the .headers.stamp it gets removed on a make clean it gets created on a make headers (if it doesn't already exist) This makes it so I only rebuild everthing once after a make clean and also so nothing gets rebuilt after jfm does a make headers (proto) (This used to be commit bc918bce104954b39bd54cab3149a0f4573feb5f) --- source3/Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/Makefile.in b/source3/Makefile.in index 362965a312..6d9bd9c54c 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -783,7 +783,7 @@ uninstallscripts: @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS) $(BINDIR) $(SCRIPTS) clean: delheaders - -rm -f core */*~ *~ */*.o */*.po */*.po32 */*.@SHLIBEXT@ $(PROGS) $(SPROGS) + -rm -f core */*~ *~ */*.o */*.po */*.po32 */*.@SHLIBEXT@ $(PROGS) $(SPROGS) .headers.stamp winbindd_proto: @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \ @@ -795,7 +795,7 @@ delheaders: @/bin/rm -f include/proto.h include/build_env.h # we want our generated headers to be rebuilt if they don't exist, but not rebuilt every time -.headers.stamp: include/proto.h include/build_env.h +.headers.stamp: @[ -f $@ ] || touch $@ $(PROTO_OBJ) : .headers.stamp @@ -808,7 +808,7 @@ include/build_env.h: @echo rebuilding include/build_env.h @cd $(srcdir) && $(SHELL) script/build_env.sh $(srcdir) $(builddir) $(CC) > $(builddir)/include/build_env.h -headers: delheaders include/proto.h include/build_env.h +headers: delheaders include/proto.h include/build_env.h .headers.stamp proto: headers winbindd_proto -- cgit