Changed makefile system

This commit is contained in:
Michiel Broek
2001-11-03 21:43:44 +00:00
parent d8e6113ca3
commit 0d6ed54d96
27 changed files with 1044 additions and 4109 deletions

34
examples/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# Copyright (c) M. Broek, 1997-2001
# $Id:
include ../Makefile.global
OTHER = Makefile etc.tar menus.tar txtfiles.tar
#####################################################################################
install:
@if [ ! -f ${ETCDIR}/footer.txt ]; then \
tar xfC etc.tar ${ETCDIR} ; \
echo "Installing default etc files" ; \
fi
@if [ ! -f ${PREFIX}/english/menus/main.mnu ]; then \
tar xfC menus.tar ${PREFIX}/english/menus ; \
echo "Installing default english menus" ; \
fi
@if [ ! -f ${PREFIX}/english/txtfiles/main.ans ]; then \
tar xfC txtfiles.tar ${PREFIX}/english/txtfiles ; \
echo "Installing default english txtfiles" ; \
fi
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: