Adds vimb.desktop file and install rule

linenumbers
Robert Timm 6 years ago
parent 596d0e05b9
commit d98b47e362
  1. 3
      Makefile
  2. 13
      config.mk
  3. 11
      vimb.desktop

@ -29,6 +29,9 @@ install: vimb
# @sed -e "s!VERSION!$(VERSION)!g" \
# -e "s!PREFIX!$(PREFIX)!g" \
# -e "s!DATE!`date +'%m %Y'`!g" $(DOCDIR)/vimb.1 > $(MANPREFIX)/man1/vimb.1
@# .desktop file
install -d $(DOTDESKTOPPREFIX)
install -m 644 vimb.desktop $(DOTDESKTOPPREFIX)/vimb.desktop
uninstall:
$(RM) $(BINPREFIX)/vimb $(DESTDIR)$(MANDIR)/man1/vimb.1 $(EXTPREFIX)/$(EXTTARGET)

@ -1,11 +1,12 @@
VERSION = dev-3.0
PREFIX ?= /usr/local
BINPREFIX := $(DESTDIR)$(PREFIX)/bin
MANPREFIX := $(DESTDIR)$(PREFIX)/share/man
EXAMPLEPREFIX := $(DESTDIR)$(PREFIX)/share/vimb/example
RUNPREFIX := $(PREFIX)
EXTPREFIX := $(RUNPREFIX)/lib/vimb
PREFIX ?= /usr/local
BINPREFIX := $(DESTDIR)$(PREFIX)/bin
MANPREFIX := $(DESTDIR)$(PREFIX)/share/man
EXAMPLEPREFIX := $(DESTDIR)$(PREFIX)/share/vimb/example
DOTDESKTOPPREFIX := $(DESTDIR)$(PREFIX)/share/applications
RUNPREFIX := $(PREFIX)
EXTPREFIX := $(RUNPREFIX)/lib/vimb
# define some directories
SRCDIR = src

@ -0,0 +1,11 @@
# Based on Arch Linux' chromium.desktop
[Desktop Entry]
Name=vimb
GenericName=Web Browser
Comment=Access the Internet
Exec=vimb %U
Terminal=false
Icon=
Type=Application
Categories=GTK;Network;WebBrowser;
MimeType=text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;
Loading…
Cancel
Save