Doxyfile.in과 gen_hangulkeyboards.py 변경에 따라서 관련 파일이
자동으로 생성되도록 룰을 추가한다.
../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
-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