summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-05 11:19:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-05 11:19:46 +0000
commitb21b39688ecd130bf928e5572853245cc573d205 (patch)
tree7273b008cfed53a872101905b84dc5af180c3a3d
parent07d693d4b055cbb6efadf7f752253b89aec6b2be (diff)
downloadmandoc-b21b39688ecd130bf928e5572853245cc573d205.tar.gz
merge portability fix from HEAD
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b7d93340..13922d69 100644
--- a/Makefile
+++ b/Makefile
@@ -314,7 +314,7 @@ install: base-install $(INSTALL_TARGETS)
www: $(WWW_OBJS) $(WWW_MANS)
-.include "Makefile.depend"
+include Makefile.depend
# === TARGETS CONTAINING SHELL COMMANDS ================================
@@ -366,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
@@ -404,7 +404,8 @@ config.h: configure config.h.pre config.h.post $(TESTSRCS)
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