* [gentoo-pms] Makefile improvement
@ 2009-02-19 9:08 Christian Faulhammer
0 siblings, 0 replies; only message in thread
From: Christian Faulhammer @ 2009-02-19 9:08 UTC (permalink / raw
To: gentoo-pms
[-- Attachment #1.1: Type: text/plain, Size: 325 bytes --]
Hi,
I rethought my changes for vc and improved the Makefile a bit
(especially the clean target). This builds upon all the other already
submitted patches.
V-Li
--
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
<URL:http://www.faulhammer.org/>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: pms-Makefile.patch --]
[-- Type: text/x-patch, Size: 1334 bytes --]
From 6057225f0991b69f561021421e812fdd4d408705 Mon Sep 17 00:00:00 2001
From: Christian Faulhammer <fauli@gentoo.org>
Date: Thu, 19 Feb 2009 08:35:34 +0100
Subject: [PATCH] update the clean target for the vc.tex file
use a proper target for vc.tex generation
---
Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 7fd8c9a..c36e862 100644
--- a/Makefile
+++ b/Makefile
@@ -3,13 +3,13 @@ html : pms.html
clean :
rm -f *~ *.pdf *.dvi *.log *.aux *.bbl *.blg *.toc *.lol *.loa *.lox \
- *.lot *.out *.html *.css *.png *.4ct *.4tc *.idv *.lg *.tmp *.xref || true
+ *.lot *.out *.html *.css *.png *.4ct *.4tc *.idv *.lg *.tmp *.xref vc.tex || true
LATEXFILES = $(shell ls *.tex)
LISTINGFILES = $(shell ls *.listing)
SOURCEFILES = $(LATEXFILES) $(LISTINGFILES)
-pms.pdf: $(SOURCEFILES) pms.bbl
+pms.pdf: $(SOURCEFILES) pms.bbl vc.tex
pdflatex pms
pdflatex pms
pdflatex pms
@@ -27,8 +27,10 @@ pms.html: $(SOURCEFILES) pms.bbl
@# align algorithm line numbers properly
sed -i -e '/<span class="ALCitem">/{N;s/\n\(class="[^"]\+">\)\([0-9]:\)<\/span>/\1\ \2/}' pms.html
-pms.bbl: pms.bib pms.tex
+vc.tex: pms.tex
/bin/sh ./vc
+
+pms.bbl: pms.bib pms.tex
latex pms
bibtex pms
--
1.6.0.6
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-19 9:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 9:08 [gentoo-pms] Makefile improvement Christian Faulhammer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox