diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 7 | ||||
-rw-r--r-- | doc/po4a.cfg | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 78f0788b..3d85e7db 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -5,9 +5,10 @@ SUBDIRS = hu po4a: if HAS_PO4A @$(NORMAL_INSTALL) - po4a -k 0 po4a.cfg + po4a -k 0 --variable srcdir=$(srcdir) $(srcdir)/po4a.cfg endif +# DIST_SUBDIRS if HAS_MAN2HTML makepkg.8: man2html makepkg.8 > html/makepkg.8.html @@ -27,7 +28,7 @@ clean: man_MANS = pacman.8 makepkg.8 PKGBUILD.8 libalpm.3 if HAS_DOXYGEN -man_MANS += man3/*.3 +man_MANS += *.3 endif -EXTRA_DIST = $(man_MANS) +EXTRA_DIST = $(man_MANS) po4a.cfg diff --git a/doc/po4a.cfg b/doc/po4a.cfg index 171d8275..bb977301 100644 --- a/doc/po4a.cfg +++ b/doc/po4a.cfg @@ -1,11 +1,11 @@ [po4a_langs] hu [po4a_paths] po/pacman.pot $lang:po/$lang.po [type: man] pacman.8 \ - $lang:$lang/pacman.8 add_$lang:addendum.8.$lang \ + $lang:$lang/pacman.8 add_$(srcdir)/$lang:addendum.8.$lang \ opt:"-o groff_code=verbatim -o translate_joined=CW,CE -o no_wrap=CW:CE" [type: man] makepkg.8 \ - $lang:$lang/makepkg.8 add_$lang:addendum.8.$lang \ + $lang:$lang/makepkg.8 add_$(srcdir)/$lang:addendum.8.$lang \ opt:"-o groff_code=verbatim -o translate_joined=CW,CE -o no_wrap=CW:CE" -[type: man] PKGBUILD.8 \ - $lang:$lang/PKGBUILD.8 add_$lang:addendum.8.$lang \ +[type: man] $(srcdir)/PKGBUILD.8 \ + $lang:$lang/PKGBUILD.8 add_$(srcdir)/$lang:addendum.8.$lang \ opt:"-o groff_code=verbatim -o translate_joined=CW,CE -o no_wrap=CW:CE" |