From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBC7D139694 for ; Wed, 29 Mar 2017 05:12:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAE1821C165; Wed, 29 Mar 2017 05:12:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C48FE21C165 for ; Wed, 29 Mar 2017 05:12:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C394C341130 for ; Wed, 29 Mar 2017 05:12:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FE0173DD for ; Wed, 29 Mar 2017 05:12:40 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1490662521.dc6afee300913559311996bb59efb1ba32c35dd6.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: dc6afee300913559311996bb59efb1ba32c35dd6 X-VCS-Branch: master Date: Wed, 29 Mar 2017 05:12:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 01ab8f94-bcfb-4701-b9a7-9ac4e4fce3c3 X-Archives-Hash: 45575dd222d2550a8cca7068bf940e03 Message-ID: <20170329051240.R0rh8YqwM4weFLn083z24TkgP9m3nsGzySH7-vc1XBg@z> commit: dc6afee300913559311996bb59efb1ba32c35dd6 Author: Ulrich Müller gentoo org> AuthorDate: Tue Mar 28 00:55:21 2017 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Mar 28 00:55:21 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=dc6afee3 Makefile: Move cleanup of aux files into separate rule. Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 70d1883..bc1ee51 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,13 @@ clean : maintainer-clean: clean rm -f vc.tex -LATEXFILES := $(filter-out vc.tex,$(wildcard *.tex)) pms.cls - -pms.pdf: $(LATEXFILES) pms.bbl vc.tex eapi-cheatsheet.pdf +aux-clean: @# latex chokes on aux files produced by tex4ht, so remove them if grep -q rEfLiNK pms.aux 2>/dev/null; then rm -f *.aux; fi + +LATEXFILES := $(filter-out vc.tex,$(wildcard *.tex)) pms.cls + +pms.pdf: $(LATEXFILES) pms.bbl vc.tex eapi-cheatsheet.pdf aux-clean pdflatex pms pdflatex pms pdflatex eapi-cheatsheet @@ -39,10 +41,10 @@ pms.bbl: pms.bib pms.tex vc.tex eapi-cheatsheet.pdf latex pms bibtex pms -eapi-cheatsheet.pdf: vc.tex +eapi-cheatsheet.pdf: vc.tex aux-clean pdflatex eapi-cheatsheet -eapi-cheatsheet-nocombine.pdf: vc.tex +eapi-cheatsheet-nocombine.pdf: vc.tex aux-clean @# cheat sheet with separate pages, for proofreading pdflatex -jobname eapi-cheatsheet-nocombine \ '\PassOptionsToClass{nocombine}{leaflet}\input{eapi-cheatsheet.tex}' @@ -50,7 +52,7 @@ eapi-cheatsheet-nocombine.pdf: vc.tex vc.tex: $(LATEXFILES) vc vc-git.awk /bin/sh ./vc -pms.dvi: $(LATEXFILES) pms.bbl vc.tex +pms.dvi: $(LATEXFILES) pms.bbl vc.tex aux-clean latex pms latex pms latex pms @@ -67,4 +69,4 @@ upload: .default: all -.phony: clean maintainer-clean dist upload +.phony: clean maintainer-clean aux-clean dist upload