Commit ae371b4c authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix the manual regeneration of headers.mk.

	* Makefile.am ($(srcdir)/headers.mk): Move action...
	(regen-dist): ...here.
	Remove any dependency.
	($(srcdir)/headers.mk): Delegate action to rule regen-dist.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3826 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent b7ea3543
2009-05-15 Roland Levillain <roland@lrde.epita.fr>
Fix the manual regeneration of headers.mk.
* Makefile.am ($(srcdir)/headers.mk): Move action...
(regen-dist): ...here.
Remove any dependency.
($(srcdir)/headers.mk): Delegate action to rule regen-dist.
2009-05-14 Roland Levillain <roland@lrde.epita.fr>
 
Improve the portability of mesh/Makefile.
......@@ -25,14 +25,15 @@ tools:
$(MAKE) -C tools all
.PHONY: regen-dist
regen-dist: $(srcdir)/headers.mk
regen-dist:
cd $(srcdir) && ./generate_dist_headers.sh && chmod -w headers.mk
# FIXME: Change generate_dist_headers.sh so that the action looks like this:
#
# $< $@.tmp && mv -f $@.tmp $@ && chmod -w $@
#
EXTRA_DIST = generate_dist_headers.sh
$(srcdir)/headers.mk: $(srcdir)/generate_dist_headers.sh
cd $(srcdir) && ./generate_dist_headers.sh && chmod -w headers.mk
$(MAKE) $(AM_MAKEFLAGS) regen-dist
include $(srcdir)/headers.mk
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment