Greatly simplify the way our non-existant translated manpages were being

made. Ripped out all the po4a stuff, letting us cut down on yet another
makedepends.
Also moved all of the manpages to non-.in names.
This commit is contained in:
Dan McGee 2007-02-07 22:29:21 +00:00
parent 155aeb40fd
commit 82de7efbf9
13 changed files with 5 additions and 5244 deletions

View file

@ -1,4 +1,4 @@
SUBDIRS = lib/libalpm src/util src/pacman scripts doc doc/hu etc
SUBDIRS = lib/libalpm src/util src/pacman scripts doc etc
EXTRA_DIST = \
ChangeLog \

View file

@ -54,31 +54,11 @@ AC_ARG_ENABLE(man2html,
AC_HELP_STRING([--enable-man2html], [Build html docs via man2html]),
[wantman2html=$enableval], [wantman2html=no])
dnl Help line for po4a
AC_ARG_ENABLE(po4a,
AC_HELP_STRING([--disable-po4a], [Build localized manpages via po4a]),
[wantpo4a=$enableval], [wantpo4a=yes])
dnl Help line for doxygen
AC_ARG_ENABLE(doxygen,
AC_HELP_STRING([--disable-doxygen], [Build API docs via Doxygen]),
[wantdoxygen=$enableval], [wantdoxygen=yes])
dnl Help line for python
AC_ARG_ENABLE(python,
AC_HELP_STRING([--disable-python], [Build Python bindings]),
[wantpython=$enableval], [wantpython=yes])
dnl Help line for perl
AC_ARG_ENABLE(perl,
AC_HELP_STRING([--disable-perl], [Build Perl bindings]),
[wantperl=$enableval], [wantperl=yes])
dnl Help line for java
AC_ARG_ENABLE(java,
AC_HELP_STRING([--disable-java], [Build Java bindings]),
[wantjava=$enableval], [wantjava=yes])
dnl Check for architecture
case "$host" in
i686-*) AC_DEFINE_UNQUOTED([CARCH], ["i686"], [Architecture])
@ -173,27 +153,6 @@ else
AC_MSG_RESULT(not requested by configure)
fi
dnl Check for po4a binary
AC_MSG_CHECKING(for support po4a)
if test x$wantpo4a = xyes ; then
AC_CHECK_PROGS([PO4A], [po4a])
AM_CONDITIONAL(HAS_PO4A, test $PO4A)
if test $PO4A ; then
AC_DEFINE([HAS_PO4A], [TRUE], [Enabled PO4A (localization support for manpages)])
AC_MSG_RESULT(yes)
POSTATUS="yes, path: `which $PO4A`"
else
AC_DEFINE([HAS_PO4A], [FALSE], [Disabled PO4A (localization support for manpages)])
AC_MSG_RESULT(no, po4a binary missing)
POSTATUS="no, missing po4a binary"
fi
else
AM_CONDITIONAL(HAS_PO4A, test $PO4A)
AC_DEFINE([HAS_PO4A], [FALSE], [Not specified at configure line])
AC_MSG_RESULT(not requested by configure)
POSTATUS="no, disabled by configure"
fi
dnl Check for doxygen support
if test x$wantdoxygen = xyes ; then
AC_CHECK_PROGS([DOXYGEN], [doxygen])
@ -295,7 +254,6 @@ pacman-$VERSION:
Architecture CHOST : ${CHOST}
Doxygen support : ${DOXYSTATUS}
Manpage localization : ${POSTATUS}
debug support : ${debug}
"

View file

@ -1,14 +1,5 @@
all: po4a makepkg.8 PKGBUILD.5 pacman.8
all: makepkg.8 PKGBUILD.5 pacman.8
SUBDIRS = hu
po4a:
if HAS_PO4A
@$(NORMAL_INSTALL)
po4a -k 0 --variable srcdir=$(srcdir) $(srcdir)/po4a.cfg
endif
# DIST_SUBDIRS
if HAS_MAN2HTML
makepkg.8:
man2html makepkg.8 > html/makepkg.8.html
@ -22,8 +13,9 @@ endif
clean:
rm -f html/*.html
rm -f hu/*.8
rm -f man3/*.3
rm -f man5/*.5
rm -f man8/*.8
man_MANS = pacman.8 makepkg.8 PKGBUILD.5 libalpm.3
@ -31,4 +23,4 @@ if HAS_DOXYGEN
man_MANS += *.3
endif
EXTRA_DIST = $(man_MANS) po4a.cfg
EXTRA_DIST = $(man_MANS)

View file

@ -1,3 +0,0 @@
PO4A-HEADER:mode=after;position=SZERZÕ;beginboundary=.SH
.SH FORDÍTÁS
Dvornik László <dvornik@gnome.hu>.

View file

@ -1,4 +0,0 @@
Makefile
Makefile.in
*.3
*.8

View file

@ -1,7 +0,0 @@
AUTOMAKE_OPTIONS=foreign
mandir = @mandir@/hu
man_MANS = pacman.8 makepkg.8 PKGBUILD.5
$(man_MANS):
EXTRA_DIST = pacman.8 makepkg.8 PKGBUILD.5

View file

@ -1,6 +0,0 @@
Makefile
Makefile.in
*.gmo
POTFILES
stamp-po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,11 +0,0 @@
[po4a_langs] hu
[po4a_paths] po/pacman.pot $lang:po/$lang.po
[type: man] pacman.8 \
$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_$(srcdir)/$lang:addendum.8.$lang \
opt:"-o groff_code=verbatim -o translate_joined=CW,CE -o no_wrap=CW:CE"
[type: man] $(srcdir)/PKGBUILD.5 \
$lang:$lang/PKGBUILD.5 add_$(srcdir)/$lang:addendum.8.$lang \
opt:"-o groff_code=verbatim -o translate_joined=CW,CE -o no_wrap=CW:CE"