stk/Lib/Makefile

47 lines
1.4 KiB
Makefile
Raw Normal View History

1996-09-27 06:29:02 -04:00
#
# STk/Lib Makefile
#
1999-09-05 07:16:41 -04:00
# Permission to use, copy, modify, distribute,and license this
# software and its documentation for any purpose is hereby granted,
# provided that existing copyright notices are retained in all
# copies and that this notice is included verbatim in any
# distributions. No written agreement, license, or royalty fee is
# required for any of the authorized uses.
# This software is provided ``AS IS'' without express or implied
# warranty.
#
1996-09-27 06:29:02 -04:00
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: ???
1999-09-05 07:16:41 -04:00
# Last file update: 3-Sep-1999 20:00 (eg)
1996-09-27 06:29:02 -04:00
include ../config.make
1999-09-05 07:16:41 -04:00
SITE_SCHEME=$(root)$(stkdir)/site-scheme
STK_IMAGES=$(root)$(libdir)/Images
STK_STK=$(root)$(libdir)/STk
1998-04-10 06:59:06 -04:00
STK_STK_MATCH=$(STK_STK)/Match
1999-09-05 07:16:41 -04:00
1996-09-27 06:29:02 -04:00
lib:
install:
-if [ ! -d $(SITE_SCHEME) ] ; then mkdir -p $(SITE_SCHEME); fi
-if [ ! -d $(STK_IMAGES) ] ; then mkdir -p $(STK_IMAGES); fi
-if [ ! -d $(STK_STK) ] ; then mkdir -p $(STK_STK); fi
1998-04-10 06:59:06 -04:00
-if [ ! -d $(STK_STK_MATCH) ] ; then mkdir -p $(STK_STK_MATCH); fi
1998-09-30 07:11:02 -04:00
for i in *.stk *.stklos STk.init; \
1996-09-27 06:29:02 -04:00
do \
sed -e 's=/usr/local/lib/stk=$(libdir)=' \
-e 's=/usr/local/bin=$(bindir)=' $$i > $(STK_STK)/$$i ;\
chmod 0644 $(STK_STK)/$$i;\
done
1999-09-05 07:16:41 -04:00
( cd Images; $(CP) * $(STK_IMAGES) )
1996-09-27 06:29:02 -04:00
chmod 0644 $(STK_IMAGES)/*
1998-04-10 06:59:06 -04:00
$(CP) Match/*.scm $(STK_STK_MATCH)
chmod 0644 $(STK_STK_MATCH)/*
1998-04-30 07:04:33 -04:00
chmod 0755 $(SITE_SCHEME) $(STK_IMAGES) $(STK_STK) $(STK_STK_MATCH)
1996-09-27 06:29:02 -04:00
install.libs:
clean: