Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

Commit

Permalink
build: Makefile: Add generate-files rule
Browse files Browse the repository at this point in the history
Sometimes you just want to generate the generated files without
doing a full build or a further test run (for instance, if we want
to run the tests on an already installed runtime).
Add a rule to allow that.

Fixes: #945

Signed-off-by: Graham Whaley <[email protected]>
  • Loading branch information
Graham Whaley committed Jun 8, 2017
1 parent b82bbc2 commit eed89de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ $(GENERATED_FILES): %: %.in Makefile
abs_builddir="$(abs_builddir)" \
$(top_srcdir)/data/genfile.sh "$<" "$@"

# Sometimes you just want to generate the generated files without having
# to do a full build or run some tests - so add a simple target rule
# to allow that.
generate-files: $(GENERATED_FILES)

if FUNCTIONAL_TESTS
if AUTO_BUNDLE_CREATION

Expand Down

0 comments on commit eed89de

Please sign in to comment.