mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-28 22:55:33 +00:00
Disabled Linux "by-id" drive detection - it's unreliable on some broken systems.
Added some more attribute descriptions.
Our names for attributes override smartctls' now.
Added a proper "Add Device" dialog for Windows.
Added an icon and resource file for Windows.
Fixed minor bugs.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
|
|
SUBDIRS = 16 22 24 32 48 64 128 256
|
|
|
|
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
|
|
|
|
|
|
# Application data, installs to /usr/share/appname
|
|
appdatadir = $(pkgdatadir)
|
|
appdata_DATA = icon_cddvd.png icon_hdd.png
|
|
|
|
|
|
# pkgdatadir = $(datadir)/gsmartcontrol
|
|
# pkgdata_DATA =
|
|
|
|
# Desktop files
|
|
desktopdir = $(datadir)/applications
|
|
desktop_DATA = gsmartcontrol_gnome.desktop gsmartcontrol_kde.desktop \
|
|
gsmartcontrol_other.desktop
|
|
|
|
|
|
# Application pixmap (fallback icon for desktop files)
|
|
# Same as 48/gsmartcontrol.png
|
|
pixmapsdir = $(datadir)/pixmaps
|
|
pixmaps_DATA = 48/gsmartcontrol.png
|
|
|
|
|
|
# Put everything inside the distribution
|
|
EXTRA_DIST = $(appdata_DATA) gsmartcontrol.ico
|
|
|
|
|
|
bin_SCRIPTS = gsmartcontrol_root.sh
|
|
CLEANFILES = $(bin_SCRIPTS)
|
|
|