X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=docs%2Fgudev%2FMakefile.am;h=659330303b91b771abb98f6b0b89e11ee9b56815;hp=586dd8d190e5b954b65070fcd1ba36a41cc50d18;hb=f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1;hpb=04fb63514d1c98fdf9c9549639a1f6d9812444ac diff --git a/docs/gudev/Makefile.am b/docs/gudev/Makefile.am index 586dd8d19..659330303 100644 --- a/docs/gudev/Makefile.am +++ b/docs/gudev/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in # We require automake 1.10 at least. -AUTOMAKE_OPTIONS = 1.10 +AUTOMAKE_OPTIONS = 1.10 color-tests # This is a blank Makefile.am for using gtk-doc. # Copy this to your project's API docs directory and modify the variables to @@ -43,7 +43,7 @@ MKHTML_OPTIONS=--path=$(abs_srcdir) --path=$(abs_builddir) # Extra options to supply to gtkdoc-fixref. Not normally needed. # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html -FIXXREF_OPTIONS= +FIXXREF_OPTIONS=>/dev/null 2>&1 # Used for dependencies. The docs will be rebuilt if any of these change. # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h @@ -72,6 +72,14 @@ content_files = version.xml # e.g. expand_content_files=running.sgml expand_content_files= +# Hack, hack. You silly gtk-doc, you must not add CFLAGS multiple +# times when calling gcc; it surely can not work with options that must +# be listed only once. +# Kill CFLAGS here because gtk-doc thinks adding CFLAGS to CC _and_ also +# adding CFLAGS itself again would work. +override CFLAGS= +override LDFLAGS= + # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. # Only needed if you are using gtkdoc-scangobj to dynamically query widget # signals and properties. @@ -100,6 +108,8 @@ EXTRA_DIST += version.xml.in # Comment this out if you want your docs-status tested during 'make check' if ENABLE_GTK_DOC -TESTS_ENVIRONMENT = cd $(top_srcdir) -TESTS = $(GTKDOC_CHECK) +if ENABLE_GTK_DOC_TESTS +#TESTS_ENVIRONMENT = cd $(top_srcdir) +#TESTS = $(GTKDOC_CHECK) +endif endif