version 1.232, 2009/10/20 18:31:04 |
version 1.240, 2009/10/31 06:38:08 |
Line 9 INSTALL_DATA = install -m 0444 |
|
Line 9 INSTALL_DATA = install -m 0444 |
|
INSTALL_LIB = install -m 0644 |
INSTALL_LIB = install -m 0644 |
INSTALL_MAN = $(INSTALL_DATA) |
INSTALL_MAN = $(INSTALL_DATA) |
|
|
VERSION = 1.9.9 |
VERSION = 1.9.12 |
VDATE = 21 October 2009 |
VDATE = 31 October 2009 |
|
|
VFLAGS = -DVERSION=\"$(VERSION)\" |
VFLAGS = -DVERSION="\"$(VERSION)\"" |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -g |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -g |
CFLAGS += $(VFLAGS) |
CFLAGS += $(VFLAGS) |
|
#CFLAGS += -DOSNAME="\"OpenBSD 4.5\"" |
LINTFLAGS += $(VFLAGS) |
LINTFLAGS += $(VFLAGS) |
|
|
MANDOCFLAGS = -Wall -fstrict |
MANDOCFLAGS = -Wall -fstrict |
MANDOCHTML = -Thtml -ostyle=style.css,man=%N.%S.html,includes=%I.html |
MANDOCHTML = -Thtml -Ostyle=style.css,man=%N.%S.html,includes=%I.html |
|
|
MDOCLNS = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \ |
MDOCLNS = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \ |
mdoc_argv.ln mdoc_validate.ln mdoc_action.ln \ |
mdoc_argv.ln mdoc_validate.ln mdoc_action.ln \ |
Line 57 HEADS = mdoc.h libmdoc.h man.h libman.h term.h \ |
|
Line 58 HEADS = mdoc.h libmdoc.h man.h libman.h term.h \ |
|
libmandoc.h html.h chars.h out.h main.h |
libmandoc.h html.h chars.h out.h main.h |
GSGMLS = mandoc.1.sgml mdoc.3.sgml mdoc.7.sgml manuals.7.sgml \ |
GSGMLS = mandoc.1.sgml mdoc.3.sgml mdoc.7.sgml manuals.7.sgml \ |
mandoc_char.7.sgml man.7.sgml man.3.sgml |
mandoc_char.7.sgml man.7.sgml man.3.sgml |
SGMLS = index.sgml $(GSGMLS) |
SGMLS = index.sgml |
XSLS = ChangeLog.xsl |
XSLS = ChangeLog.xsl |
HTMLS = index.html mandoc.1.html mdoc.3.html ChangeLog.html \ |
HTMLS = index.html mandoc.1.html mdoc.3.html ChangeLog.html \ |
man.3.html mdoc.7.html man.7.html mandoc_char.7.html \ |
man.3.html mdoc.7.html man.7.html mandoc_char.7.html \ |
|
|
cleanlint: |
cleanlint: |
rm -f $(LNS) $(LLNS) |
rm -f $(LNS) $(LLNS) |
|
|
|
cleanhtml: |
|
rm -f $(HTML) $(GSGMLS) |
|
|
dist: mdocml-$(VERSION).tar.gz |
dist: mdocml-$(VERSION).tar.gz |
|
|
www: all $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS) |
www: all $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS) |
Line 231 mandoc: $(MAINOBJS) libmdoc.a libman.a |
|
Line 235 mandoc: $(MAINOBJS) libmdoc.a libman.a |
|
$(CC) $(CFLAGS) -o $@ $(MAINOBJS) libmdoc.a libman.a |
$(CC) $(CFLAGS) -o $@ $(MAINOBJS) libmdoc.a libman.a |
|
|
.sgml.html: |
.sgml.html: |
#validate $< |
validate --warn $< |
sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@ |
sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@ |
|
|
.1.1.txt .3.3.txt .7.7.txt: |
.1.1.txt .3.3.txt .7.7.txt: |