chiark / gitweb /
simplifications to the tex prefix rules; they are completely
authoraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Fri, 3 May 2002 17:20:39 +0000 (17:20 +0000)
committeraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Fri, 3 May 2002 17:20:39 +0000 (17:20 +0000)
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

index eb377d410e894194bc9c28672b10cf6abe3e227b..bb365f83e3ac531c1706a38ef07652f7fa24053d 100644 (file)
--- 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))"               ;\