aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormuennich <be.muennich@googlemail.com>2012-04-18 06:05:27 +0200
committermuennich <be.muennich@googlemail.com>2012-04-18 06:05:27 +0200
commit56b6d23c0cb05973415bdd2c66af26e8f7db2539 (patch)
tree7ed4b69da80dfac1b92a863fc56519640d368cf9 /Makefile
parentdd15e3137311ab3f550abec59e8a2ad84e6c1415 (diff)
Only provide the .desktop file, do not install it by default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 1 insertions, 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