qv4l2: Add rules to Makefile to actually install the desktop and icon file
authorHans de Goede <hdegoede@redhat.com>
Wed, 1 Jun 2011 10:55:05 +0000 (12:55 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 1 Jun 2011 10:56:02 +0000 (12:56 +0200)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
utils/qv4l2/Makefile.install

index fdb4842..9e7fdfa 100644 (file)
@@ -4,5 +4,9 @@ all::
 install:: all
        mkdir -p $(DESTDIR)$(PREFIX)/bin
        install -m 755 qv4l2 $(DESTDIR)$(PREFIX)/bin
+       mkdir -p $(DESTDIR)$(PREFIX)/share/applications
+       install -p -m 644 qv4l2.desktop $(DESTDIR)$(PREFIX)/share/applications
+       mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
+       install -p -m 644 qv4l2.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
 
 include ../../Make.rules