summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-11-06 14:23:19 +0100
committerKarel Kočí <karel.koci@nic.cz>2018-11-06 14:23:19 +0100
commit93c8bc83c581c4e88c90359fa527d6f867600f65 (patch)
treed36ebd1992cc03feb961eccb25b8dcdd67e339e4 /Makefile
parentd7f641d5dd6c099d4a9274a18fcfb89df00d4b4c (diff)
downloadsurf-661563175bc5d402aecb22a7d56954f6a5be0736.tar.gz
surf-661563175bc5d402aecb22a7d56954f6a5be0736.tar.bz2
surf-661563175bc5d402aecb22a7d56954f6a5be0736.zip
Fix missing surf.desktop in installationv2.0.7.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index af17f07..09b4a81 100644
--- a/Makefile
+++ b/Makefile
@@ -63,11 +63,14 @@ install: all
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
sed "s/VERSION/$(VERSION)/g" < surf.1 > $(DESTDIR)$(MANPREFIX)/man1/surf.1
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/surf.1
+ mkdir -p $(DESTDIR)/usr/share/applications
+ cp -f surf.desktop $(DESTDIR)/usr/share/applications/surf.desktop
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/surf
rm -f $(DESTDIR)$(PREFIX)/bin/surf-menu
rm -f $(DESTDIR)$(MANPREFIX)/man1/surf.1
+ rm -f $(DESTDIR)/usr/share/applications/surf.desktop
rm -f $(DESTDIR)$(LIBDIR)/libsurf-webext.so
- rmdir $(DESTDIR)$(LIBDIR)