]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: fix po-man/ make check
authorKarel Zak <kzak@redhat.com>
Thu, 13 May 2021 10:21:56 +0000 (12:21 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 13 May 2021 10:21:56 +0000 (12:21 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
po-man/Makefile.am

index 420bf9e51d8dcc9997726980f6f1945fd8884daa..0802e6f13065df1fd3c84c29e0a2d222674d3d11 100644 (file)
@@ -8,6 +8,7 @@ CLEANFILES = $(PO_STAMPS)
 
 EXTRA_DIST = README.md $(PO_FILES) po4a.cfg util-linux-man.pot
 
+if ENABLE_POMAN
 util-linux-man.pot: Makefile
        $(AM_V_GEN) $(PO4A) --verbose --no-translations po4a.cfg
 
@@ -39,7 +40,6 @@ gen-mans: gen-trans
            done; \
          fi; \
        done
-
 all: gen-mans
 
 clean-local:
@@ -81,3 +81,10 @@ uninstall-local:
          done; \
        done
 
+else
+gen-trans:
+gen-mans:
+all:
+distclean-local:
+clean-local:
+endif