diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2012-04-17 17:48:51 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2012-04-17 17:48:51 +0200 |
commit | 45f4f6d3c48c27d36f4ea7942c7a0d98f6871a24 (patch) | |
tree | 2567151deafdf5ff44d1185023f9c15d763da311 /Makefile | |
parent | bca3666862bc6ab717ba25ecc9173eb0e9e6ba80 (diff) |
Add desktop file and appropriate lines to Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,6 +41,8 @@ clean: install: all @echo "installing executable file to $(DESTDIR)$(PREFIX)/bin" @install -D -m 755 sxiv $(DESTDIR)$(PREFIX)/bin/sxiv + @echo "installing desktop file to $(DESTDIR)$(PREFIX)/share/applications" + @install -D -m 0644 sxiv.desktop $(DESTDIR)$(PREFIX)/share/applications/sxiv.desktop @echo "installing manual page to $(DESTDIR)$(MANPREFIX)/man1" @mkdir -p $(DESTDIR)$(MANPREFIX)/man1 @sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(DESTDIR)$(MANPREFIX)/man1/sxiv.1 @@ -49,5 +51,7 @@ install: all uninstall: @echo "removing executable file from $(DESTDIR)$(PREFIX)/bin" @rm -f $(DESTDIR)$(PREFIX)/bin/sxiv + @echo "removind desktop file from $(DESTDIR)$(PREFIX)/share/applications" + @rm -f $(DESTDIR)$(PREFIX)/share/applications/sxiv.desktop @echo "removing manual page from $(DESTDIR)$(MANPREFIX)/man1" @rm -f $(DESTDIR)$(MANPREFIX)/man1/sxiv.1 |