From fa5b233767ca9d4e012839c28eb13628d2ebba63 Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 10 Sep 2005 06:24:56 +0000 Subject: Automake is a hard work, still not working now. git-svn-id: http://opensvn.csie.org/pttbbs/branches/piaip.automake@3152 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- docs/proto/Makefile | 18 ------------------ docs/proto/Makefile.old | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 docs/proto/Makefile create mode 100644 docs/proto/Makefile.old (limited to 'docs') diff --git a/docs/proto/Makefile b/docs/proto/Makefile deleted file mode 100644 index 63086b38..00000000 --- a/docs/proto/Makefile +++ /dev/null @@ -1,18 +0,0 @@ - -#.SUFFIXES: .c .txt - -# XXX 這有沒有比較好的作法? -# 直接用 .c.txt 好像會先去看目前目錄有沒有 xxx.c @_@ - -NAME!= cd ../../mbbsd/ && ls *.c | sed -e "s/\.c//" -SRC!= cd ../../mbbsd/ && ls *.c | sed -e "s/\.c/.txt/" - -all: $(SRC) - -.for fn in $(NAME) -$(fn).txt: ../../mbbsd/$(fn).c - ./cdoc ../../mbbsd/$(fn).c > $(fn).txt -.endfor - -clean: - rm -f *.txt diff --git a/docs/proto/Makefile.old b/docs/proto/Makefile.old new file mode 100644 index 00000000..63086b38 --- /dev/null +++ b/docs/proto/Makefile.old @@ -0,0 +1,18 @@ + +#.SUFFIXES: .c .txt + +# XXX 這有沒有比較好的作法? +# 直接用 .c.txt 好像會先去看目前目錄有沒有 xxx.c @_@ + +NAME!= cd ../../mbbsd/ && ls *.c | sed -e "s/\.c//" +SRC!= cd ../../mbbsd/ && ls *.c | sed -e "s/\.c/.txt/" + +all: $(SRC) + +.for fn in $(NAME) +$(fn).txt: ../../mbbsd/$(fn).c + ./cdoc ../../mbbsd/$(fn).c > $(fn).txt +.endfor + +clean: + rm -f *.txt -- cgit v1.2.3