diff options
-rw-r--r-- | Makefile | 11 | ||||
-rw-r--r-- | biblereader-symbolic.svg | 8 | ||||
-rw-r--r-- | biblereader.desktop | 8 |
3 files changed, 27 insertions, 0 deletions
@@ -5,9 +5,20 @@ LDFLAGS=-pthread -lbible SOURCES=header.cc main.cc mods.cc readerview.cc sword.cc OBJECTS=$(SOURCES:.cc=.o) EXECUTABLE=biblereader +ifeq ($(PREFIX),) + PREFIX := /usr +endif all: $(SOURCES) $(EXECUTABLE) +install: $(EXECUTABLE) + install -d $(DESTDIR)$(PREFIX)/bin/ + install -m 755 $(EXECUTABLE) $(DESTDIR)$(PREFIX)/bin/ + install -d $(DESTDIR)$(PREFIX)/share/applications/ + install -m 644 biblereader.desktop $(DESTDIR)$(PREFIX)/share/applications/ + install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/symbolic/apps/ + install -m 644 biblereader-symbolic.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/symbolic/apps/ + $(EXECUTABLE): $(OBJECTS) $(CC) $(LDFLAGS) $(OBJECTS) -o $@ `pkg-config $(LIBS) --libs` diff --git a/biblereader-symbolic.svg b/biblereader-symbolic.svg new file mode 100644 index 0000000..7854114 --- /dev/null +++ b/biblereader-symbolic.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" viewBox="0 0 16 16" version="1.1"> +<g id="surface1"> +<path style="fill-rule:nonzero;fill:rgb(6.27451%,23.921569%,47.450981%);fill-opacity:1;stroke-width:10.649;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(6.27451%,23.921569%,47.450981%);stroke-opacity:1;stroke-miterlimit:1.3;" d="M 32.500755 94.740716 L 177.626367 94.740716 L 177.626367 290.667982 L 32.500755 290.667982 Z M 32.500755 94.740716 " transform="matrix(0.0762002,0,0,0.0762002,0,-6.629413)"/> +<path style="fill-rule:nonzero;fill:rgb(68.235296%,42.745098%,0%);fill-opacity:1;stroke-width:3.194665;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(68.235296%,42.745098%,0%);stroke-opacity:1;stroke-miterlimit:1.3;" d="M 90.991862 112.836562 L 121.185781 112.836562 L 121.185781 267.804674 L 90.991862 267.804674 Z M 90.991862 112.836562 " transform="matrix(0.0762002,0,0,0.0762002,0,-6.629413)"/> +<path style="fill-rule:nonzero;fill:rgb(68.235296%,42.745098%,0%);fill-opacity:1;stroke-width:3.194665;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(68.235296%,42.745098%,0%);stroke-opacity:1;stroke-miterlimit:1.3;" d="M 40.497786 143.491849 L 172.500065 143.491849 L 172.500065 162.971797 L 40.497786 162.971797 Z M 40.497786 143.491849 " transform="matrix(0.0762002,0,0,0.0762002,0,-6.629413)"/> +</g> +</svg> diff --git a/biblereader.desktop b/biblereader.desktop new file mode 100644 index 0000000..3738ae6 --- /dev/null +++ b/biblereader.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Biblereader +Comment=Read the Word +Exec=biblereader +Icon=biblereader +Terminal=false +Type=Application +Categories=Education |