Only provide the .desktop file, do not install it by default
This commit is contained in:
parent
dd15e31373
commit
56b6d23c0c
6
Makefile
6
Makefile
|
@ -1,4 +1,4 @@
|
||||||
VERSION = git-20120417
|
VERSION = git-20120418
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -ansi -Wall -pedantic -O2
|
CFLAGS = -ansi -Wall -pedantic -O2
|
||||||
|
@ -41,8 +41,6 @@ clean:
|
||||||
install: all
|
install: all
|
||||||
@echo "installing executable file to $(DESTDIR)$(PREFIX)/bin"
|
@echo "installing executable file to $(DESTDIR)$(PREFIX)/bin"
|
||||||
@install -D -m 755 sxiv $(DESTDIR)$(PREFIX)/bin/sxiv
|
@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"
|
@echo "installing manual page to $(DESTDIR)$(MANPREFIX)/man1"
|
||||||
@mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
@mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||||
@sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
|
@sed "s/VERSION/$(VERSION)/g" sxiv.1 > $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
|
||||||
|
@ -51,7 +49,5 @@ install: all
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo "removing executable file from $(DESTDIR)$(PREFIX)/bin"
|
@echo "removing executable file from $(DESTDIR)$(PREFIX)/bin"
|
||||||
@rm -f $(DESTDIR)$(PREFIX)/bin/sxiv
|
@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"
|
@echo "removing manual page from $(DESTDIR)$(MANPREFIX)/man1"
|
||||||
@rm -f $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
|
@rm -f $(DESTDIR)$(MANPREFIX)/man1/sxiv.1
|
||||||
|
|
Loading…
Reference in a new issue