Files
gsmartcontrol/data/Makefile.am
T
Alexander Shaduri ad85368aa1 Tagging 0.8.0rc3:
Added support for udevless Linux distributions by providing a fallback
        /proc/partitions-based drive detection method. The new method adds
        support for Linux 2.4 and older systems. Thanks to Paul Marwick for
        reporting and testing.
    Fixed invalid error messages with directory-related operations.
    Fixed invalid verbosity levels of console output of debug messages in
        non-debug builds.
    Improved rpm spec file - now supports building on OpenSUSE build
        service with various distributions as targets.
2010-12-26 18:50:20 +00:00

37 lines
882 B
Makefile

SUBDIRS = 16 22 24 32 48 64 128
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating GTK icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
# installs to /usr/share/appname
appdatadir = $(pkgdatadir)
appdata_DATA = icon_cddvd.png icon_hdd.png
# pkgdatadir = $(datadir)/gsmartcontrol
# pkgdata_DATA =
desktopdir = $(datadir)/applications
desktop_DATA = gsmartcontrol_gnome.desktop gsmartcontrol_kde.desktop \
gsmartcontrol_other.desktop
# Same as 48/gsmartcontrol.png
pixmapsdir = $(datadir)/pixmaps
pixmaps_DATA = 48/gsmartcontrol.png
EXTRA_DIST = $(appdata_DATA) $(pixmaps_DATA)