On Wed, 21 Feb 2001, Rune Zedeler wrote:
> Rune Zedeler wrote:
>
> > Okay, I got it working (whoops, didn't know that tex has problems with
> > white spaces at beginning of header-line)...
>
> And by the way: How about adding some sort of prefix to the generated
> files, making it easier to cleanup?
> (getting tired of "rm 1* 2* 3* 4* 5* 6* 7* 8* 9*" - prefer "rm lily_*")
Makefile:
----------------------------------
all: fullbook
lilypond:
lilypond-book Book.mb 2>&1
tex: lilypond
latex \\nonstopmode \\input Book.latex
book: tex
dvips Book.dvi -o Book.ps
fullbook: index book psconvert
psconvert:
psbook Book.ps Book2.ps
pstops '2:0L(11.45in,0.25in)+1L(11.45in,5.6in)' Book2.ps Book3.ps
index:
makeindicies
clean:
rm 1* 2* 3* 4* 5* 6* 7* 8* 9*
----------------------------------
Personally, I just do "make clean" :).
Or, for Laura's problem, there's
bash$ rm `ls | perl -ne 'if(/^\d+\.(ly|tex)/){print;}'`
However, a prefix would be a nice long-term solution
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: [EMAIL PROTECTED] | I am |
---------------------------------------------------------------------
Web: Temporarily unavailable
----BEGIN GEEK CODE BLOCK----
Version 3.1
GCS d? s: a-- C++>++++$ US+ P++ L++ E- W+++ N+ w+> M-- V- Y+>++
PGP->++ R(+) !tv B++ DI++++ D+ G e>++ h!/* y-
-----END GEEK CODE BLOCK-----
_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss