From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s75BJDWM013809 for ; Tue, 5 Aug 2014 07:19:13 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s75BJDxo012569; Tue, 5 Aug 2014 07:19:13 -0400 (EDT) Date: Tue, 5 Aug 2014 07:19:13 -0400 (EDT) Message-Id: <201408051119.s75BJDxo012569@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Portability fix: * POSIX syntax is 'include Makefile.depend', X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Portability fix: * POSIX syntax is 'include Makefile.depend', not '.include "Makefile.depend"' * gmake(1) runs the build rule for the included file (duh), so delete the rule * consequently, we have to mark the 'depend' maintainer target .PHONY * as it's now .PHONY anyway, drop some prerequisites that are now useless Issue noticed by kristaps@. Modified Files: -------------- mdocml: Makefile Revision Data ------------- Index: Makefile =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/Makefile,v retrieving revision 1.430 retrieving revision 1.431 diff -LMakefile -LMakefile -u -p -r1.430 -r1.431 --- Makefile +++ Makefile @@ -369,7 +369,7 @@ install: base-install $(INSTALL_TARGETS) www: $(WWW_OBJS) $(WWW_MANS) -.include "Makefile.depend" +include Makefile.depend # === TARGETS CONTAINING SHELL COMMANDS ================================ @@ -442,7 +442,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 @@ -486,7 +486,8 @@ config.h: configure config.h.pre config. rm -f config.log CC="$(CC)" CFLAGS="$(CFLAGS)" VERSION="$(VERSION)" ./configure -.PHONY: base-install clean cgi-install db-install install www-install +.PHONY: base-install cgi-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 -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv