Commit 56a3aaa5 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(LANGUAGE_SUFFIX): New variable.

(EXTRA_DIST): Added lyskomd-data-en.
(install-data-local): Install lyskomd-data-en or lyskomd-data,
	depending on LANGUAGE_SUFFIX.
parent 442397af
# $Id: Makefile.am,v 1.2 1998/07/11 23:19:15 ceder Exp $
# $Id: Makefile.am,v 1.3 1999/06/23 21:56:54 ceder Exp $
# Copyright (C) 1998 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,16 +22,18 @@
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
LANGUAGE_SUFFIX=@LANGUAGE_SUFFIX@
dbdir = $(prefix)/db
# lyskomd-data and lyskomd-texts should be in db_DATA, but we don't
# want to install them if they already exist. This is the same
# situation that we have in run-support/Makefile.am.
db_DATA =
EXTRA_DIST = lyskomd-data lyskomd-texts .cvsignore
EXTRA_DIST = lyskomd-data lyskomd-texts .cvsignore lyskomd-data-en
install-data-local:
test -f $(DESTDIR)$(dbdir)/lyskomd-data \
|| $(INSTALL_DATA) $(srcdir)/lyskomd-data \
|| $(INSTALL_DATA) $(srcdir)/lyskomd-data$(LANGUAGE_SUFFIX) \
$(DESTDIR)$(dbdir)/lyskomd-data
test -f $(DESTDIR)$(dbdir)/lyskomd-texts \
|| $(INSTALL_DATA) $(srcdir)/lyskomd-texts \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment