mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-26 22:05:34 +00:00
GSmartControl now uses XDG config directory for per-user configuration on
UNIX and CSIDL_PROFILE directory on Windows. Existing configuration is
migrated automatically.
The names are shown correctly for unsupported devices even with the latest
smartctl snapshots now.
Smartctl SVN revision is shown (if available).
The progress bars update properly when parallel tests are run.
Windows: GSmartControl should be able to operate on any valid filesystem
path (not just locale-representable ones).
Windows: GSmartControl is now officially compilable on x86_64 via mingw64.
Fixed compilation under very old gtkmm/libglademm, and with gcc 4.4.
Fixed parsing of multiple error types in SMART error log.
Added minor features and fixed miscellaneous bugs.
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
|
|
SUBDIRS = 16 22 24 32 48 64 128 256 nsis
|
|
|
|
|
|
dist_man_MANS = gsmartcontrol.1
|
|
|
|
install-extra-mans:
|
|
cd $(DESTDIR)$(mandir)/man1 && $(LN_S) -f gsmartcontrol.1 gsmartcontrol-root.1
|
|
|
|
uninstall-extra-mans:
|
|
cd $(DESTDIR)$(mandir)/man1 && rm -f gsmartcontrol-root.1
|
|
|
|
|
|
# This command is needed if installing with make install (the cache
|
|
# file is ignored for rpms).
|
|
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
|
|
|
|
install-data-hook: install-extra-mans update-icon-cache
|
|
uninstall-hook: uninstall-extra-mans 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.desktop
|
|
|
|
|
|
# Application pixmap (fallback icon for desktop files).
|
|
# Same as 48/gsmartcontrol.png.
|
|
# Also, xpm for debian menu, 32x32.
|
|
pixmapsdir = $(datadir)/pixmaps
|
|
pixmaps_DATA = 48/gsmartcontrol.png gsmartcontrol.xpm
|
|
|
|
|
|
# Put everything inside the distribution
|
|
EXTRA_DIST = $(appdata_DATA) gsmartcontrol.ico gsmartcontrol.xpm
|
|
|
|
|
|
bin_SCRIPTS = gsmartcontrol-root
|
|
CLEANFILES = $(bin_SCRIPTS)
|
|
|