From 3ed1cb2e1dd111ed0e5435bbc88396b42180df1d Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 23 May 2013 13:10:58 +0200 Subject: docs: don't require 'dia' to build the docs These diagrams are not expected to change much, so just include the generated PNGs in the repository, and remove 'dia' from the prerequisites to build the documentation. --- docs/reference/api/Makefile.am | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) (limited to 'docs/reference/api/Makefile.am') diff --git a/docs/reference/api/Makefile.am b/docs/reference/api/Makefile.am index 9358484d..c8b58a06 100644 --- a/docs/reference/api/Makefile.am +++ b/docs/reference/api/Makefile.am @@ -1,24 +1,16 @@ -# Generation of the additional PNG files from DIA files -# (list of original '.dia' files with '.png' extension) -DIAGRAMS = \ - ModemManager-states.dia \ - ModemManager-interface-initialization-sequence.dia \ - ModemManager-interface-initialization-sequence-subclassed.dia - -# The wanted PNG files -DIAGRAMS_PNG = $(notdir $(DIAGRAMS:.dia=.png)) - -# DIA to PNG conversion -$(DIAGRAMS_PNG): $(DIAGRAMS) - $(AM_V_GEN) $(DIA) -t png $^ 1>/dev/null 2>&1 - # Logos LOGOS_PNG = \ $(top_srcdir)/data/ModemManager-logo-square.png \ $(top_srcdir)/data/ModemManager-logo-wide.png \ $(top_srcdir)/data/ModemManager-logo-wide-text.png +# Diagrams +DIAGRAMS_PNG = \ + $(top_srcdir)/data/ModemManager-states.png \ + $(top_srcdir)/data/ModemManager-interface-initialization-sequence.png \ + $(top_srcdir)/data/ModemManager-interface-initialization-sequence-subclassed.png + # The name of the module. DOC_MODULE = ModemManager @@ -122,8 +114,7 @@ CLEANFILES += \ $(NULL) # PNGs are removed only in dist-clean -# Diagrams are generated by dia in the current directory -# Logos are copied to current directory by gtk-doc +# Diagrams and logos are generated by dia in the current directory DISTCLEANFILES = \ - $(DIAGRAMS_PNG) \ + $(notdir $(DIAGRAMS_PNG)) \ $(notdir $(LOGOS_PNG)) -- cgit v1.2.3-70-g09d2