aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7509d40..5dac2e8 100644
--- a/Makefile
+++ b/Makefile
@@ -73,11 +73,18 @@ install:
# for DATADIR isodumper.py header.png
mkdir -p $(DESTDIR)$(DATADIR)/isodumper
- install -m 644 share/isodumper/header.png $(DESTDIR)$(DATADIR)/isodumper
+ install -m 644 share/isodumper/header.svg $(DESTDIR)$(DATADIR)/isodumper
- # for isodumper desktop menu entry
+ # for isodumper-qt desktop menu entry
mkdir -p $(DESTDIR)$(DATADIR)/applications
- install -m 644 share/applications/isodumper.desktop $(DESTDIR)$(DATADIR)/applications
+ install -m 644 share/applications/isodumper.desktop $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
+ sed -i -e "s|Name=IsoDumper|Name=IsoDumper (Qt)|" $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
+ sed -i -e "s|Exec=isodumper|Exec=isodumper --qt|" $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
+
+ # for isodumper-gtk desktop menu entry
+ install -m 644 share/applications/isodumper.desktop $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
+ sed -i -e "s|Name=IsoDumper|Name=IsoDumper (GTK)|" $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
+ sed -i -e "s|Exec=isodumper|Exec=isodumper --gtk|" $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
# for isodumper doc
mkdir -p $(DESTDIR)$(DOCDIR)