--- messaging/manakai/lib/Makefile 2006/02/26 14:32:38 1.8 +++ messaging/manakai/lib/Makefile 2007/08/25 06:54:30 1.13 @@ -1,28 +1,25 @@ -MANAKAI_ROOT_DIR = ../ -MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ -MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ +POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ + --htmlroot "." -MKDIR = mkdir RM = rm RMALL = $(RM) -fv MAKE = make CD = cd -CP = cp -ECHO = -echo -all: - $(CD) $(MANAKAI_LIB_DIR)manakai/ && $(MAKE) all - $(CD) $(MANAKAI_LIB_DIR)Message/ && $(MAKE) all +all: Error.html + $(CD) Message/ && $(MAKE) all + +%.html: %.pm + $(POD2HTML) $< > $@ clean: - $(RMALL) *~ .*~ *.BAK .*.BAK - $(CD) $(MANAKAI_LIB_DIR)manakai/ && $(MAKE) clean - $(CD) $(MANAKAI_LIB_DIR)Message/ && $(MAKE) clean + $(RMALL) *~ .*~ *.BAK .*.BAK *.tmp .*.tmp + $(CD) Message/ && $(MAKE) clean distclean: $(RMALL) *~ .*~ *.BAK .*.BAK - $(CD) $(MANAKAI_LIB_DIR)manakai/ && $(MAKE) distclean - $(CD) $(MANAKAI_LIB_DIR)Message/ && $(MAKE) distclean + $(CD) Message/ && $(MAKE) distclean + $(RM) Error.html -## $Date: 2006/02/26 14:32:38 $ +## $Date: 2007/08/25 06:54:30 $ ## License: Public Domain.