infodir = @infodir@
prefix = @prefix@
srcdir = @srcdir@
subdir = texi/ps
top_srcdir = @top_srcdir@

SCREEN_PS= group-topic.ps group.ps server.ps summary-adopt.ps		\
summary-article-c-ug.ps summary-article.ps summary-dummy.ps		\
summary-empty.ps summary-none.ps summary-unthreaded.ps summary.ps

HERDS_PS= gnus-herd-bw.ps gnus-herd-new.ps new-herd-1.ps		\
 new-herd-2.ps new-herd-3.ps new-herd-4.ps new-herd-5.ps	\
new-herd-6.ps new-herd-7.ps new-herd-8.ps new-herd-9.ps			\
new-herd-section.ps new-herd.ps new-herd2.ps

MISC_PS= ered.ps eseptember.ps fred.ps fseptember.ps larsi.ps red.ps	\
september.ps

ETC_PS= bar.ps gnus-group-catchup-current-up.ps				\
gnus-group-catchup-current.ps gnus-group-describe-group-up.ps		\
gnus-group-exit-up.ps gnus-group-get-new-news-this-group-up.ps		\
gnus-group-get-new-news-up.ps gnus-group-kill-group-up.ps		\
gnus-group-subscribe-up.ps gnus-group-unsubscribe-up.ps			\
gnus-summary-caesar-message-up.ps gnus-summary-cancel-article-up.ps	\
gnus-summary-catchup-and-exit-up.ps gnus-summary-catchup-up.ps		\
gnus-summary-exit-up.ps gnus-summary-followup-up.ps			\
gnus-summary-followup-with-original-up.ps gnus-summary-mail-copy-up.ps	\
gnus-summary-mail-delete-up.ps gnus-summary-mail-forward-up.ps		\
gnus-summary-mail-get-up.ps gnus-summary-mail-originate-up.ps		\
gnus-summary-mail-reply-up.ps gnus-summary-mail-save-up.ps		\
gnus-summary-next-unread-up.ps gnus-summary-post-news-up.ps		\
gnus-summary-prev-unread-up.ps gnus-summary-reply-up.ps			\
gnus-summary-reply-with-original-up.ps					\
gnus-summary-save-article-file-up.ps gnus-summary-save-article-up.ps	\
gnus-uu-decode-uu-up.ps gnus-uu-post-news-up.ps gnus.ps

PICONS_PS= picons-att.ps picons-berkeley.ps picons-caltech.ps	\
picons-canada.ps picons-cr.ps picons-cygnus.ps picons-gnu.ps	\
picons-gov.ps picons-laurie.ps picons-mit.ps picons-nasa.ps	\
picons-qmw.ps picons-rms.ps picons-ruu.ps picons-seuu.ps	\
picons-stanford.ps picons-sun.ps picons-ubc.ps picons-ufl.ps	\
picons-uio.ps picons-unit.ps picons-upenn.ps picons-wesleyan.ps	\
picons-yale.ps

XFACE_PS= xface-abrahamsen.ps xface-aichner.ps xface-blanks.ps		\
xface-cosgriff.ps xface-drazen.ps xface-gertzfield.ps			\
xface-goldberg.ps xface-graf.ps xface-hardaker.ps xface-hedbor.ps	\
xface-ingrand.ps xface-kaplan.ps xface-karlheg.ps xface-kleinpaste.ps	\
xface-kyle.ps xface-love.ps xface-moll.ps xface-niksic.ps		\
xface-olsen.ps xface-patch.ps xface-petersen.ps xface-pjf.ps		\
xface-riocreux.ps xface-schauer.ps xface-simmonmt.ps xface-simmons.ps	\
xface-siu.ps xface-smb.ps xface-sobek.ps xface-thomas.ps		\
xface-valdis.ps xface-verna1.ps xface-verna2.ps xface-yamaoka.ps

SMILIES_PS= BigFace.ps smiley-FaceAngry.ps smiley-FaceDevilish.ps	\
smiley-FaceGoofy.ps smiley-FaceGrinning.ps smiley-FaceHappy.ps		\
smiley-FaceIronic.ps smiley-FaceKOed.ps smiley-FaceNyah.ps		\
smiley-FaceSad.ps smiley-FaceStartled.ps smiley-FaceStraight.ps		\
smiley-FaceTalking.ps smiley-FaceTasty.ps smiley-FaceWinking.ps		\
smiley-FaceWry.ps smiley-FaceYukky.ps smiley-WideFaceAse1.ps		\
smiley-WideFaceAse2.ps smiley-WideFaceAse3.ps smiley-WideFaceSmile.ps	\
smiley-WideFaceWeep.ps

EPS= gnus-big-logo.ps  gnus-head.ps

PSFILES= $(SCREEN_PS) $(HERDS_PS) $(ETC_PS) $(PICONS_PS) $(XFACE_PS)	\
$(SMILIES_PS) $(MISC_PS) $(EPS)

SCREEN_PDF= group-topic.pdf group.pdf server.pdf summary-adopt.pdf	\
summary-article-c-ug.pdf summary-article.pdf summary-dummy.pdf		\
summary-empty.pdf summary-none.pdf summary-unthreaded.pdf summary.pdf

HERDS_PDF= gnus-herd-bw.pdf gnus-herd-new.pdf new-herd-1.pdf	\
 new-herd-2.pdf new-herd-3.pdf new-herd-4.pdf	\
new-herd-5.pdf new-herd-6.pdf new-herd-7.pdf new-herd-8.pdf	\
new-herd-9.pdf new-herd-section.pdf new-herd.pdf new-herd2.pdf

MISC_PDF= ered.pdf eseptember.pdf fred.pdf fseptember.pdf larsi.pdf	\
red.pdf september.pdf

ETC_PDF= bar.pdf gnus-group-catchup-current-up.pdf			\
gnus-group-catchup-current.pdf gnus-group-describe-group-up.pdf		\
gnus-group-exit-up.pdf gnus-group-get-new-news-this-group-up.pdf	\
gnus-group-get-new-news-up.pdf gnus-group-kill-group-up.pdf		\
gnus-group-subscribe-up.pdf gnus-group-unsubscribe-up.pdf		\
gnus-summary-caesar-message-up.pdf gnus-summary-cancel-article-up.pdf	\
gnus-summary-catchup-and-exit-up.pdf gnus-summary-catchup-up.pdf	\
gnus-summary-exit-up.pdf gnus-summary-followup-up.pdf			\
gnus-summary-followup-with-original-up.pdf				\
gnus-summary-mail-copy-up.pdf gnus-summary-mail-delete-up.pdf		\
gnus-summary-mail-forward-up.pdf gnus-summary-mail-get-up.pdf		\
gnus-summary-mail-originate-up.pdf gnus-summary-mail-reply-up.pdf	\
gnus-summary-mail-save-up.pdf gnus-summary-next-unread-up.pdf		\
gnus-summary-post-news-up.pdf gnus-summary-prev-unread-up.pdf		\
gnus-summary-reply-up.pdf gnus-summary-reply-with-original-up.pdf	\
gnus-summary-save-article-file-up.pdf gnus-summary-save-article-up.pdf	\
gnus-uu-decode-uu-up.pdf gnus-uu-post-news-up.pdf gnus.pdf

PICONS_PDF= picons-att.pdf picons-berkeley.pdf picons-caltech.pdf	\
picons-canada.pdf picons-cr.pdf picons-cygnus.pdf picons-gnu.pdf	\
picons-gov.pdf picons-laurie.pdf picons-mit.pdf picons-nasa.pdf		\
picons-qmw.pdf picons-rms.pdf picons-ruu.pdf picons-seuu.pdf		\
picons-stanford.pdf picons-sun.pdf picons-ubc.pdf picons-ufl.pdf	\
picons-uio.pdf picons-unit.pdf picons-upenn.pdf picons-wesleyan.pdf	\
picons-yale.pdf

XFACE_PDF= xface-abrahamsen.pdf xface-aichner.pdf xface-blanks.pdf	\
xface-cosgriff.pdf xface-drazen.pdf xface-gertzfield.pdf		\
xface-goldberg.pdf xface-graf.pdf xface-hardaker.pdf xface-hedbor.pdf	\
xface-ingrand.pdf xface-kaplan.pdf xface-karlheg.pdf			\
xface-kleinpaste.pdf xface-kyle.pdf xface-love.pdf xface-moll.pdf	\
xface-niksic.pdf xface-olsen.pdf xface-patch.pdf xface-petersen.pdf	\
xface-pjf.pdf xface-riocreux.pdf xface-schauer.pdf xface-simmonmt.pdf	\
xface-simmons.pdf xface-siu.pdf xface-smb.pdf xface-sobek.pdf		\
xface-thomas.pdf xface-valdis.pdf xface-verna1.pdf xface-verna2.pdf	\
xface-yamaoka.pdf

SMILIES_PDF= BigFace.pdf smiley-FaceAngry.pdf smiley-FaceDevilish.pdf	\
smiley-FaceGoofy.pdf smiley-FaceGrinning.pdf smiley-FaceHappy.pdf	\
smiley-FaceIronic.pdf smiley-FaceKOed.pdf smiley-FaceNyah.pdf		\
smiley-FaceSad.pdf smiley-FaceStartled.pdf smiley-FaceStraight.pdf	\
smiley-FaceTalking.pdf smiley-FaceTasty.pdf smiley-FaceWinking.pdf	\
smiley-FaceWry.pdf smiley-FaceYukky.pdf smiley-WideFaceAse1.pdf		\
smiley-WideFaceAse2.pdf smiley-WideFaceAse3.pdf				\
smiley-WideFaceSmile.pdf smiley-WideFaceWeep.pdf

EPS_PDF= gnus-big-logo.pdf  gnus-head.pdf

PDFFILES= $(SCREEN_PDF) $(HERDS_PDF) $(ETC_PDF) $(PICONS_PDF)	\
$(XFACE_PDF) $(SMILIES_PDF) $(MISC_PDF) $(EPS_PDF)

all: $(PSFILES) $(EPS)

pdf: $(PDFFILES)

.ps.pdf:
	epstopdf $<

.SUFFIXES: .pdf .ps .eps .xbm .xpm .png .tif .gif 

clean:
	rm -f $(PSFILES)
	rm -f $(PDFFILES)

veryclean: clean

distclean: clean

install:

new-herd-section.ps: $(srcdir)/../herds/new-herd-section.png $(srcdir)/../herds/convol11.pnm
	pngtopnm $< | pnmscale 4 | pnmconvol $(srcdir)/../herds/convol11.pnm |\
	ppmtopgm | pnmdepth 255 | \
	pnmtops -noturn -width 100 -height 100 > $@ || rm -f $@

%.ps: $(srcdir)/../herds/%.png $(srcdir)/../herds/convol5.pnm
	pngtopnm $< | pnmcrop -white | pnmmargin -white 9 | pnmscale 2 | \
	pnmconvol $(srcdir)/../herds/convol5.pnm  | ppmtopgm | \
	pnmdepth 255 | pnmtops -width 100 -height 100 -noturn > $@ || rm -f $@


%.ps: $(srcdir)/../screen/%.png
	pngtopnm $< | pnmmargin -black 1 | ppmtopgm | \
	pnmtops -width 100 -height 100 -noturn > $@ || rm -f $@

larsi.ps: $(srcdir)/../misc/larsi.png
	pngtopnm $< | ppmtopgm | pnmtops -noturn > $@ || rm -f $@

september.ps: $(srcdir)/../misc/eseptember.tif
	tifftopnm $< | pnmscale 4 | ppmtopgm | \
	pnmtops -noturn  -width 100 -height 100 > $@ || rm -f $@

red.ps: $(srcdir)/../misc/ered.tif
	tifftopnm $< | pnmscale 2 | ppmtopgm | \
	pnmtops -noturn  -width 100 -height 100 > $@ || rm -f $@

%.ps: $(srcdir)/../misc/%.tif
	tifftopnm $< | pnmscale 2 | ppmtopgm |  \
	pnmtops -noturn  -width 100 -height 100 > $@ || rm -f $@

%.ps: $(srcdir)/../etc/%.xpm
	xpmtoppm $< | ppmtopgm | pnmdepth 255 | \
	pnmtops -noturn > $@ || rm -f $@

picons-%.ps: $(srcdir)/../picons/%.xbm
	xbmtopbm $< | pnmtops -noturn > $@ || rm -f $@

picons-%.ps: $(srcdir)/../picons/%.png
	pngtopnm $< | ppmtopgm | pnmtops -noturn > $@ || rm -f $@

xface-%.ps: $(srcdir)/../xface/%.png
	pngtopnm $< | ppmtopgm | pnmtops -noturn > $@ || rm -f $@

%.ps: $(srcdir)/../smilies/%.tif
	tifftopnm $< | ppmtopgm | pnmtops > $@ || rm -f $@

smiley-%.ps: $(srcdir)/../smilies/%.xpm
	sed "s/none/#FFFFFF/" $< | xpmtoppm | ppmtopgm | pnmdepth 255 | \
	pnmtops > $@ || rm -f $@

smiley-%.ps: $(srcdir)/../smilies/%.xbm
	xbmtopbm $< | pnmdepth 255 | pnmtops > $@ || rm -f $@

%.ps: $(srcdir)/%.eps
	cp $< $@

Makefile: $(srcdir)/Makefile.in ../../config.status
	cd ../.. \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
