# Evergreen makefile
# ------------------------------------------------------------------------
-all: xul
+IMAGE=$(WEBDIR)/images
+
+all: xul
+
+
+install: images-install
xul:
make -C staff_client
+images-install:
+ @echo "Installing images to $(IMAGE)";
+ cp -r images $(WEBDIR)
+ ln -sf $(IMAGE)/map.jpg $(IMAGE)/cartographic.jpg
+ ln -sf $(IMAGE)/bigpinesLogo.jpg $(IMAGE)/main_logo.jpg
+ ln -sf $(IMAGE)/open_book.gif $(IMAGE)/"mixed material.jpg"
+ ln -sf $(IMAGE)/movie.jpg $(IMAGE)/"moving image.jpg"
+ ln -sf $(IMAGE)/music_icon.jpg $(IMAGE)/"notated music.jpg"
+ ln -sf $(IMAGE)/smallpinesLogo.jpg $(IMAGE)/"small_logo.jpg"
+ ln -sf $(IMAGE)/computer.jpg $(IMAGE)/"software, multimedia.jpg"
+ ln -sf $(IMAGE)/speaker.gif $(IMAGE)/"sound recording-musical.jpg"
+ ln -sf $(IMAGE)/speaker.gif $(IMAGE)/"sound recording-nonmusical.jpg"
+ ln -sf $(IMAGE)/speaker.gif $(IMAGE)/"sound recording.jpg"
+ ln -sf $(IMAGE)/camera.gif $(IMAGE)/"still images.jpg"
+ ln -sf $(IMAGE)/open_book.gif $(IMAGE)/text.jpg
+ ln -sf $(IMAGE)/book_icon.jpeg $(IMAGE)/"three dimensional object.jpg"
+
clean:
make -C staff_client clean
# openils_web - copies over the javascript and html templates to the web root directory for running the OPAC
# openils_marcdumper - utility code for converting MARC to MARCXML
#
-# evergreen_all - builds all Evergreen components
+# evergreen_cor - builds core Evergreen components (does not build evergreen_xul_client!)
# evergreen_xul_client - client XUL application
#
# When running the server components of OpenSRF/OpenILS, the simplest
# If you only want to build the client app, then just build evergreen_xul_client.
# --------------------------------------------------------------------
-TARGETS=("opensrf_all" "openils_all" );
+TARGETS=("opensrf_all" "openils_all" "evergreen_all");
# --------------------------------------------------------------------
# Evergreen ---
+ "evergreen_core" )
+ if installing; then $MAKE -C "$EVERGREENDIR" "images-install"; fi;
+ ;;
+
"evergreen_xul_client" )
- if building; then $MAKE -C "$EVERGREEN_DIR" xul; fi;
+ if building; then $MAKE -C "$EVERGREENDIR" xul; fi;
;;