version 1.210, 2009/09/17 07:41:28 |
version 1.213, 2009/09/21 13:44:56 |
|
|
.SUFFIXES: .html .xml .sgml .1.txt .3.txt .7.txt .1 .3 .7 .md5 .tar.gz |
.SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.html .3.html .7.html |
|
|
BINDIR = $(PREFIX)/bin |
BINDIR = $(PREFIX)/bin |
INCLUDEDIR = $(PREFIX)/include |
INCLUDEDIR = $(PREFIX)/include |
Line 51 DATAS = arch.in att.in lib.in msec.in st.in vol.in |
|
Line 51 DATAS = arch.in att.in lib.in msec.in st.in vol.in |
|
HEADS = mdoc.h libmdoc.h man.h libman.h term.h libmandoc.h |
HEADS = mdoc.h libmdoc.h man.h libman.h term.h libmandoc.h |
SGMLS = index.sgml |
SGMLS = index.sgml |
XSLS = ChangeLog.xsl |
XSLS = ChangeLog.xsl |
HTMLS = index.html ChangeLog.html |
HTMLS = index.html ChangeLog.html mandoc.1.html mdoc.3.html \ |
|
man.3.html mdoc.7.html man.7.html mandoc_char.7.html \ |
|
manuals.7.html |
XMLS = ChangeLog.xml |
XMLS = ChangeLog.xml |
STATICS = style.css external.png |
STATICS = index.css style.css external.png |
MD5S = mdocml-$(VERSION).md5 |
MD5S = mdocml-$(VERSION).md5 |
TARGZS = mdocml-$(VERSION).tar.gz |
TARGZS = mdocml-$(VERSION).tar.gz |
MANS = mandoc.1 mdoc.3 mdoc.7 manuals.7 mandoc_char.7 \ |
MANS = mandoc.1 mdoc.3 mdoc.7 manuals.7 mandoc_char.7 \ |
man.7 man.3 |
man.7 man.3 |
TEXTS = mandoc.1.txt mdoc.3.txt mdoc.7.txt manuals.7.txt \ |
|
mandoc_char.7.txt man.7.txt man.3.txt |
|
BINS = mandoc |
BINS = mandoc |
CLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \ |
CLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \ |
$(TARGZS) tags $(TEXTS) $(MD5S) $(XMLS) |
$(TARGZS) tags $(MD5S) $(XMLS) |
INSTALL = $(SRCS) $(HEADS) Makefile $(MANS) $(SGMLS) $(STATICS) \ |
INSTALL = $(SRCS) $(HEADS) Makefile $(MANS) $(SGMLS) $(STATICS) \ |
$(DATAS) $(XSLS) |
$(DATAS) $(XSLS) |
|
|
|
|
|
|
dist: mdocml-$(VERSION).tar.gz |
dist: mdocml-$(VERSION).tar.gz |
|
|
html: $(HTMLS) |
www: all $(HTMLS) $(MD5S) $(TARGZS) |
|
|
www: all $(HTMLS) $(MD5S) $(TARGZS) $(TEXTS) |
|
|
|
installwww: www |
installwww: www |
install -m 0444 $(TEXTS) $(HTMLS) $(STATICS) $(PREFIX)/ |
install -m 0444 $(HTMLS) $(STATICS) $(PREFIX)/ |
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/ |
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/ |
install -m 0444 mdocml-$(VERSION).md5 $(PREFIX)/snapshots/ |
install -m 0444 mdocml-$(VERSION).md5 $(PREFIX)/snapshots/ |
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/mdocml.tar.gz |
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/mdocml.tar.gz |
Line 216 mandoc: $(MAINOBJS) libmdoc.a libman.a |
|
Line 214 mandoc: $(MAINOBJS) libmdoc.a libman.a |
|
.1.1.txt: |
.1.1.txt: |
./mandoc -Wall,error -fstrict $< | col -b > $@ |
./mandoc -Wall,error -fstrict $< | col -b > $@ |
|
|
|
.1.1.html: |
|
./mandoc -Thtml -ostyle=style.css -Wall,error -fstrict $< > $@ |
|
|
.3.3.txt: |
.3.3.txt: |
./mandoc -Wall,error -fstrict $< | col -b > $@ |
./mandoc -Wall,error -fstrict $< | col -b > $@ |
|
|
|
.3.3.html: |
|
./mandoc -Thtml -ostyle=style.css -Wall,error -fstrict $< > $@ |
|
|
.7.7.txt: |
.7.7.txt: |
./mandoc -Wall,error -fstrict $< | col -b > $@ |
./mandoc -Wall,error -fstrict $< | col -b > $@ |
|
|
|
.7.7.html: |
|
./mandoc -Thtml -ostyle=style.css -Wall,error -fstrict $< > $@ |
|
|
.tar.gz.md5: |
.tar.gz.md5: |
md5 $< > $@ |
md5 $< > $@ |