Copy Browser and MARC Editor buttons on staff client embedded OPAC MARC View window
[Evergreen.git] / Evergreen / Makefile
1 # ------------------------------------------------------------------------
2 # Evergreen makefile
3 # ------------------------------------------------------------------------
4
5 IMAGE=$(WEBDIR)/images
6
7 # A kludge until we move the generic parts of the staff client to Open-ILS
8
9 all:    xul 
10
11
12 install:        images-install circ-install
13
14 xul:
15         cp -R staff_client local_staff_client
16         find local_staff_client/ -type f -exec sed -i s/evergreen/${NEW_XUL_PACKAGE_NAME}/g {} \;
17         find local_staff_client/ -type f -exec sed -i s/Evergreen/${NEW_XUL_PACKAGE_LABEL}/g {} \;
18         (cd local_staff_client/chrome/skin/evergreen; mv evergreen.css ${NEW_XUL_PACKAGE_NAME}.css)
19         (cd local_staff_client/defaults/preferences; mv evergreen.js ${NEW_XUL_PACKAGE_NAME}.js)
20         (cd local_staff_client/chrome/content; mv evergreen ${NEW_XUL_PACKAGE_NAME})
21         (cd local_staff_client/chrome/locale/en-US/; mv evergreen ${NEW_XUL_PACKAGE_NAME})
22         (cd local_staff_client/chrome/skin; mv evergreen ${NEW_XUL_PACKAGE_NAME})
23         make -C local_staff_client build
24         find local_staff_client/ -type f -exec sed -i s/gapines.org/${NEW_OPAC_URL}/g {} \;
25         make -C local_staff_client package
26
27 images-install:
28         @echo "Installing images to $(IMAGE)";
29         cp -r images $(WEBDIR)
30         ln -sf $(IMAGE)/map.jpg $(IMAGE)/cartographic.jpg
31         ln -sf $(IMAGE)/bigpinesLogo.jpg $(IMAGE)/main_logo.jpg
32         ln -sf $(IMAGE)/open_book.gif $(IMAGE)/"mixed material.jpg"
33         ln -sf $(IMAGE)/movie.jpg $(IMAGE)/"moving image.jpg"
34         ln -sf $(IMAGE)/music_icon.jpg $(IMAGE)/"notated music.jpg"
35         ln -sf $(IMAGE)/smallpinesLogo.jpg $(IMAGE)/"small_logo.jpg"
36         ln -sf $(IMAGE)/computer.jpg $(IMAGE)/"software, multimedia.jpg"
37         ln -sf $(IMAGE)/speaker.gif $(IMAGE)/"sound recording-musical.jpg"
38         ln -sf $(IMAGE)/speaker.gif $(IMAGE)/"sound recording-nonmusical.jpg"
39         ln -sf $(IMAGE)/speaker.gif $(IMAGE)/"sound recording.jpg"
40         ln -sf $(IMAGE)/camera.gif $(IMAGE)/"still images.jpg"
41         ln -sf $(IMAGE)/open_book.gif $(IMAGE)/text.jpg
42         ln -sf $(IMAGE)/book_icon.jpeg $(IMAGE)/"three dimensional object.jpg"
43
44 css-install:
45         mkdir -p $(WEBDIR)
46         cp -r css $(WEBDIR)
47
48 circ-install:
49         mkdir -p $(CIRCRULESDIR)
50         cp circ_rules/*.rules $(CIRCRULESDIR)/
51
52 clean:
53         make -C local_staff_client clean