X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=docs%2Fgudev%2FMakefile.am;h=152cd3c018cac4694d1915dd772a893fe6132a2f;hp=a592afa66f68ea31164ba460bab8e6a4fbc42645;hb=29a00c41b8085596c8d5bba00cc758c38069ab48;hpb=cc85759ac99cfff7c1daefadb9832a66c3d22b67 diff --git a/docs/gudev/Makefile.am b/docs/gudev/Makefile.am index a592afa66..152cd3c01 100644 --- a/docs/gudev/Makefile.am +++ b/docs/gudev/Makefile.am @@ -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. +CFLAGS= +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. @@ -87,7 +95,7 @@ GTKDOC_LIBS = \ $(top_builddir)/libgudev-1.0.la # This includes the standard gtk-doc make rules, copied by gtkdocize. -include $(top_srcdir)/gtk-doc.make +include $(top_srcdir)/docs/gtk-doc.make # Other files to distribute # e.g. EXTRA_DIST += version.xml.in