## Process this file with automake to produce Makefile.in -*-Makefile-*- AUTOMAKE_OPTIONS = foreign 1.2h EXTRA_DIST = README Makefile.am.in compact.c driver.h impcodes.h \ object.h post.h $(CORETERM) PostScript # List of terminal drivers; must be created # prior to running automake ##trm-files-begin ##trm-files-end postscriptdir = $(pkgdatadir)/$(VERSION_MAJOR)/PostScript postscript_DATA = PostScript/8859-15.ps PostScript/8859-1.ps\ PostScript/8859-2.ps PostScript/cp1250.ps PostScript/cp437.ps\ PostScript/cp850.ps PostScript/cp852.ps PostScript/koi8r.ps PostScript/koi8u.ps\ PostScript/prologue.ps Makefile.am: Makefile.am.in rm -f $@ $@t sed -n '1,/^##trm-files-begin/p' Makefile.am.in > $@t echo CORETERM = *.trm | fmt | (tr '\012' @; echo) \ |sed 's/@$$/%/;s/@/ \\@/g' | tr @% '\012 ' \ >> $@t sed -n '/^##trm-files-end/,$$p' Makefile.am.in >> $@t chmod a-w $@t mv $@t $@