summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-25 22:16:59 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-25 22:16:59 +0000
commit98b43ddcf47612f8dca004b27ea1f2b518aa2ada (patch)
tree0020c81f894750e2beef7a0bba0a8de49fc9cc09 /Makefile
parent22f68cefe6f9619c311c88e17c09095146387a05 (diff)
downloadmandoc-98b43ddcf47612f8dca004b27ea1f2b518aa2ada.tar.gz
mandoc-98b43ddcf47612f8dca004b27ea1f2b518aa2ada.tar.zst
mandoc-98b43ddcf47612f8dca004b27ea1f2b518aa2ada.zip
Added roff.3, which documents the roff parser interface.
Small fix in mdoc.3 and man.3 pointing to old mdoc_cb and man_cb. Fix in Makefile adding mandoc.h to HEADS. Collapsed all HTML files into HTMLS variable (too confusing otherwise). Removed "htmls" command from Makefile (only I used it and it's just taking up space).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files changed, 15 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 40b2a57f..794025f2 100644
--- a/Makefile
+++ b/Makefile
@@ -93,22 +93,25 @@ DATAS = arch.in att.in lib.in msec.in st.in \
vol.in chars.in
HEADS = mdoc.h libmdoc.h man.h libman.h term.h \
- libmandoc.h html.h chars.h out.h main.h roff.h
+ libmandoc.h html.h chars.h out.h main.h roff.h \
+ mandoc.h
GSGMLS = mandoc.1.sgml mdoc.3.sgml mdoc.7.sgml manuals.7.sgml \
- mandoc_char.7.sgml man.7.sgml man.3.sgml roff.7.sgml
+ mandoc_char.7.sgml man.7.sgml man.3.sgml roff.7.sgml \
+ roff.3.sgml
SGMLS = index.sgml
-HTMLS = ChangeLog.html index.html man.h.html mdoc.h.html
+HTMLS = ChangeLog.html index.html man.h.html mdoc.h.html \
+ mandoc.h.html roff.h.html mandoc.1.html mdoc.3.html \
+ man.3.html mdoc.7.html man.7.html mandoc_char.7.html \
+ manuals.7.html roff.7.html roff.3.html
XSLS = ChangeLog.xsl
-GHTMLS = mandoc.1.html mdoc.3.html man.3.html mdoc.7.html \
- man.7.html mandoc_char.7.html manuals.7.html roff.7.html
-
TEXTS = mandoc.1.txt mdoc.3.txt man.3.txt mdoc.7.txt man.7.txt \
- mandoc_char.7.txt manuals.7.txt ChangeLog.txt roff.7.txt
+ mandoc_char.7.txt manuals.7.txt ChangeLog.txt \
+ roff.7.txt roff.3.txt
EXAMPLES = example.style.css
@@ -121,7 +124,7 @@ MD5S = mdocml-$(VERSION).md5
TARGZS = mdocml-$(VERSION).tar.gz
MANS = mandoc.1 mdoc.3 mdoc.7 manuals.7 mandoc_char.7 man.7 \
- man.3 roff.7
+ man.3 roff.7 roff.3
BINS = mandoc
@@ -131,7 +134,7 @@ CONFIGS = config.h.pre config.h.post
DOCLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \
$(TARGZS) tags $(MD5S) $(XMLS) $(TEXTS) $(GSGMLS) \
- $(GHTMLS) config.h config.log
+ config.h config.log
DOINSTALL = $(SRCS) $(HEADS) Makefile $(MANS) $(SGMLS) $(STATICS) \
$(DATAS) $(XSLS) $(EXAMPLES) $(TESTS) $(CONFIGS)
@@ -147,16 +150,14 @@ cleanlint:
rm -f $(LNS) $(LLNS)
cleanhtml:
- rm -f $(HTMLS) $(GSGMLS) $(GHTMLS)
+ rm -f $(HTMLS) $(GSGMLS)
dist: mdocml-$(VERSION).tar.gz
-www: all $(GSGMLS) $(GHTMLS) $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS)
-
-htmls: all $(GSGMLS) $(GHTMLS)
+www: all $(GSGMLS) $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS)
installwww: www
- $(INSTALL_DATA) $(GHTMLS) $(HTMLS) $(TEXTS) $(STATICS) $(DESTDIR)$(PREFIX)/
+ $(INSTALL_DATA) $(HTMLS) $(TEXTS) $(STATICS) $(DESTDIR)$(PREFIX)/
$(INSTALL_DATA) mdocml-$(VERSION).tar.gz $(DESTDIR)$(PREFIX)/snapshots/
$(INSTALL_DATA) mdocml-$(VERSION).md5 $(DESTDIR)$(PREFIX)/snapshots/
$(INSTALL_DATA) mdocml-$(VERSION).tar.gz $(DESTDIR)$(PREFIX)/snapshots/mdocml.tar.gz