summaryrefslogtreecommitdiff
blob: 73be364812cc0ac5dd9d3b9fde19c6a52ac82aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index 2686292..8f77fe2 100644
--- a/doc/doxygen/Makefile.am
+++ b/doc/doxygen/Makefile.am
@@ -29,14 +29,12 @@
 ## Author:  Michael Holst
 ## ###########################################################################
 
-docdir = @prefix@/doc/maloc
-
 doc_DATA = maloc_doc
 
 maloc_doc: 
 	$(doxygen_path) $(top_srcdir)/doc/doxygen/maloc.dox
 
 install-docDATA:
-	mkdir -p $(docdir)
-	cp -r ../api $(docdir)/
+	mkdir -p $(DESTDIR)/@docdir@
+	cp -r ../api $(DESTDIR)/@docdir@