aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f023892..d119523 100644
--- a/Makefile
+++ b/Makefile
@@ -77,13 +77,16 @@ endif
# ---- debian .deb package ----
-deb: release
+deb: app
@echo "building deb package v$(VERSION)"
rm -rf $(DEB_ROOT)
- # binary
+ # binaries
install -d $(DEB_ROOT)/usr/bin
install -m 755 $(BINARY) $(DEB_ROOT)/usr/bin/$(NAME)
+ @if [ -f $(GUI_BINARY) ]; then \
+ install -m 755 $(GUI_BINARY) $(DEB_ROOT)/usr/bin/$(NAME)-app; \
+ fi
# desktop file + icon
install -d $(DEB_ROOT)/usr/share/applications