summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJürgen Hötzel <juergen@archlinux.org>2007-01-29 23:18:31 +0100
committerJürgen Hötzel <juergen@archlinux.org>2007-01-29 23:18:31 +0100
commit13f9fc4d19661b75c6f9989082aaf2b222547fe7 (patch)
tree424414095c1220fd27a19ff611673bd97e19594c /doc
parent1629355ef06c16c422fe959affde83552c96b5ae (diff)
downloadpacman-13f9fc4d19661b75c6f9989082aaf2b222547fe7.tar.gz
pacman-13f9fc4d19661b75c6f9989082aaf2b222547fe7.tar.xz
* Fix building outside $(srcdir).
* Removed ./gen-mirrorlist.sh invocation from configure script: Mirror-files are generated by make, not configure.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am7
-rw-r--r--doc/po4a.cfg8
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"