summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-12-25 01:38:55 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-12-25 01:38:55 +0000
commit4c7084ac5674bee61b3b34f72f516e66158017d2 (patch)
treee8c44109e925ce243fa783ee2758b6899ba9d504 /Makefile
parent30f4daf518bf907e560f9a60da6ae76fce86fb29 (diff)
add menu entry
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile35
1 files changed, 21 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 7c61d4c..13ef956 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
SUBDIRS =
DESTDIR =
UBINDIR ?= /usr/bin
+DESKTOPDIR ?= /usr/share/applications
+PIXMAPDIR ?= /usr/share/pixmaps
SISYPHUSLIBDIR ?= /usr/lib/sisyphus
-SISYPHUSSHAREDIR ?= /usr/share/sisyphus
+SISYPHUSDATADIR ?= /usr/share/sisyphus
POLKITDIR ?= /usr/share/polkit-1/actions
all:
@@ -16,6 +18,7 @@ install:
install -d $(DESTDIR)$(UBINDIR)
install -m 0755 sisyphus $(DESTDIR)$(UBINDIR)/
+ install -m 0755 sisyphus-pkexec $(DESTDIR)$(UBINDIR)/
install -d $(DESTDIR)$(SISYPHUSLIBDIR)
install -m 0755 libsisyphus.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
install -m 0755 ui/accesoriesui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
@@ -25,18 +28,22 @@ install:
install -m 0755 ui/multimediaui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
install -m 0755 ui/officeui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
install -m 0755 ui/systemui.sh $(DESTDIR)$(SISYPHUSLIBDIR)/
- install -d $(DESTDIR)$(SISYPHUSSHAREDIR)
- install -m 0755 icon/accesories.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/games.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/graphics.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/install.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/internet.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/multimedia.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/office.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/purge.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/remove.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/search.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/system.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
- install -m 0755 icon/upgrade.svg $(DESTDIR)$(SISYPHUSSHAREDIR)/
+ install -d $(DESTDIR)$(SISYPHUSDATADIR)
+ install -m 0755 icon/accesories.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/games.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/graphics.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/install.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/internet.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/multimedia.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/office.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/purge.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/remove.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/search.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/system.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -m 0755 icon/upgrade.svg $(DESTDIR)$(SISYPHUSDATADIR)/
+ install -d $(DESTDIR)$(DESKTOPDIR)
+ install -m 0755 desktop/sisyphus.desktop $(DESTDIR)$(DESKTOPDIR)/
+ install -d $(DESTDIR)$(PIXMAPDIR)
+ install -m 0644 desktop/sisyphus.png $(DESTDIR)$(PIXMAPDIR)
install -d $(DESTDIR)$(POLKITDIR)
install -m 0644 org.redcorelinux.sisyphus.policy $(DESTDIR)$(POLKITDIR)/