doc/Makefile.am: do not install internal documentation
[babeltrace.git] / doc / api / Makefile.am
index 75c75dd88312e17d1fdf007c5e38eeec5cb69b3c..c84bb770a3723798fa774eb24313d4a35dc879aa 100644 (file)
@@ -1,7 +1,10 @@
+API_DOC_INSTALL_DIR = "$(DESTDIR)$(docdir)/api"
+
 all-local: doxygen-doc
 
 install-data-local: doxygen-doc
-       cp -rv output/html "$(DESTDIR)$(docdir)/api"
+       $(mkdir_p) "$(API_DOC_INSTALL_DIR)"
+       cp -rv output/html "$(API_DOC_INSTALL_DIR)"
 
 @DX_RULES@
 
This page took 0.023882 seconds and 4 git commands to generate.