Don't install qphotorec man pages if qphotorec isn't compiled

This commit is contained in:
Christophe Grenier 2015-05-02 15:06:40 +02:00
parent e2966e7c1e
commit 0c47a87ebf
3 changed files with 17 additions and 7 deletions

View file

@ -1,12 +1,14 @@
EXTRA_DIST = photorec.ico testdisk.ico
EXTRA_DIST = photorec.ico testdisk.ico \
48x48/apps/qphotorec.png \
scalable/apps/qphotorec.svg
iconsdir = $(datadir)/icons/hicolor
nobase_dist_icons_DATA = 48x48/apps/qphotorec.png \
scalable/apps/qphotorec.svg
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir)
if USEQT
nobase_icons_DATA = 48x48/apps/qphotorec.png \
scalable/apps/qphotorec.svg
UPDATE_ICON_CACHE=update-icon-cache
endif

View file

@ -1,4 +1,8 @@
SUBDIRS = zh_CN
man_MANS = testdisk.8 photorec.8 qphotorec.8 fidentify.8
EXTRA_DIST = testdisk.8.in photorec.8.in qphotorec.8.in fidentify.8.in
EXTRA_DIST = testdisk.8.in photorec.8.in fidentify.8.in qphotorec.8.in
man_MANS = testdisk.8 photorec.8 fidentify.8
if USEQT
man_MANS += qphotorec.8
endif

View file

@ -1,4 +1,8 @@
mandir = @mandir@/zh_CN
man_MANS = testdisk.8 photorec.8 qphotorec.8 fidentify.8
EXTRA_DIST = testdisk.8.in photorec.8.in qphotorec.8.in fidentify.8.in
EXTRA_DIST = testdisk.8.in photorec.8.in fidentify.8.in qphotorec.8.in
man_MANS = testdisk.8 photorec.8 fidentify.8
if USEQT
man_MANS += qphotorec.8
endif