summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-12-07 00:37:31 +0000
committerHerb Lewis <herb@samba.org>2001-12-07 00:37:31 +0000
commit8d0eb004a023ffcb4dd30d12059d6659ed39ea51 (patch)
tree9355e7b97dfca5d717e5cab879b97e32fc3fabec /source3
parent92dc8017338ae18538bdd014361b858818789e35 (diff)
downloadsamba-8d0eb004a023ffcb4dd30d12059d6659ed39ea51.tar.gz
samba-8d0eb004a023ffcb4dd30d12059d6659ed39ea51.tar.bz2
samba-8d0eb004a023ffcb4dd30d12059d6659ed39ea51.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in6
1 files 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