diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am index bf3a58835..b1587b0c6 100644 --- a/doc/reference/Makefile.am +++ b/doc/reference/Makefile.am @@ -111,6 +111,15 @@ IGNORE_HFILES= \ xprops.h \ $(NULL) +if !HAVE_NATIVE_BACKEND +IGNORE_HFILES+= \ + meta-backend-native.h \ + meta-cursor-renderer-native.h \ + meta-idle-monitor-native.h \ + meta-monitor-manager-kms.h \ + $(NULL) +endif + if !HAVE_WAYLAND IGNORE_HFILES += \ meta-surface-actor-wayland.h \