# Makefile for MBSE BBS under Linux
# Copyright (c) 1998, 2000 by M. Broek.
# $Id$

include ../Makefile.global

OTHER		= Makefile README Language.xref
SDAT		= english.txt  dutch.txt  spanish.txt  galego.txt  german.txt  germandu.txt  french.txt chinese.txt
LDAT		= english.lang dutch.lang spanish.lang galego.lang german.lang germandu.lang french.lang chinese.lang

all:		${LDAT}

clean:
		rm -f core filelist Makefile.bak *.lang

install: ${LDAT}
		${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0444 ${LDAT} ${ETCDIR}

english.lang:	english.txt
		../mbutils/mblang english.lang english.txt

dutch.lang:	dutch.txt
		../mbutils/mblang dutch.lang dutch.txt

spanish.lang:	spanish.txt
		../mbutils/mblang spanish.lang spanish.txt

galego.lang:	galego.txt
		../mbutils/mblang galego.lang galego.txt

german.lang:	german.txt
		../mbutils/mblang german.lang german.txt

germandu.lang:	germandu.txt
		../mbutils/mblang germandu.lang germandu.txt

french.lang:	french.txt
		../mbutils/mblang french.lang french.txt

chinese.lang:	chinese.txt
		../mbutils/mblang chinese.lang chinese.txt

filelist:	Makefile
		BASE=`pwd`; \
		BASE=`basename $${BASE}`; \
		(for f in ${SDAT} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist

depend:

