From 56b6d23c0cb05973415bdd2c66af26e8f7db2539 Mon Sep 17 00:00:00 2001 From: muennich Date: Wed, 18 Apr 2012 06:05:27 +0200 Subject: Only provide the .desktop file, do not install it by default --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6397ba5..ed3c003 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = git-20120417 +VERSION = git-20120418 CC = gcc CFLAGS = -ansi -Wall -pedantic -O2 @@ -41,8 +41,6 @@ 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 @@ -51,7 +49,5 @@ install: all uninstall: @echo "removing executable file from $(DESTDIR)$(PREFIX)/bin" @rm -f $(DESTDIR)$(PREFIX)/bin/sxiv - @echo "removing 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 -- cgit v1.2.3