diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-08-08 12:35:21 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-08-08 12:35:21 +0100 |
commit | 07e07706803d1d160d2ff486d6b3e6f2ebf3f6b6 (patch) | |
tree | a6cfb7e9d87ec6f6519db5c8dac7815e9bde1ab6 /docs | |
parent | e4c705006c883461b9627c862fe733fa013bcfc0 (diff) |
We have to have yts-marshal.h in IGNORE_HFILES because if we're doing an
in-tree build, we want it ignored. However, in an out-of-tree build,
it won't be found in $(DOC_SOURCE_DIR) and that's OK.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ytstenut/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/reference/ytstenut/Makefile.am b/docs/reference/ytstenut/Makefile.am index bbe4574..eaab750 100644 --- a/docs/reference/ytstenut/Makefile.am +++ b/docs/reference/ytstenut/Makefile.am @@ -141,7 +141,8 @@ check-local: $(AM_V_GEN) b=`tput bold` && \ n=`tput sgr0` && \ for f in $(IGNORE_HFILES); do \ - if [ "`find $(DOC_SOURCE_DIR) -name $${f}`" = "" ]; then \ + if [ "`find $(DOC_SOURCE_DIR) -name $${f}`" = "" ] && \ + [ "`find $(abs_top_builddir)/ytstenut -name $${f}`" = "" ]; then \ echo "$${b}Error: $${f} is ignored but not found anyway.$${n}"; \ exit 1; \ fi \ |