1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# This file is part of Ellinika project.
# Copyright (C) 2004, 2006, 2007, 2015 Sergey Poznyakoff
#
# Ellinika is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Ellinika is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
EXTRA_DIST = COPYING.FDL lingua.conf.in
SUBDIRS = . pl ru uk
DISTCLEANFILES=lingua.conf
CLEANFILES=conf.sed
noinst_DATA= lingua.conf
conf.sed: Makefile
$(AM_V_GEN){ \
echo 's,=TMPDIR=,$(top_builddir)/../tmp,g'; \
echo 's,=OUTDIR=,$(top_builddir)/../html,g'; \
echo 's,=TARGET_DIR=,$(TARGET_DIR),g'; \
echo 's,=SCRIPT_SUFFIX=,$(SCRIPT_SUFFIX),g'; \
echo 's,=SCRIPT_DIR=,$(SCRIPT_DIR),g'; \
echo 's,=BASE_HREF=,$(BASE_HREF),g'; \
echo 's,=PACKAGE_BUGREPORT=,$(PACKAGE_BUGREPORT),g'; \
echo 's,=PROD_URL=,$(PROD_URL),g'; \
echo 's,=EXP_URL=,$(EXP_URL),g'; \
} > conf.sed
lingua.conf: $(srcdir)/lingua.conf.in conf.sed
$(AM_V_GEN)sed -f conf.sed $(srcdir)/lingua.conf.in > $@
|