version 1.488.2.7, 2017/02/21 16:25:19 |
version 1.488.2.9, 2017/02/21 17:57:33 |
Line 248 MANDOC_TERM_OBJS = eqn_term.o \ |
|
Line 248 MANDOC_TERM_OBJS = eqn_term.o \ |
|
term_ps.o \ |
term_ps.o \ |
tbl_term.o |
tbl_term.o |
|
|
BASE_OBJS = $(MANDOC_HTML_OBJS) \ |
MAIN_OBJS = $(MANDOC_HTML_OBJS) \ |
$(MANDOC_MAN_OBJS) \ |
$(MANDOC_MAN_OBJS) \ |
$(MANDOC_TERM_OBJS) \ |
$(MANDOC_TERM_OBJS) \ |
main.o \ |
main.o \ |
|
mandocdb.o \ |
manpath.o \ |
manpath.o \ |
|
mansearch.o \ |
|
mansearch_const.o \ |
out.o \ |
out.o \ |
tag.o \ |
tag.o \ |
tree.o |
tree.o |
|
|
MAIN_OBJS = $(BASE_OBJS) |
|
|
|
DB_OBJS = mandocdb.o \ |
|
mansearch.o \ |
|
mansearch_const.o |
|
|
|
CGI_OBJS = $(MANDOC_HTML_OBJS) \ |
CGI_OBJS = $(MANDOC_HTML_OBJS) \ |
cgi.o \ |
cgi.o \ |
mansearch.o \ |
mansearch.o \ |
Line 285 WWW_MANS = apropos.1.html \ |
|
Line 282 WWW_MANS = apropos.1.html \ |
|
man.1.html \ |
man.1.html \ |
mandoc.1.html \ |
mandoc.1.html \ |
soelim.1.html \ |
soelim.1.html \ |
|
man.cgi.3.html \ |
mandoc.3.html \ |
mandoc.3.html \ |
mandoc_escape.3.html \ |
mandoc_escape.3.html \ |
mandoc_headers.3.html \ |
mandoc_headers.3.html \ |
Line 302 WWW_MANS = apropos.1.html \ |
|
Line 300 WWW_MANS = apropos.1.html \ |
|
roff.7.html \ |
roff.7.html \ |
tbl.7.html \ |
tbl.7.html \ |
makewhatis.8.html \ |
makewhatis.8.html \ |
man.cgi.3.html \ |
|
man.cgi.8.html \ |
man.cgi.8.html \ |
man.h.html \ |
man.h.html \ |
manconf.h.html \ |
manconf.h.html \ |
Line 341 distclean: clean |
|
Line 338 distclean: clean |
|
|
|
clean: |
clean: |
rm -f libmandoc.a $(LIBMANDOC_OBJS) $(COMPAT_OBJS) |
rm -f libmandoc.a $(LIBMANDOC_OBJS) $(COMPAT_OBJS) |
rm -f mandoc $(BASE_OBJS) $(DB_OBJS) |
rm -f mandoc $(MAIN_OBJS) |
rm -f man.cgi $(CGI_OBJS) |
rm -f man.cgi $(CGI_OBJS) |
rm -f manpage $(MANPAGE_OBJS) |
rm -f manpage $(MANPAGE_OBJS) |
rm -f demandoc $(DEMANDOC_OBJS) |
rm -f demandoc $(DEMANDOC_OBJS) |
|
|
rm -f $(DESTDIR)$(INCLUDEDIR)/roff.h |
rm -f $(DESTDIR)$(INCLUDEDIR)/roff.h |
rmdir $(DESTDIR)$(INCLUDEDIR) |
rmdir $(DESTDIR)$(INCLUDEDIR) |
|
|
|
regress: all |
|
cd regress && ./regress.pl |
|
|
|
regress-clean: |
|
cd regress && ./regress.pl . clean |
|
|
Makefile.local config.h: configure $(TESTSRCS) |
Makefile.local config.h: configure $(TESTSRCS) |
@echo "$@ is out of date; please run ./configure" |
@echo "$@ is out of date; please run ./configure" |
@exit 1 |
@exit 1 |
Line 480 depend: config.h |
|
Line 483 depend: config.h |
|
Makefile.depend > Makefile.tmp |
Makefile.depend > Makefile.tmp |
mv Makefile.tmp Makefile.depend |
mv Makefile.tmp Makefile.depend |
|
|
|
regress-distclean: |
|
@find regress \ |
|
-name '.#*' -o \ |
|
-name '*.orig' -o \ |
|
-name '*.rej' -o \ |
|
-name '*.core' \ |
|
-exec rm -i {} \; |
|
|
|
regress-distcheck: |
|
@find regress ! -type d ! -type f |
|
@find regress -type f \ |
|
! -path '*/CVS/*' \ |
|
! -name Makefile \ |
|
! -name Makefile.inc \ |
|
! -name '*.in' \ |
|
! -name '*.out_ascii' \ |
|
! -name '*.out_utf8' \ |
|
! -name '*.out_html' \ |
|
! -name '*.out_lint' \ |
|
! -path regress/regress.pl \ |
|
! -path regress/regress.pl.1 |
|
|
dist: mdocml.sha256 |
dist: mdocml.sha256 |
|
|
mdocml.sha256: mdocml.tar.gz |
mdocml.sha256: mdocml.tar.gz |
sha256 mdocml.tar.gz > $@ |
sha256 mdocml.tar.gz > $@ |
|
|
mdocml.tar.gz: $(DISTFILES) |
mdocml.tar.gz: $(DISTFILES) |
|
ls regress/*/*/*.mandoc_* && exit 1 || true |
mkdir -p .dist/mdocml-$(VERSION)/ |
mkdir -p .dist/mdocml-$(VERSION)/ |
$(INSTALL) -m 0644 $(DISTFILES) .dist/mdocml-$(VERSION) |
$(INSTALL) -m 0644 $(DISTFILES) .dist/mdocml-$(VERSION) |
|
cp -pR regress .dist/mdocml-$(VERSION) |
|
find .dist/mdocml-$(VERSION)/regress \ |
|
-type d -name CVS -print0 | xargs -0 rm -rf |
chmod 755 .dist/mdocml-$(VERSION)/configure |
chmod 755 .dist/mdocml-$(VERSION)/configure |
( cd .dist/ && tar zcf ../$@ mdocml-$(VERSION) ) |
( cd .dist/ && tar zcf ../$@ mdocml-$(VERSION) ) |
rm -rf .dist/ |
rm -rf .dist/ |