From 8e2f25d912bff89daaee1f2cd0beda1e82876d25 Mon Sep 17 00:00:00 2001 From: "jan@dwrox.net" Date: Wed, 18 Apr 2018 12:18:02 +0200 Subject: [PATCH] Update for packaging --- Makefile | 14 +++++++++++++- kissebook.desktop | 9 +++++++++ kissebook.png | Bin 0 -> 7530 bytes 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100755 kissebook.desktop create mode 100644 kissebook.png diff --git a/Makefile b/Makefile index ca4e5ce..5a42733 100755 --- a/Makefile +++ b/Makefile @@ -15,9 +15,21 @@ LINKER_FLAGS = -lzip -lsqlite3 `pkg-config --libs gtk+-3.0` #OBJ_NAME specifies the name of our exectuable OBJ_NAME = kissebook +INSTALL_PATH = /usr/share/kissebook + #This is the target that compiles our executable all : $(OBJS) $(CC) $(OBJS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(OBJ_NAME) +install : all + mkdir $(INSTALL_PATH) + cp -r translations $(INSTALL_PATH) + cp kissebook.png $(INSTALL_PATH) + cp kissebook $(INSTALL_PATH) + cp kissebook.desktop /usr/share/applications/ + +uninstall : $(INSTALL_PATH) + rm -R $(INSTALL_PATH) -#gcc kisslib-jessie.c kiss-front-jessie.c -Wall -std=c99 -O3 -g `pkg-config --cflags gtk+-3.0` -lzip -lsqlite3 `pkg-config --libs gtk+-3.0` -o kisslib +clean : $(OBJ_NAME) + rm kissebook diff --git a/kissebook.desktop b/kissebook.desktop new file mode 100755 index 0000000..c6652a8 --- /dev/null +++ b/kissebook.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=0.8.4 +Type=Application +Terminal=False +Exec=/usr/share/kissebook/kissebook +Name=KissEbook +Comment=KISS Ebook - A kiss principle ebook quick launcher +Icon=/usr/share/kissebook/kissebook.png +Categories=Application;Util;Viewer;GTK diff --git a/kissebook.png b/kissebook.png new file mode 100644 index 0000000000000000000000000000000000000000..8cf82ab62e4321852bc390d57d11fdf83117b119 GIT binary patch literal 7530 zcmcgxWAOBx&+>5h>`kfD_Us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