Commit 2871fffc authored by Roland Levillain's avatar Roland Levillain
Browse files

Factor local recursive targets in top-level Makefile.

	* Makefile.am (doc, pretty-check): Remove targets.
	(LOCAL_RECURSIVE_TARGETS): New.
	Add doc and pretty-check.
	($(LOCAL_RECURSIVE_TARGETS)): New (phony) target.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4027 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 391019f5
2009-06-08 Roland Levillain <roland@lrde.epita.fr>
Factor local recursive targets in top-level Makefile.
* Makefile.am (doc, pretty-check): Remove targets.
(LOCAL_RECURSIVE_TARGETS): New.
Add doc and pretty-check.
($(LOCAL_RECURSIVE_TARGETS)): New (phony) target.
2009-06-08 Roland Levillain <roland@lrde.epita.fr>
Install recursive regeneration rules in the top level.
......
......@@ -8,15 +8,11 @@ if ENABLE_SWILENA
SUBDIRS += swilena
endif ENABLE_SWILENA
.PHONY: doc pretty-check
# Shortcut to generate the documentation from the top level.
doc:
# Target shortcuts delegating the actual action to milena/Makefile.
LOCAL_RECURSIVE_TARGETS = doc pretty-check
$(LOCAL_RECURSIVE_TARGETS):
cd milena && $(MAKE) $(AM_MAKEFLAGS) $@
# Shortcut to launch the pretty check from the top level.
pretty-check:
cd milena/tests && $(MAKE) $(AM_MAKEFLAGS) $@
.PHONY: $(LOCAL_RECURSIVE_TARGETS)
# Regen files recursively.
include $(top_srcdir)/build-aux/regen-recursive.mk
......
Markdown is supported
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