Skip to content

Commit

Permalink
Fix make update if generated fields in libbeat are missing (#3006)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin authored and andrewkroh committed Nov 15, 2016
1 parent e9a506f commit f39b0e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libbeat/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ update: python-env collect
cat _meta/beat.full.yml ${ES_BEATS}/libbeat/_meta/config.full.yml | sed -e "s/beatname/${BEATNAME}/g" > ${BEATNAME}.full.yml ; \
fi;

# make sure generated docs in libbeat are up-to-date
$(MAKE) -C ${ES_BEATS}/libbeat fields

# Update docs
. ${PYTHON_ENV}/bin/activate && python ${ES_BEATS}/libbeat/scripts/generate_fields_docs.py $(PWD) ${BEATNAME} ${ES_BEATS}

Expand Down

0 comments on commit f39b0e2

Please sign in to comment.