a7e32b4
From 9d44294fbaec260f312ecfaead310b99ad5205b4 Mon Sep 17 00:00:00 2001
a7e32b4
From: Scott K Logan <logans@cottsay.net>
a7e32b4
Date: Tue, 30 Jun 2015 20:56:45 -0700
a7e32b4
Subject: [PATCH] Use macros in doc Makefile
a7e32b4
a7e32b4
---
a7e32b4
 doc/Makefile | 6 ++++--
a7e32b4
 1 file changed, 4 insertions(+), 2 deletions(-)
a7e32b4
a7e32b4
diff --git a/doc/Makefile b/doc/Makefile
a7e32b4
index ff15a01..64d2ab3 100644
a7e32b4
--- a/doc/Makefile
a7e32b4
+++ b/doc/Makefile
a7e32b4
@@ -1,10 +1,12 @@
a7e32b4
 .PHONY: html apidoc clean upload
a7e32b4
 
a7e32b4
+SPHINXAPIDOC=sphinx-apidoc
a7e32b4
+
a7e32b4
 html: apidoc
a7e32b4
-	make -C _build html
a7e32b4
+	$(MAKE) -C _build html
a7e32b4
 
a7e32b4
 apidoc:
a7e32b4
-	sphinx-apidoc -F -o _build ../src/catkin_pkg
a7e32b4
+	$(SPHINXAPIDOC) -F -o _build ../src/catkin_pkg
a7e32b4
 	sed -i "s/_build/./g" _build/Makefile
a7e32b4
 
a7e32b4
 clean: