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