* All documentation directories should be a function of `$(docdir)`, and
not `$(datadir)`, which is to be used for files that the program
actually needs at runtime.
* Also amend the debian install rules, since documentation is now
natively installed into `$(docdir)` == `usr/share/doc/graphviz`.
export TAR_OPTIONS = --owner=0 --group=0 --exclude=windows/dependencies/*/*
-txtdir = $(pkgdatadir)/doc
-
-txt = AUTHORS COPYING CHANGELOG.md NEWS cpl1.0.txt
html =
-txt_DATA = $(txt)
+dist_doc_DATA = AUTHORS COPYING CHANGELOG.md NEWS cpl1.0.txt
html_DATA = $(html)
pkginclude_HEADERS = $(top_builddir)/graphviz_version.h
printf '#pragma once\n' > $(top_builddir)/graphviz_version.h
$(EGREP) 'PACKAGE|VERSION|GVPLUGIN' config.h >> $(top_builddir)/graphviz_version.h
-EXTRA_DIST = $(txt) $(html) graphviz.spec \
+EXTRA_DIST = $(html) graphviz.spec \
autogen.sh config/depcomp config/config.rpath \
builddate.h \
m4/README m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 \
usr/share/graphviz/graphs usr/share/doc/graphviz/examples
usr/share/graphviz/demo usr/share/doc/graphviz/examples
-
-usr/share/graphviz/doc/AUTHORS usr/share/doc/graphviz
-usr/share/graphviz/doc/CHANGELOG.md usr/share/doc/graphviz
-usr/share/graphviz/doc/Dot.ref usr/share/doc/graphviz
-usr/share/graphviz/doc/latex_suggestions.txt usr/share/doc/graphviz
-
pdf = dotguide.pdf neatoguide.pdf libgraph/Agraph.pdf libguide/libguide.pdf
html = build.html FAQ.html index.html winbuild.html pspdf.png char.html gdtclft.entities.example.png todo.html internal_todo.html
-txt = Dot.ref latex_suggestions.txt fontfaq.txt addingLayout.txt
if WITH_SMYRNA
pdf += smyrna/smyrna.pdf
endif
-txtdir = $(pkgdatadir)/doc
-
pdf_DATA = $(pdf)
html_DATA = $(html)
-txt_DATA = $(txt)
+dist_doc_DATA = Dot.ref latex_suggestions.txt fontfaq.txt addingLayout.txt
-EXTRA_DIST = $(txt) $(pdf) $(html) schema/*.xml schema/*.xslt infosrc/*
+EXTRA_DIST = $(pdf) $(html) schema/*.xml schema/*.xslt infosrc/*