Add makefile install option.

edi-0.5
Alastair Poole 5 years ago
parent 1f189a10b6
commit 115dcfde07
  1. 11
      README.md
  2. 12
      data/evisum.desktop
  3. 9
      makefile
  4. 2
      src/main.c

@ -6,3 +6,14 @@ This is a process monitor.
Currently have full engines for Linux, FreeBSD, OpenBSD and MacOS.
Build:
make (or gmake)
Install:
make install
or
make PREFIX=/my/prefix install

@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Evisum
GenericName=System Activity
GenericName[ru]=Активность системы
Comment=System Activity
Comment[ru]=Активность системы
Exec=evisum
Icon=evisum
Categories=System
StartupWMClass=evisum

@ -9,9 +9,7 @@ ifeq ($(OSNAME), OpenBSD)
LDFLAGS += -I/usr/local/include -L/usr/local/lib -L/usr/X11R6/lib
endif
export CFLAGS = -g3 -ggdb3 -O0
export PKGS = eina elementary
export PKGS = elementary
export LIBS
@ -22,3 +20,8 @@ default:
clean:
$(MAKE) -C src clean
install:
cp data/evisum.png $(PREFIX)/share/icons
cp data/evisum.desktop $(PREFIX)/share/applications
cp evisum $(PREFIX)/bin

@ -22,7 +22,7 @@ _win_add(void)
win = elm_win_util_standard_add("evisum", "evisum");
icon = elm_icon_add(win);
elm_icon_standard_set(icon, "system-preferences");
elm_icon_standard_set(icon, "evisum");
elm_win_icon_object_set(win, icon);
evas_object_resize(win, 768 * elm_config_scale_get(), 420 * elm_config_scale_get());

Loading…
Cancel
Save