OSDN Git Service

makeの度に文書の作成を行っていたのを、必要なときだけ行うよう修正。
authorsirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sun, 31 Oct 2010 00:15:11 +0000 (00:15 +0000)
committersirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sun, 31 Oct 2010 00:15:11 +0000 (00:15 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@400 9df91469-1e22-0410-86e7-ea8537beb833

src/common/header/Makefile

index b476db2..0bee47a 100644 (file)
@@ -1,10 +1,14 @@
 # Makefile.\r
 # $Id$\r
 \r
+OUT_DOC = ../../../doc/api\r
+\r
 .PHONY: all clean\r
 \r
-all: Doxyfile plugin.h\r
-       doxygen $^\r
+all: $(OUT_DOC)\r
 \r
 clean:\r
-       rm -f -r ../../../doc/api\r
+       rm -f -r $(OUT_DOC)\r
+\r
+$(OUT_DOC): Doxyfile plugin.h\r
+       doxygen $^\r