* Makefile.am (regen-am, $(srcdir)/headers.mk): Execute
`./generate_dist_headers.sh' from the source dir, not the build
dir.
---
scribo/ChangeLog | 8 ++++++++
scribo/Makefile.am | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index ddebb31..bf302c2 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,13 @@
2009-06-11 Roland Levillain <roland(a)lrde.epita.fr>
+ Fix the generation of headers.mk in SCRIBO.
+
+ * Makefile.am (regen-am, $(srcdir)/headers.mk): Execute
+ `./generate_dist_headers.sh' from the source dir, not the build
+ dir.
+
+2009-06-11 Roland Levillain <roland(a)lrde.epita.fr>
+
Add support for Vcs and svn-wrapper.
* vcs/scribo.rb: New.
diff --git a/scribo/Makefile.am b/scribo/Makefile.am
index 2285b6c..11aadf8 100644
--- a/scribo/Makefile.am
+++ b/scribo/Makefile.am
@@ -28,7 +28,7 @@ include $(top_srcdir)/build-aux/regen-recursive.mk
REGEN_SUBDIRS += tests
regen-am:
- ./generate_dist_headers.sh
+ cd $(srcdir) && ./generate_dist_headers.sh
EXTRA_DIST = generate_dist_headers.sh
# FIXME: Change generate_dist_headers.sh so that the action looks like this:
@@ -36,6 +36,6 @@ EXTRA_DIST = generate_dist_headers.sh
# $< $@.tmp && mv -f $@.tmp $@ && chmod -w $@
#
$(srcdir)/headers.mk: $(srcdir)/generate_dist_headers.sh
- ./generate_dist_headers.sh
+ cd $(srcdir) && ./generate_dist_headers.sh
include $(srcdir)/headers.mk
--
1.6.2.4
Show replies by date