From 18a530609d141d70eef964278571af8944a04e14 Mon Sep 17 00:00:00 2001 From: aph Date: Fri, 3 May 2002 17:20:39 +0000 Subject: [PATCH] simplifications to the tex prefix rules; they are completely irrelevant now though since debiandoc-sgml does it right git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@1640 313b444b-1b9f-4f58-a734-7bb04f332e8d --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index eb377d4..bb365f8 100644 --- a/Makefile +++ b/Makefile @@ -55,14 +55,14 @@ developers-reference.%.tex: developers-reference.%.sgml %.pdf: %.tex # note that I have seen bi-stable .aux files, thus we check two levels deep -cp -pf prior.aux pprior.aux 2>/dev/null - -cp -pf $(basename $<).aux prior.aux 2>/dev/null + -cp -pf $*.aux prior.aux 2>/dev/null # fail if we don't have pdflatex correctly installed kpsewhich pdflatex.fmt >/dev/null # due to a bug in debiandoc2latex2e output, this might fail -pdflatex '\nonstopmode\input{$<}' >/dev/null # see $(@:.pdf=.log) for details @set -e ;\ - if ! cmp $(basename $<).aux prior.aux 2>/dev/null && \ - ! cmp $(basename $<).aux pprior.aux 2>/dev/null; then \ + if ! cmp $*.aux prior.aux 2>/dev/null && \ + ! cmp $*.aux pprior.aux 2>/dev/null; then \ if expr $(MAKELEVEL) '<' $(MAX_TEX_RECURSION) >/dev/null;\ then \ echo "remaking $@ (take $(MAKELEVEL))" ;\ -- 2.30.2