From cbf4b23303e5c63578526fbe6fa0a5d8eb493fba Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 7 Dec 2008 21:30:49 +0000 Subject: *** empty log message *** --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b9bdef4c..e8021900 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +.SUFFIXES: .html .7 + CFLAGS += -W -Wall -Wno-unused-parameter -g -DDEBUG LINTFLAGS += -c -e -f -u @@ -16,7 +18,9 @@ HEADS = libmdocml.h private.h ml.h roff.h MANS = mdocml.1 -CLEAN = mdocml mdocml.tgz $(LLNS) $(LNS) $(OBJS) $(LIBS) +HTML = index.html + +CLEAN = mdocml mdocml.tgz $(LLNS) $(LNS) $(OBJS) $(LIBS) $(HTML) INSTALL = Makefile $(HEADS) $(SRCS) $(MANS) @@ -37,6 +41,8 @@ lint: llib-lmdocml.ln dist: mdocml.tgz +www: $(HTML) + regress: mdocml @for f in $(FAIL); do \ echo "./mdocml $$f" ; \ @@ -53,6 +59,9 @@ mdocml: mdocml.o libmdocml.a clean: rm -f $(CLEAN) +index.html: index.7 mdocml.css + ./mdocml -W -fhtml -e -o $@ $< + mdocml.tgz: $(INSTALL) mkdir -p .dist/mdocml/ install -m 0644 $(INSTALL) .dist/mdocml/ -- cgit