Don't build documentation for the recorder when it's disabled

When building with gtk-doc but no recorder, build fails trying to
get the GType of ShellRecorder. Fix it by skipping its header file
when disabled.
This commit is contained in:
Giovanni Campagna 2012-07-10 19:24:50 +02:00
parent d2b4a65e65
commit 3a48daaa64

View File

@ -68,6 +68,10 @@ IGNORE_HFILES= \
gactionobserver.h \ gactionobserver.h \
shell-recorder-src.h shell-recorder-src.h
if !BUILD_RECORDER
IGNORE_HFILES += shell-recorder.h
endif
# Images to copy into HTML directory. # Images to copy into HTML directory.
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
HTML_IMAGES= HTML_IMAGES=