summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-05-02 15:06:40 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-05-02 15:06:40 +0200
commit0c47a87ebf3d99864aa03205c695f2057dc7e7fd (patch)
treeed4f83aefc6391de475e8fabd2ab84370c5bc39e /man
parente2966e7c1ee46899a5d84b0cf187891c31b6b35e (diff)
Don't install qphotorec man pages if qphotorec isn't compiled
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am8
-rw-r--r--man/zh_CN/Makefile.am8
2 files changed, 12 insertions, 4 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 35535f2..c5e7179 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -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
diff --git a/man/zh_CN/Makefile.am b/man/zh_CN/Makefile.am
index fdae30a..220aacb 100644
--- a/man/zh_CN/Makefile.am
+++ b/man/zh_CN/Makefile.am
@@ -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