2001-11-03 21:43:44 +00:00
|
|
|
# Copyright (c) M. Broek, 1997-2001
|
2001-11-03 22:45:03 +00:00
|
|
|
# $Id$
|
2001-11-03 21:43:44 +00:00
|
|
|
|
|
|
|
include ../Makefile.global
|
|
|
|
|
2002-03-31 13:09:23 +00:00
|
|
|
OTHER = Makefile header.txt footer.txt menus-le.tar menus-be.tar txtfiles.tar templates.tar
|
2001-11-03 21:43:44 +00:00
|
|
|
|
|
|
|
#####################################################################################
|
|
|
|
|
|
|
|
install:
|
2002-01-12 20:29:38 +00:00
|
|
|
@if [ ! -f ${ETCDIR}/header.txt ]; then \
|
|
|
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 header.txt ${ETCDIR} ; \
|
|
|
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 header.txt ${ETCDIR}" ; \
|
|
|
|
fi
|
2001-11-03 21:43:44 +00:00
|
|
|
@if [ ! -f ${ETCDIR}/footer.txt ]; then \
|
2002-01-12 20:29:38 +00:00
|
|
|
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 footer.txt ${ETCDIR} ; \
|
|
|
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 footer.txt ${ETCDIR}" ; \
|
2001-11-03 21:43:44 +00:00
|
|
|
fi
|
|
|
|
@if [ ! -f ${PREFIX}/english/menus/main.mnu ]; then \
|
2002-03-22 22:48:31 +00:00
|
|
|
if [ "${HOSTTYPE}" = "i386" ] || [ "${MACHTYPE}" = "i386" ]; then \
|
2002-01-12 20:29:38 +00:00
|
|
|
tar xfC menus-le.tar ${PREFIX}/english/menus ; \
|
2002-03-06 20:57:20 +00:00
|
|
|
echo "Installing default english menus for a Little-Endian (i386) system" ; \
|
|
|
|
else \
|
|
|
|
tar xfC menus-be.tar ${PREFIX}/english/menus ; \
|
|
|
|
echo "Installing default english menus for a Big-Endian (Alpha/Sparc etc.) system" ; \
|
|
|
|
fi \
|
2001-11-03 21:43:44 +00:00
|
|
|
fi
|
|
|
|
@if [ ! -f ${PREFIX}/english/txtfiles/main.ans ]; then \
|
|
|
|
tar xfC txtfiles.tar ${PREFIX}/english/txtfiles ; \
|
|
|
|
echo "Installing default english txtfiles" ; \
|
|
|
|
fi
|
2002-03-31 15:04:34 +00:00
|
|
|
@echo -e "\a"
|
|
|
|
@echo "WARNING: overwriting all your templates! Do not customize them yet,"
|
|
|
|
@echo "there will be a lot of changes coming. If you still do so, it is not our fault"
|
|
|
|
@echo "Also do not make any translations yet! Wait until we are ready with this"
|
|
|
|
@echo "End of WARNING WARNING WARNING."
|
|
|
|
@echo -e "\a"
|
|
|
|
@echo -n "Press ENTER to continue: "
|
|
|
|
@read junk
|
2002-03-31 13:09:23 +00:00
|
|
|
tar xfC templates.tar ${PREFIX}/english/macro
|
2001-11-03 21:43:44 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f filelist Makefile.bak
|
|
|
|
|
|
|
|
filelist: Makefile
|
|
|
|
BASE=`pwd`; \
|
|
|
|
BASE=`basename $${BASE}`; \
|
|
|
|
(for f in ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist
|
|
|
|
all:
|
|
|
|
|
|
|
|
depend:
|
|
|
|
|