head	1.11;
access;
symbols;
locks
	suter:1.11; strict;
comment	@# @;


1.11
date	2004.03.18.06.15.10;	author suter;	state Exp;
branches;
next	1.10;

1.10
date	2004.03.18.00.12.42;	author suter;	state Exp;
branches;
next	1.9;

1.9
date	2004.03.17.13.04.23;	author suter;	state Exp;
branches;
next	1.8;

1.8
date	2004.03.17.12.08.35;	author suter;	state Exp;
branches;
next	1.7;

1.7
date	2004.03.11.02.40.30;	author suter;	state Exp;
branches;
next	1.6;

1.6
date	2004.03.11.02.31.57;	author suter;	state Exp;
branches;
next	1.5;

1.5
date	2004.03.11.02.31.10;	author suter;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.04.22.56.14;	author suter;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.05.02.40.23;	author suter;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.13.14.03.28;	author suter;	state Exp;
branches;
next	1.1;

1.1
date	2003.02.13.06.07.15;	author suter;	state Exp;
branches;
next	;


desc
@Makefile for magicpoint presentations.
@


1.11
log
@Almost ready.
@
text
@#!/usr/bin/make -rRf
# Makefile for MagicPoint presentations
# Copyright (C) 2004 Mark Suter <mark.suter@@miju.com.au>
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

SOURCES = fdl.txt gpl.txt unwanted-email.mgp images/email-overview.eps images/sturgeon-logo.eps images/feb04_spam_percentages_char.eps

live: $(SOURCES)
	exec mgp -x freetype -q -F 0 -R -G -t 45 unwanted-email.mgp

cache: $(SOURCES)
	mgp -x freetype -q -d unwanted-email.mgp

preview: $(SOURCES)
	exec mgp -x freetype -q -g 320x240-0+0 unwanted-email.mgp

html: $(SOURCES)
	mkdir -p html
	mgp -x freetype -D html -q -g 800x600 unwanted-email.mgp

fdl.txt:
	wget http://www.gnu.org/licenses/fdl.txt

gpl.txt:
	wget http://www.gnu.org/licenses/gpl.txt

images/feb04_spam_percentages_char.gif:
	cd images && wget http://www.brightmail.com/images/q3/feb04_spam_percentages_char.gif

%.eps: %.fig
	fig2dev -L eps -b 5 $< $@@

%.eps: %.gif
	convert $< $@@

%.ps: %.mgp
	mgp2ps -c $< > $@@

%.pdf: %.ps
	ps2pdf $< > $@@

web: html unwanted-email.ps unwanted-email.pdf

spell:
	exec aspell --dont-backup --check unwanted-email.mgp 

clean:
	rm -f .gscache* *.bak *~ images/*.eps images/.gscache*

veryclean: clean
	rm -f unwanted-email.tar.gz unwanted-email.ps unwanted-email.pdf
	rm -rf html

dist: clean
	fakeroot tar cvzf unwanted-email.tar.gz -C .. --exclude unwanted-email.tar.gz $$(basename $$(pwd))

.PHONY: live cache preview web spell clean veryclean dist

@


1.10
log
@I like the preview in the corner.
@
text
@d61 4
a64 1
	rm -f .gscache* *.bak *~ images/*.eps images/.gscache* unwanted-email.tar.gz unwanted-email.ps unwanted-email.pdf
d70 1
a70 1
.PHONY: live cache preview web spell clean dist
@


1.9
log
@tweaking.
@
text
@d28 1
a28 1
	exec mgp -x freetype -q -g 320x240 unwanted-email.mgp
@


1.8
log
@cleaner clean
@
text
@d19 1
a19 1
SOURCES = fdl.txt gpl.txt unwanted-email.mgp images/email-overview.eps images/sturgeon-logo.eps
d40 3
d46 3
@


1.7
log
@Added forward caching.
@
text
@d28 1
a28 1
	exec mgp -x freetype -q -g 640x480 unwanted-email.mgp
d55 1
a55 1
	rm -f .gscache* *.bak *~ images/*.eps unwanted-email.tar.gz unwanted-email.ps unwanted-email.pdf
@


1.6
log
@*** empty log message ***
@
text
@d22 1
a22 1
	exec mgp -x freetype -q -R -G -t 45 unwanted-email.mgp
@


1.5
log
@Cleanup.
change from vflib to freetype
@
text
@a29 2
web: html unwanted-email.ps unwanted-email.pdf

d49 2
@


1.4
log
@doh!
@
text
@d22 1
a22 1
	exec mgp -x vflib -q -R -G -t 45 unwanted-email.mgp 2> log
d25 1
a25 1
	mgp -x vflib -q -d unwanted-email.mgp 2> log
d28 3
a30 1
	exec mgp -x vflib -q -g 640x480 unwanted-email.mgp 2> log
d34 1
a34 1
	mgp -x vflib -D html -q -g 800x600 unwanted-email.mgp
a41 3
unwanted-email.ps: $(SOURCES)
	mgp2ps -V $< > $@@

d45 6
d55 1
a55 1
	rm -f .gscache* log *.bak *~ images/*.eps unwanted-email.tar.gz
@


1.3
log
@Tweaks.
@
text
@d1 19
a19 1
SOURCES = mimedefang.mgp email-overview.eps mimedefang-architecture.eps sturgeon-logo.eps
d22 1
a22 1
	exec mgp -x vflib -q -R -G -t 45 mimedefang.mgp 2> log
d25 1
a25 1
	mgp -x vflib -q -d mimedefang.mgp 2> log
d28 1
a28 1
	exec mgp -x vflib -q -g 640x480 mimedefang.mgp 2> log
d32 7
a38 1
	mgp -x vflib -D html -q -g 800x600 mimedefang.mgp
d40 2
a41 2
mimedefang.ps: $(SOURCES)
	mgp2ps -V -c -t $< > $@@
d47 1
a47 1
	exec aspell --dont-backup --check mimedefang.mgp 
d50 1
a50 1
	rm -f .gscache* log *.bak *~ *.eps mimedefang.tar.gz
d54 1
a54 1
	fakeroot tar cvzf mimedefang.tar.gz -C .. --exclude mimedefang.tar.gz $$(basename $$(pwd))
@


1.2
log
@Tweaks...
@
text
@d1 1
a1 1
SOURCES = mimedefang.mgp email-overview.eps mimedefang-architecture.eps
d4 3
a7 1
	exec mgp -x vflib -q -R -G -t 45 mimedefang.mgp 2> log
d14 1
a14 1
	mgp -x vflib -D html -q -g 1024x768 mimedefang.mgp
d26 1
a26 1
	rm -f .gscache* log *.bak *~ email-overview.eps mimedefang-architecture.eps mimedefang.ps mimedefang.tar.gz
d32 1
a32 1
.PHONY: live preview web spell clean dist
@


1.1
log
@Initial revision
@
text
@d12 1
a12 1
	mgp -x vflib -D html -q -g 640x480 mimedefang.mgp
@
