summaryrefslogtreecommitdiff
blob: d0bfc20fa76b7ec34bf5d7c1dc367fa0a6db02d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -5,10 +5,10 @@
 if ENABLE_DOXYGEN
 
 htmldoc_DATA = html/*
-htmldocdir = $(datadir)/doc/@PACKAGE@-doc-@VERSION@/html
+htmldocdir = $(htmldir)
 
 latexdoc_DATA = latex/*
-latexdocdir = $(datadir)/doc/@PACKAGE@-doc-@VERSION@/latex
+latexdocdir = $(docdir)/latex
 
 docdata = $(htmldoc_DATA) $(latexdoc_DATA)
 
--- a/samples/Makefile.am
+++ b/samples/Makefile.am
@@ -19,7 +19,7 @@
 	$(SAMPLES_SRC)
 
 
-sampledir = $(datadir)/doc/@PACKAGE@-doc-@VERSION@/samples
+sampledir = $(docdir)/samples
 
 
 EXTRA_DIST = $(sample_DATA) $(sample_SCRIPTS)