1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
EXTRA_DIST = \
$(APPS_PICS) \
$(APPS_SVG) \
$(MIME_PICS) \
$(MIME_SVG) \
$(SPLASH_PICS)
APPS_SVG = bluefish-icon.svg
APPS_PICS = \
bluefish-icon_16.png \
bluefish-icon_22.png \
bluefish-icon_32.png \
bluefish-icon_36.png \
bluefish-icon_48.png \
bluefish-icon_64.png \
bluefish-icon_72.png \
bluefish-icon_96.png \
bluefish-icon_128.png \
bluefish-icon_192.png \
bluefish-icon_256.png \
bluefish-icon_512.png
MIME_SVG = bluefish-project.svg
MIME_PICS = \
bluefish-project_16.png \
bluefish-project_22.png \
bluefish-project_32.png \
bluefish-project_36.png \
bluefish-project_48.png \
bluefish-project_64.png \
bluefish-project_72.png \
bluefish-project_96.png \
bluefish-project_128.png \
bluefish-project_192.png \
bluefish-project_256.png \
bluefish-project_512.png
SPLASH_PICS = \
bluefish-splash-nb2.svg \
bluefish-splash-nb2.png \
bluefish-splash-nb3.svg \
bluefish-splash-nb3.png
MAINTAINERCLEANFILES = Makefile.in
ICON_SIZES = 16 22 32 36 48 64 72 96 128 192 256 512
if INSTALL_THEMEICONS
appsiconsvgdir = $(iconthemepath)/scalable/apps
appsiconsvg_DATA = $(APPS_SVG)
mimeiconsvgdir = $(iconthemepath)/scalable/mimetypes
mimeiconsvg_DATA = $(MIME_SVG)
endif #INSTALL_THEMEICONS
install-data-local:
@$(NORMAL_INSTALL)
test -z "$(pkgdatadir)" || \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
$(INSTALL_DATA) $(srcdir)/bluefish-splash-nb3.png \
$(DESTDIR)$(pkgdatadir)/bluefish_splash.png
if INSTALL_ICONS
test -z "$(iconpath)" || \
$(mkinstalldirs) $(DESTDIR)$(iconpath)
$(INSTALL_DATA) $(srcdir)/bluefish-icon_48.png \
$(DESTDIR)$(iconpath)/$(PACKAGE).png
$(INSTALL_DATA) $(srcdir)/bluefish-project_48.png \
$(DESTDIR)$(iconpath)/application-x-bluefish-project.png
endif #INSTALL_ICONS
if INSTALL_THEMEICONS
test -z "$(iconthemepath)" || \
$(mkinstalldirs) $(DESTDIR)$(iconthemepath)
for size in $(ICON_SIZES) ; do \
test -z "$(iconthemepath)/$${size}x$${size}/apps" || \
$(mkinstalldirs) $(DESTDIR)$(iconthemepath)/$${size}x$${size}/apps ; \
$(INSTALL_DATA) $(srcdir)/bluefish-icon_$${size}.png \
$(DESTDIR)$(iconthemepath)/$${size}x$${size}/apps/$(PACKAGE).png ; \
test -z "$(iconthemepath)" || \
$(mkinstalldirs) $(DESTDIR)$(iconthemepath)/$${size}x$${size}/mimetypes ; \
$(INSTALL_DATA) $(srcdir)/bluefish-project_$${size}.png \
$(DESTDIR)$(iconthemepath)/$${size}x$${size}/mimetypes/application-x-bluefish-project.png ; \
done
endif #INSTALL_THEMEICONS
uninstall-hook:
rm -f $(DESTDIR)$(pkgdatadir)/bluefish_splash.png
if INSTALL_ICONS
rm -f $(DESTDIR)$(iconpath)/$(PACKAGE).png
rm -f $(DESTDIR)$(iconpath)/application-x-bluefish-project.png
endif #INSTALL_ICONS
if INSTALL_THEMEICONS
for size in $(ICON_SIZES) ; do \
rm -f $(DESTDIR)$(iconthemepath)/$${size}x$${size}/apps/$(PACKAGE).png ; \
rm -f $(DESTDIR)$(iconthemepath)/$${size}x$${size}/mimetypes/application-x-bluefish-project.png ; \
done
endif #INSTALL_THEMEICONS
|