summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-11-02 15:51:08 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-11-02 15:51:08 +0100
commitf8fe77161cc70c315acebe6ff01477ec9cd82cc8 (patch)
tree28aee13658b02aa907525a1e8b15d621e7290806 /Makefile.am
parentd41d56fdbefc1aa802460e740454fb1b38bf901c (diff)
Create qphotorec.desktop
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 64bfeb5..88d7483 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,6 +6,7 @@ EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README THANKS compile.s
documentation.html \
dos/readme.txt \
linux/testdisk.spec.in \
+ linux/qphotorec.desktop \
src/icon_ph.rc src/icon_qph.rc src/icon_tst.rc \
src/photorec_64x64.png \
src/gnome/README \
@@ -26,9 +27,16 @@ AUTOMAKE_OPTIONS = gnits
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)
$(INSTALL_DATA) $(top_srcdir)/AUTHORS $(top_srcdir)/ChangeLog $(top_srcdir)/NEWS $(top_srcdir)/README $(top_srcdir)/THANKS $(top_srcdir)/documentation.html $(DESTDIR)$(docdir)
+if USEQT
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/applications
+ $(INSTALL_DATA) $(top_srcdir)/linux/qphotorec.desktop $(DESTDIR)$(datadir)/applications
+endif
uninstall-hook:
rm -rf $(DESTDIR)$(docdir)
+if USEQT
+ rm -f $(DESTDIR)$(datadir)/applications/qphotorec.desktop
+endif
static:
rm -f src/testdisk src/testdisk.exe src/photorec src/photorec.exe src/fidentify src/fidentify.exe src/qphotorec src/qphotorec.exe