=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.395.2.24 retrieving revision 1.395.2.26 diff -u -p -r1.395.2.24 -r1.395.2.26 --- mandoc/Makefile 2014/08/05 05:29:53 1.395.2.24 +++ mandoc/Makefile 2014/08/05 11:19:46 1.395.2.26 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.395.2.24 2014/08/05 05:29:53 schwarze Exp $ +# $Id: Makefile,v 1.395.2.26 2014/08/05 11:19:46 schwarze Exp $ # # Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons # Copyright (c) 2011, 2013, 2014 Ingo Schwarze @@ -181,10 +181,13 @@ DISTFILES = LICENSE \ mandoc.h \ mandoc_aux.h \ mandoc_char.7 \ + mandoc_escape.3 \ mandoc_html.3 \ + mandoc_malloc.3 \ mandocdb.8 \ mandocdb.h \ manpath.h \ + mchars_alloc.3 \ mdoc.7 \ mdoc.h \ msec.in \ @@ -278,7 +281,10 @@ WWW_MANS = apropos.1.html \ preconv.1.html \ whatis.1.html \ mandoc.3.html \ + mandoc_escape.3.html \ mandoc_html.3.html \ + mandoc_malloc.3.html \ + mchars_alloc.3.html \ tbl.3.html \ eqn.7.html \ man.7.html \ @@ -308,7 +314,7 @@ install: base-install $(INSTALL_TARGETS) www: $(WWW_OBJS) $(WWW_MANS) -.include "Makefile.depend" +include Makefile.depend # === TARGETS CONTAINING SHELL COMMANDS ================================ @@ -336,7 +342,8 @@ base-install: base-build $(INSTALL_LIB) man.h mandoc.h mandoc_aux.h mdoc.h \ $(DESTDIR)$(INCLUDEDIR) $(INSTALL_MAN) mandoc.1 preconv.1 demandoc.1 $(DESTDIR)$(MANDIR)/man1 - $(INSTALL_MAN) mandoc.3 tbl.3 $(DESTDIR)$(MANDIR)/man3 + $(INSTALL_MAN) mandoc.3 mandoc_escape.3 mandoc_malloc.3 \ + mchars_alloc.3 tbl.3 $(DESTDIR)$(MANDIR)/man3 $(INSTALL_MAN) man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7 \ $(DESTDIR)$(MANDIR)/man7 $(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR) @@ -359,7 +366,7 @@ www-install: www $(INSTALL_DATA) mdocml.sha256 \ $(DESTDIR)$(HTDOCDIR)/snapshots/mdocml-$(VERSION).sha256 -Makefile.depend: $(SRCS) config.h Makefile +depend: config.h mkdep -f Makefile.depend $(CFLAGS) $(SRCS) perl -e 'undef $$/; $$_ = <>; s|/usr/include/\S+||g; \ s|\\\n||g; s| +| |g; print;' Makefile.depend > Makefile.tmp @@ -397,7 +404,8 @@ config.h: configure config.h.pre config.h.post $(TESTS rm -f config.log CC="$(CC)" CFLAGS="$(CFLAGS)" VERSION="$(VERSION)" ./configure -.PHONY: base-install clean db-install install www-install +.PHONY: base-install db-install install www-install +.PHONY: clean depend .SUFFIXES: .1 .3 .5 .7 .8 .h .SUFFIXES: .1.html .3.html .5.html .7.html .8.html .h.html