| 1 | ## Process this file with automake to produce Makefile.in
|
|---|
| 2 |
|
|---|
| 3 | xpm_files = \
|
|---|
| 4 | aven.xpm \
|
|---|
| 5 | log.xpm \
|
|---|
| 6 | open.xpm \
|
|---|
| 7 | open_pres.xpm \
|
|---|
| 8 | rotation.xpm \
|
|---|
| 9 | plan.xpm \
|
|---|
| 10 | elevation.xpm \
|
|---|
| 11 | defaults.xpm \
|
|---|
| 12 | names.xpm \
|
|---|
| 13 | crosses.xpm \
|
|---|
| 14 | entrances.xpm \
|
|---|
| 15 | fixed_pts.xpm \
|
|---|
| 16 | exported_pts.xpm \
|
|---|
| 17 | ug_legs.xpm \
|
|---|
| 18 | surface_legs.xpm \
|
|---|
| 19 | tubes.xpm \
|
|---|
| 20 | solid_surface.xpm \
|
|---|
| 21 | pres_frew.xpm \
|
|---|
| 22 | pres_rew.xpm \
|
|---|
| 23 | pres_go_back.xpm \
|
|---|
| 24 | pres_pause.xpm \
|
|---|
| 25 | pres_go.xpm \
|
|---|
| 26 | pres_ff.xpm \
|
|---|
| 27 | pres_fff.xpm \
|
|---|
| 28 | pres_stop.xpm \
|
|---|
| 29 | find.xpm \
|
|---|
| 30 | hideresults.xpm \
|
|---|
| 31 | survey_tree.xpm \
|
|---|
| 32 | pres_tree.xpm
|
|---|
| 33 |
|
|---|
| 34 | EXTRA_DIST = \
|
|---|
| 35 | 3d.svg err.svg plt.svg pos.svg svx.svg \
|
|---|
| 36 | 3d.png err.png plt.png pos.png svx.png
|
|---|
| 37 |
|
|---|
| 38 | svgicondir = $(datadir)/icons/hicolor/scalable
|
|---|
| 39 | x32icondir = $(datadir)/icons/hicolor/32x32
|
|---|
| 40 |
|
|---|
| 41 | install-data-local:
|
|---|
| 42 | $(MKDIR_P) "$(DESTDIR)$(svgicondir)/mimetypes"
|
|---|
| 43 | $(MKDIR_P) "$(DESTDIR)$(x32icondir)/mimetypes"
|
|---|
| 44 | for f in 3d err pos svx ; do \
|
|---|
| 45 | $(INSTALL_DATA) "$(srcdir)/$$f.svg" "$(DESTDIR)$(svgicondir)/mimetypes/application-x-survex-$$f.svg" ; \
|
|---|
| 46 | $(INSTALL_DATA) "$(srcdir)/$$f.png" "$(DESTDIR)$(x32icondir)/mimetypes/application-x-survex-$$f.png" ; \
|
|---|
| 47 | done
|
|---|
| 48 | $(INSTALL_DATA) "$(srcdir)/plt.svg" "$(DESTDIR)$(svgicondir)/mimetypes/application-x-compass-plot.svg"
|
|---|
| 49 | $(INSTALL_DATA) "$(srcdir)/plt.png" "$(DESTDIR)$(x32icondir)/mimetypes/application-x-compass-plot.png"
|
|---|
| 50 |
|
|---|
| 51 | uninstall-local:
|
|---|
| 52 | for f in 3d err pos svx ; do \
|
|---|
| 53 | rm -f $(DESTDIR)$(svgicondir)/mimetypes/application-x-survex-$$f.svg ; \
|
|---|
| 54 | rm -f $(DESTDIR)$(x32icondir)/mimetypes/application-x-survex-$$f.png ; \
|
|---|
| 55 | done
|
|---|
| 56 | rm -f $(DESTDIR)$(svgicondir)/mimetypes/application-x-compass-plot.svg
|
|---|
| 57 | rm -f $(DESTDIR)$(x32icondir)/mimetypes/application-x-compass-plot.png
|
|---|
| 58 |
|
|---|
| 59 | # tubesprefs.png stationsprefs.png indicatorprefs.png\
|
|---|
| 60 | # windowprefs.png gridprefs.png unitsprefs.png \
|
|---|
| 61 | # legsprefs.png ctlprefs.png pres-restart.png pres-create.png\
|
|---|
| 62 | # pres-record.png pres-finish.png svxedit.png
|
|---|
| 63 |
|
|---|
| 64 | appicondir = $(datadir)/icons/hicolor/scalable/apps
|
|---|
| 65 | dist_appicon_DATA = aven.svg
|
|---|
| 66 |
|
|---|
| 67 | Aven.iconset.zip: aven.svg
|
|---|
| 68 | $(SHELL) $(srcdir)/svg2iconsetzip aven.svg Aven.iconset.zip
|
|---|
| 69 |
|
|---|
| 70 | SUFFIXES = .ico .png .svg .iconset.zip .xpm
|
|---|
| 71 |
|
|---|
| 72 | .svg.iconset.zip:
|
|---|
| 73 | $(SHELL) $(srcdir)/svg2iconsetzip $< $@
|
|---|
| 74 |
|
|---|
| 75 | .png.ico:
|
|---|
| 76 | $(SHELL) $(srcdir)/png2winicon $< $@
|
|---|
| 77 |
|
|---|
| 78 | .xpm.ico:
|
|---|
| 79 | $(SHELL) $(srcdir)/xpm2winicon $< $@
|
|---|
| 80 |
|
|---|
| 81 | iconsets = Aven.iconset.zip\
|
|---|
| 82 | 3d.iconset.zip err.iconset.zip plt.iconset.zip pos.iconset.zip\
|
|---|
| 83 | svx.iconset.zip
|
|---|
| 84 |
|
|---|
| 85 | MAINTAINERCLEANFILES = $(iconsets)
|
|---|
| 86 |
|
|---|
| 87 | EXTRA_DIST += png2winicon png2iconsetzip svg2iconsetzip\
|
|---|
| 88 | $(xpm_files)\
|
|---|
| 89 | aven.ico\
|
|---|
| 90 | 3d.ico err.ico plt.ico pos.ico svx.ico\
|
|---|
| 91 | $(iconsets)
|
|---|