summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-12-04 21:58:37 +0000
committerJean-François Micouleau <jfm@samba.org>2001-12-04 21:58:37 +0000
commite9894404bab1ad9d4f998109fd0922c16dbd401a (patch)
treeb38cd8ce2128b7cdf2379016ecb958ececc84e0d
parent922eb763d7365716fd3c20aa069746fc9bfb8ab3 (diff)
downloadsamba-e9894404bab1ad9d4f998109fd0922c16dbd401a.tar.gz
samba-e9894404bab1ad9d4f998109fd0922c16dbd401a.tar.bz2
samba-e9894404bab1ad9d4f998109fd0922c16dbd401a.zip
move proto.h and build_env.h from $(srcdir)/include to $(builddir)/include
tridge, martin, if you think it's wrong , you can revert it. J.F. (This used to be commit f057d62aae620b042903dae61a19628cb57aba39)
-rw-r--r--source3/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 37217c953a..eaa225cd04 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -786,6 +786,7 @@ winbindd_proto:
delheaders:
@/bin/rm -f $(srcdir)/include/proto.h $(srcdir)/include/build_env.h
+ @/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
@@ -795,11 +796,11 @@ $(PROTO_OBJ) : .headers.stamp
include/proto.h:
@echo rebuilding include/proto.h
- @cd $(srcdir) && $(AWK) -f script/mkproto.awk `echo $(PROTO_OBJ) | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort -u | egrep -v 'ubiqx/|wrapped'` > include/proto.h
+ @cd $(srcdir) && $(AWK) -f script/mkproto.awk `echo $(PROTO_OBJ) | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort -u | egrep -v 'ubiqx/|wrapped'` > $(builddir)/include/proto.h
include/build_env.h:
@echo rebuilding include/build_env.h
- @cd $(srcdir) && $(SHELL) script/build_env.sh $(srcdir) $(builddir) $(CC) > 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