diff --git a/docs/reference/shell/Makefile.am b/docs/reference/shell/Makefile.am index b9f1ba475..b79bc7be2 100644 --- a/docs/reference/shell/Makefile.am +++ b/docs/reference/shell/Makefile.am @@ -68,6 +68,10 @@ IGNORE_HFILES= \ gactionobserver.h \ shell-recorder-src.h +if !BUILD_RECORDER +IGNORE_HFILES += shell-recorder.h +endif + # Images to copy into HTML directory. # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png HTML_IMAGES=