doxygen 생성 룰 개선
authorChoe Hwanjin <choe.hwanjin@gmail.com>
Sat, 17 Dec 2011 07:42:17 +0000 (16:42 +0900)
committerChoe Hwanjin <choe.hwanjin@gmail.com>
Sat, 17 Dec 2011 07:42:17 +0000 (16:42 +0900)
Doxyfile.in과 gen_hangulkeyboards.py 변경에 따라서 관련 파일이
자동으로 생성되도록 룰을 추가한다.

doc/Doxyfile.in
doc/Makefile

index 2413056..31638e3 100644 (file)
@@ -454,7 +454,8 @@ INPUT                  = ../hangul/hangul.h \
                         ../hangul/hangulctype.c \
                         ../hangul/hangulinputcontext.c \
                         ../hangul/hanja.c \
-                        mainpage.dox
+                        mainpage.dox \
+                        hangulkeyboards.dox
 
 # If the value of the INPUT tag contains directories, you can use the 
 # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
index abf0896..1db3dbf 100644 (file)
@@ -1,10 +1,11 @@
-doc:
-       ./gen_hangulkeyboards.py > hangulkeyboards.dox
+doc: Doxyfile hangulkeyboards.dox
        doxygen
 
+hangulkeyboards.dox: gen_hangulkeyboards.py
+       ./gen_hangulkeyboards.py > $@
+
+Doxyfile: Doxyfile.in
+       cd .. && ./config.status doc/$@
+
 clean:
        rm -rf html
-
-upload:
-       cd html ; \
-       scp -pr * $(USER)@hangul.kldp.net:/var/lib/gforge/chroot/home/groups/hangul/htdocs