Blob Blame Raw
From 9d44294fbaec260f312ecfaead310b99ad5205b4 Mon Sep 17 00:00:00 2001
From: Scott K Logan <logans@cottsay.net>
Date: Tue, 30 Jun 2015 20:56:45 -0700
Subject: [PATCH] Use macros in doc Makefile

---
 doc/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/Makefile b/doc/Makefile
index ff15a01..64d2ab3 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,10 +1,12 @@
 .PHONY: html apidoc clean upload
 
+SPHINXAPIDOC=sphinx-apidoc
+
 html: apidoc
-	make -C _build html
+	$(MAKE) -C _build html
 
 apidoc:
-	sphinx-apidoc -F -o _build ../src/catkin_pkg
+	$(SPHINXAPIDOC) -F -o _build ../src/catkin_pkg
 	sed -i "s/_build/./g" _build/Makefile
 
 clean: