Changed russian description a little bit
[gnuplot] / term / Makefile.am.in
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
2 AUTOMAKE_OPTIONS = foreign 1.2h
3
4 EXTRA_DIST = README Makefile.am.in compact.c driver.h impcodes.h \
5 object.h post.h $(CORETERM) PostScript
6
7 # List of terminal drivers; must be created
8 # prior to running automake
9 ##trm-files-begin
10 ##trm-files-end
11
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
17
18 Makefile.am: Makefile.am.in
19         rm -f $@ $@t
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 ' \
23           >> $@t
24         sed -n '/^##trm-files-end/,$$p' Makefile.am.in >> $@t
25         chmod a-w $@t
26         mv $@t $@
27