include ../config.make

contrib:
	
install:
	-if [ ! -d $(STK_LIBRARY)/demos ] ; \
	 then mkdir -p $(STK_LIBRARY)/demos; fi
	-if [ ! -d $(STK_LIBRARY)/demos/bitmaps ] ; \
         then mkdir -p $(STK_LIBRARY)/demos/bitmaps; fi
	for i in *.stk; \
	do \
	  sed -e 's=/usr/local/lib/stk=$(STK_LIBRARY)=' \
	      -e 's=/usr/local/bin=$(BIN_DIR)=' $$i > $(STK_LIBRARY)/demos/$$i;\
	  chmod a+x $(STK_LIBRARY)/demos/$$i;\
	done
	for i in bitmaps/*; \
	do \
	  cp $$i $(STK_LIBRARY)/demos/$$i;\
	done