head	1.39;
access;
symbols
	PyQwt-3_7:1.4
	start:1.1.1.1
	gvermeul:1.1.1;
locks; strict;
comment	@# @;


1.39
date	2009.08.05.05.42.01;	author gvermeul;	state Exp;
branches;
next	1.38;

1.38
date	2008.11.09.17.18.00;	author gvermeul;	state Exp;
branches;
next	1.37;

1.37
date	2008.10.26.06.24.53;	author gvermeul;	state Exp;
branches;
next	1.36;

1.36
date	2008.10.26.06.14.35;	author gvermeul;	state Exp;
branches;
next	1.35;

1.35
date	2007.12.07.07.10.37;	author gvermeul;	state Exp;
branches;
next	1.34;

1.34
date	2007.12.07.06.42.52;	author gvermeul;	state Exp;
branches;
next	1.33;

1.33
date	2007.08.07.17.27.01;	author gvermeul;	state Exp;
branches;
next	1.32;

1.32
date	2007.08.05.11.00.31;	author gvermeul;	state Exp;
branches;
next	1.31;

1.31
date	2007.08.05.10.31.21;	author gvermeul;	state Exp;
branches;
next	1.30;

1.30
date	2007.07.29.16.57.03;	author gvermeul;	state Exp;
branches;
next	1.29;

1.29
date	2007.07.27.12.59.45;	author gvermeul;	state Exp;
branches;
next	1.28;

1.28
date	2007.04.22.13.59.41;	author gvermeul;	state Exp;
branches;
next	1.27;

1.27
date	2006.11.05.08.10.20;	author gvermeul;	state Exp;
branches;
next	1.26;

1.26
date	2006.10.01.10.46.01;	author gvermeul;	state Exp;
branches;
next	1.25;

1.25
date	2006.09.17.09.11.19;	author gvermeul;	state Exp;
branches;
next	1.24;

1.24
date	2006.03.26.18.06.52;	author gvermeul;	state Exp;
branches;
next	1.23;

1.23
date	2006.02.18.13.41.18;	author gvermeul;	state Exp;
branches;
next	1.22;

1.22
date	2005.02.25.06.46.11;	author gvermeul;	state Exp;
branches;
next	1.21;

1.21
date	2005.02.20.16.19.26;	author gvermeul;	state Exp;
branches;
next	1.20;

1.20
date	2005.02.20.07.34.36;	author gvermeul;	state Exp;
branches;
next	1.19;

1.19
date	2005.02.20.00.31.45;	author gvermeul;	state Exp;
branches;
next	1.18;

1.18
date	2005.01.15.01.52.37;	author gvermeul;	state Exp;
branches;
next	1.17;

1.17
date	2004.11.21.01.03.34;	author gvermeul;	state Exp;
branches;
next	1.16;

1.16
date	2004.06.13.15.36.46;	author gvermeul;	state Exp;
branches;
next	1.15;

1.15
date	2004.06.06.14.29.35;	author gvermeul;	state Exp;
branches;
next	1.14;

1.14
date	2004.05.24.15.33.26;	author gvermeul;	state Exp;
branches;
next	1.13;

1.13
date	2004.05.20.16.35.53;	author gvermeul;	state Exp;
branches;
next	1.12;

1.12
date	2004.05.09.15.45.50;	author gvermeul;	state Exp;
branches;
next	1.11;

1.11
date	2004.05.09.14.47.05;	author gvermeul;	state Exp;
branches;
next	1.10;

1.10
date	2004.05.07.20.52.30;	author gvermeul;	state Exp;
branches;
next	1.9;

1.9
date	2004.05.07.19.40.22;	author gvermeul;	state Exp;
branches;
next	1.8;

1.8
date	2004.05.05.19.52.46;	author gvermeul;	state Exp;
branches;
next	1.7;

1.7
date	2004.05.05.19.24.06;	author gvermeul;	state Exp;
branches;
next	1.6;

1.6
date	2003.09.08.18.10.17;	author gvermeul;	state Exp;
branches;
next	1.5;

1.5
date	2003.07.27.16.08.24;	author gvermeul;	state Exp;
branches;
next	1.4;

1.4
date	2003.06.30.06.16.54;	author gvermeul;	state Exp;
branches;
next	1.3;

1.3
date	2003.06.28.11.17.04;	author gvermeul;	state Exp;
branches;
next	1.2;

1.2
date	2003.06.27.06.50.43;	author gvermeul;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.26.17.40.31;	author gvermeul;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2003.06.26.17.40.31;	author gvermeul;	state Exp;
branches;
next	;


desc
@@


1.39
log
@Replace PyQwt-5.1.0 by PyQwt-5.2.0.
@
text
@PYQWT5_CVS       := $(HOME)/CVS/PyQwt/pyqwt5
PYQWT4_CVS       := $(HOME)/CVS/PyQwt/pyqwt4
PYQWT3D_CVS      := $(HOME)/CVS/pyqwt3d

EXAMPLES         := BarPlotDemo BodeDemo
EXAMPLES         += CartesianDemo CliDemo DataDemo ErrorBarDemo
EXAMPLES         += ImagePlotDemo
EXAMPLES         += MaskedDataDemo
EXAMPLES_PNG     := $(EXAMPLES:%=$(PYQWT5_CVS)/qt4examples/%*.png) 
EXAMPLES_HTML    := $(EXAMPLES:%=$(PYQWT5_CVS)/qt4examples/%.py.html) 

EXAMPLES_3D      := TestNumPy
EXAMPLES_3D_IMG  := $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/qt4examples/%.svg)
EXAMPLES_3D_IMG  += $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/qt4examples/%.ps)
EXAMPLES_3D      += ParametricSurfaceDemo SimplePlot EnrichmentDemo
EXAMPLES_3D_IMG  += $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/qt4examples/%*.png) 
EXAMPLES_3D      += Grab
EXAMPLES_3D_HTML := $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/qt4examples/%.py.html) 

SOURCES          := $(shell echo *.ht)
TARGETS          := $(filter-out *.html,$(SOURCES:%.ht=%.html))
GENERATED_HTML   := $(SOURCES:.ht=.html)

HTROOT           := .
HT2HTML          := python ht2html-2.0/ht2html.py
HTSTYLE          := PyQwtGenerator 
HTALLFLAGS       := -f -s $(HTSTYLE)
HTFLAGS          := $(HTALLFLAGS) -r $(HTROOT)

DEST             := gvermeul,pyqwt@@web.sourceforge.net:htdocs
EXCLUDES         := --exclude CVS
EXCLUDES         += --exclude ht2html-2.0
EXCLUDES         += --exclude *.pyc
EXCLUDES         += --exclude *~
ARGS             := --rsh=ssh -v -r -l -t --update  --delete $(EXCLUDES)

# pattern rules
%.html: %.ht links.h PyQwtGenerator.py
	touch $<
	$(HT2HTML) $(HTFLAGS) $<
	perl -pi -e 's|</head>|<link rel="SHORTCUT ICON" href="doc/pyfav.png">\n</head>|g' $@@

# targets
all: $(TARGETS)
	mkdir -p doc5
	(cd $(PYQWT5_CVS)/sphinx; make clean; make; make latex)
	(cd $(PYQWT5_CVS)/sphinx/build/latex; make all-pdf)
	cp -vpr $(PYQWT5_CVS)/sphinx/build/html/* doc5
	cp -vpr $(PYQWT5_CVS)/sphinx/build/latex/PyQwt.pdf doc5
	mkdir -p doc4
	(cd $(PYQWT4_CVS)/Doc; make htdoc)
	cp -vpr $(PYQWT4_CVS)/Doc/html/htdoc/* doc4
	(cd $(PYQWT3D_CVS)/Doc; make htdoc)
	mkdir -p doc3d
	cp -vpr $(PYQWT3D_CVS)/Doc/html/htdoc/* doc3d
	cp -vp home.html index.html
	cp -vp patent-protest strike.html

.PHONY: examples examples3d

examples: $(EXAMPLES_PNG) $(EXAMPLES_HTML)
	cp -pv $^ examples

examples3d: $(EXAMPLES_3D_IMG) $(EXAMPLES_3D_HTML)
	cp -pv $^ examples3d

clean:
	rm -f *~
	rm -f $(GENERATED_HTML)

install: clean all
	rsync $(ARGS) . $(DEST)

snarf:
	rsync --rsh=ssh -avut $(DEST)/snapshot .
	rsync --rsh=ssh -avut $(DEST)/support .
@


1.38
log
@Switch to the sphinx generated documentation for PyQwt-5.1.1.
@
text
@d46 2
a47 1
	(cd $(PYQWT5_CVS)/sphinx; make clean; make)
d49 1
@


1.37
log
@Oops, add the htdocs directory to the address.
@
text
@d46 2
a47 2
	(cd $(PYQWT5_CVS)/Doc; make htdoc)
	cp -vpr $(PYQWT5_CVS)/Doc/html/htdoc/* doc5
@


1.36
log
@Upgrade to new Sourceforge setup.
@
text
@d30 1
a30 1
DEST             := gvermeul,pyqwt@@web.sourceforge.net
@


1.35
log
@Add CartesianDemo and MaskedDataDemo.
Put the examples in alphabetical order.
@
text
@d30 1
a30 1
DEST             := pyqwt.sourceforge.net:/home/groups/p/py/pyqwt/htdocs
@


1.34
log
@Add Mark Summerfield's book.
Take the examples of PyQwt-5 in combination with Qt-4.
@
text
@d5 2
a6 1
EXAMPLES         := BarPlotDemo BodeDemo CliDemo DataDemo ErrorBarDemo
d8 1
@


1.33
log
@Fix typo in Makefile which did not allow to upgrade the .png files.
@
text
@d5 4
a8 4
EXAMPLES         := BodeDemo CliDemo DataDemo ErrorBarDemo QwtImagePlotDemo
EXAMPLES         += StackOrder
EXAMPLES_PNG     := $(EXAMPLES:%=$(PYQWT4_CVS)/qt3examples/%*.png) 
EXAMPLES_HTML    := $(EXAMPLES:%=$(PYQWT4_CVS)/qt3examples/%.py.html) 
@


1.32
log
@Add TestNumPy.ps and minor editing.
@
text
@d14 1
a14 1
EXAMPLES_3D_IMG  +:= $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/qt4examples/%*.png) 
@


1.31
log
@Rename EnrichmentDemo.png to EnrichmentDemo.png because Grab.py changed.
Refresh the QwtPlot3D examples.
@
text
@d11 2
a12 1
EXAMPLES_3D_SVG  := $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/qt4examples/%.svg)
d14 1
a14 1
EXAMPLES_3D_PNG  := $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/qt4examples/%*.png) 
d60 1
a60 1
examples3d: $(EXAMPLES_3D_SVG) $(EXAMPLES_3D_PNG) $(EXAMPLES_3D_HTML)
@


1.30
log
@Take the PyQwt3D examples from qt4examples and add SVG output.
@
text
@d13 1
a13 1
EXAMPLES_3D_PNG  := $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/qt4examples/%.png) 
@


1.29
log
@Add the QwtImagePlotDemo example and refresh the other examples.
@
text
@d10 4
a13 2
EXAMPLES_3D      := ParametricSurfaceDemo SimplePlot TestNumeric EnrichmentDemo
EXAMPLES_3D_PNG  := $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/examples/%.png) 
d15 1
a15 1
EXAMPLES_3D_HTML := $(EXAMPLES_3D:%=$(PYQWT3D_CVS)/examples/%.py.html) 
d59 1
a59 1
examples3d: $(EXAMPLES_3D_PNG) $(EXAMPLES_3D_HTML)
@


1.28
log
@make snarf was not working on Gentoo x86_64.
@
text
@d5 2
a6 1
EXAMPLES         := BodeDemo CliDemo DataDemo ErrorBarDemo StackOrder
@


1.27
log
@Fixes for Mac OS X.
@
text
@d67 2
a68 2
	rsync --rsh=ssh -v -r -l -t --update $(DEST)/snapshot .
	rsync --rsh=ssh -v -r -l -t --update $(DEST)/support .
@


1.26
log
@Add the Qwt3D enrichment demo.
@
text
@d41 1
a41 1
	cp -vpur $(PYQWT5_CVS)/Doc/html/htdoc/* doc5
d44 1
a44 1
	cp -vpur $(PYQWT4_CVS)/Doc/html/htdoc/* doc4
d47 3
a49 3
	cp -vpur $(PYQWT3D_CVS)/Doc/html/htdoc/* doc3d
	cp -vpu home.html index.html
	cp -vpu patent-protest strike.html
d54 1
a54 1
	cp -puv $^ examples
d57 1
a57 1
	cp -puv $^ examples3d
@


1.25
log
@Make doc3d directory if it does not exist.
@
text
@d9 1
a9 1
EXAMPLES_3D      := ParametricSurfaceDemo SimplePlot TestNumeric
@


1.24
log
@Prepare the release of PyQwt4 and PyQwt5.
Update the PyQwt license.
@
text
@d46 1
@


1.23
log
@Release PyQwt3D-0.1.1 and link to IVuPy.
@
text
@d1 2
a2 1
PYQWT_CVS        := $(HOME)/CVS/PyQwt/pyqwt4
d5 3
a7 3
EXAMPLES         := BodeDemo CliDemo1 CliDemo2 DataDemo ErrorBarDemo StackOrder
EXAMPLES_PNG     := $(EXAMPLES:%=$(PYQWT_CVS)/examples/%.png) 
EXAMPLES_HTML    := $(EXAMPLES:%=$(PYQWT_CVS)/examples/%.py.html) 
d39 6
a44 4
	mkdir -p doc
	(cd $(PYQWT_CVS)/Doc; make htdoc)
	cp -vpur $(PYQWT_CVS)/Doc/html/htdoc/* doc
	mkdir -p doc3d
@


1.22
log
@Add the PyQwt3D examples
@
text
@d1 1
a1 1
PYQWT_CVS        := $(HOME)/CVS/PyQwt-4_1-fixes
@


1.21
log
@Set the PyQwt CVS directory to the PyQwt-4_1-fixes branch.
@
text
@d1 2
a2 2
PYQWT_CVS      := $(HOME)/CVS/PyQwt-4_1-fixes
PYQWT3D_CVS    := $(HOME)/CVS/pyqwt3d
d4 25
a28 20
EXAMPLES       := BodeDemo CliDemo1 CliDemo2 DataDemo ErrorBarDemo StackOrder
EXAMPLES_PNG   := $(EXAMPLES:%=$(PYQWT_CVS)/examples/%.png) 
EXAMPLES_HTML  := $(EXAMPLES:%=$(PYQWT_CVS)/examples/%.py.html) 

SOURCES        := $(shell echo *.ht)
TARGETS        := $(filter-out *.html,$(SOURCES:%.ht=%.html))
GENERATED_HTML := $(SOURCES:.ht=.html)

HTROOT         := .
HT2HTML        := python ht2html-2.0/ht2html.py
HTSTYLE        := PyQwtGenerator 
HTALLFLAGS     := -f -s $(HTSTYLE)
HTFLAGS        := $(HTALLFLAGS) -r $(HTROOT)

DEST           := pyqwt.sourceforge.net:/home/groups/p/py/pyqwt/htdocs
EXCLUDES       := --exclude CVS
EXCLUDES       += --exclude ht2html-2.0
EXCLUDES       += --exclude *.pyc
EXCLUDES       += --exclude *~
ARGS           := --rsh=ssh -v -r -l -t --update  --delete $(EXCLUDES)
d47 1
a47 1
.PHONY: examples
d52 3
@


1.20
log
@Touch the .ht files to prevent unnecessary generation of .html files.
@
text
@d1 1
a1 1
PYQWT_CVS      := $(HOME)/CVS/pyqwt
@


1.19
log
@Use pattern rules instead of (obsolete) suffix rules.
Make the generated HTML depend on links.h and PyQwtGenerator.py.
@
text
@d27 1
@


1.18
log
@Add the ErrorBarDemo example and remove Fontmap.GS
@
text
@d25 2
a26 3
.SUFFIXES: .ht .html

.ht.html:
d30 1
@


1.17
log
@Add the PyQwt3D documentation and prepare the release of PyQwt-4.1
@
text
@d4 3
a6 3
EXAMPLES       := BodeDemo CliDemo1 CliDemo2 DataDemo StackOrder
EXAMPLES_PNG   := $(EXAMPLES:%=$(PYQWT_WORK_COPY)/examples/%.png) 
EXAMPLES_HTML  := $(EXAMPLES:%=$(PYQWT_WORK_COPY)/examples/%.py.html) 
a44 1
	cp -puv /usr/share/ghostscript/6.53/lib/Fontmap.GS examples
d55 1
a55 1
	rsync --rsh=ssh -v -r -l -t --update $(DEST)/support .@


1.16
log
@Terminate strike
@
text
@d1 2
a2 1
PYQWT_WORK_COPY := $(HOME)/CVS/pyqwt
d4 20
a23 20
EXAMPLES        := BodeDemo CliDemo1 CliDemo2 DataDemo StackOrder
EXAMPLES_PNG    := $(EXAMPLES:%=$(PYQWT_WORK_COPY)/examples/%.png) 
EXAMPLES_HTML   := $(EXAMPLES:%=$(PYQWT_WORK_COPY)/examples/%.py.html) 

SOURCES         := $(shell echo *.ht)
TARGETS         := $(filter-out *.html,$(SOURCES:%.ht=%.html))
GENERATED_HTML  := $(SOURCES:.ht=.html)

HTROOT          := .
HT2HTML         := python ht2html-2.0/ht2html.py
HTSTYLE         := PyQwtGenerator 
HTALLFLAGS      := -f -s $(HTSTYLE)
HTFLAGS         := $(HTALLFLAGS) -r $(HTROOT)

DEST            := pyqwt.sourceforge.net:/home/groups/p/py/pyqwt/htdocs
EXCLUDES        := --exclude CVS
EXCLUDES        += --exclude ht2html-2.0
EXCLUDES        += --exclude *.pyc
EXCLUDES        += --exclude *~
ARGS		:= --rsh=ssh -v -r -l -t --update  --delete $(EXCLUDES)
d33 5
a37 2
	(cd $(PYQWT_WORK_COPY)/Doc; make htdoc)
	cp -vpur $(PYQWT_WORK_COPY)/Doc/html/htdoc/* doc
@


1.15
log
@Go on strike
@
text
@d34 1
a34 1
	cp -vpu patent-protest index.html
@


1.14
log
@An old sed has no -i. Use perl instead of sed
@
text
@d34 1
a34 1
	cp -vpu home.html index.html
@


1.13
log
@Reorganized protest against software patents
@
text
@d28 1
a28 1
	sed -i -e 's|</head>|<link rel="SHORTCUT ICON" href="doc/pyfav.png">\n</head>|g' $@@
@


1.12
log
@Add banner in front of body and tweak html file organization
@
text
@d34 1
a34 1
	cp -vpu patent-protest index.html
@


1.11
log
@Tiny reorganization to protest against software patents
@
text
@d35 1
@


1.10
log
@Fixed target in for sed invocation
@
text
@d34 1
@


1.9
log
@Sed "SHORTCUT ICON" into *.html files"
@
text
@d28 1
a28 1
	sed -i -e 's|</head>|<link rel="SHORTCUT ICON" href="doc/pyfav.png"></head>|g' *.html
@


1.8
log
@More --delete tweaking
@
text
@d28 1
@


1.7
log
@Add snarf target and tweak --delete
@
text
@d22 1
a22 1
ARGS		:= --rsh=ssh -v -r -l -t --update $(EXCLUDES)
d45 1
a45 1
	rsync $(ARGS) --delete . $(DEST)
d48 2
a49 2
	rsync $(ARGS) $(DEST)/snapshot .
	rsync $(ARGS) $(DEST)/support .@


1.6
log
@Ignore the directories patches and support
@
text
@d22 1
a22 1
ARGS		:= --rsh=ssh -v -r -l -t --update --delete $(EXCLUDES)
d45 5
a49 1
	rsync $(ARGS) . $(DEST)
@


1.5
log
@Added rich text support, removed MacOSX support
@
text
@d18 4
a21 1
EXCLUDES        := --exclude CVS --exclude ht2html-2.0 --exclude *.pyc
@


1.4
log
@Add and improve examples, add style.css
@
text
@d3 1
a3 1
EXAMPLES        := CliDemo1 CliDemo2 DataDemo StackOrder
d35 1
@


1.3
log
@Add command line interpreter examples
@
text
@d3 1
a3 1
EXAMPLES        := CliDemo1 CliDemo2 StackOrder
@


1.2
log
@Reduce demand for screen estate
@
text
@d3 1
a3 1
EXAMPLES        := StackOrder
@


1.1
log
@Initial revision
@
text
@d18 1
a18 1
EXCLUDES        := --exclude ht2html-2.0 --exclude *.pyc
@


1.1.1.1
log
@Initial import.
@
text
@@
