Corrected documentation compilation - succeeds now

This commit is contained in:
Aaron Griffin 2006-10-15 20:46:33 +00:00
parent 91f4500503
commit e037328e21
4 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,5 @@
SUBDIRS = lib/libftp lib/libalpm src/util src/pacman scripts doc etc
SUBDIRS = lib/libftp lib/libalpm src/util src/pacman scripts doc doc/hu etc
if HAS_PERL
SUBDIRS += bindings/perl
endif

View File

@ -22,6 +22,8 @@ rm -rf aclocal.m4
rm -rf ltmain.sh
rm -rf doc/Makefile
rm -rf doc/Makefile.in
rm -rf doc/hu/Makefile
rm -rf doc/hu/Makefile.in
rm -rf doc/html/*
rm -rf doc/man3/*
rm -rf compile

View File

@ -21,8 +21,7 @@ dnl Define here the libalpm version number
PM_MAJOR_VERSION=0
PM_MINOR_VERSION=1
PM_MICRO_VERSION=0
PM_MICRO_VERSION_SUFFIX=.0
PM_VERSION=$PM_MAJOR_VERSION.$PM_MINOR_VERSION.$PM_MICRO_VERSION$PM_MICRO_VERSION_SUFFIX
PM_VERSION=$PM_MAJOR_VERSION.$PM_MINOR_VERSION.$PM_MICRO_VERSION
dnl Needed for libtool to create proper shared lib version
PM_VERSION_INFO=`expr $PM_MAJOR_VERSION + $PM_MINOR_VERSION`:$PM_MICRO_VERSION:$PM_MINOR_VERSION
@ -375,6 +374,7 @@ src/pacman/po/Makefile.in
src/util/Makefile
scripts/Makefile
doc/Makefile
doc/hu/Makefile
etc/Makefile
etc/pacman.d/Makefile
bindings/perl/Makefile

View File

@ -197,10 +197,11 @@ static int sync_search(list_t *syncs, list_t *targets)
PM_PKG *pkg = alpm_list_getdata(lp);
char *group = (char *)alpm_list_getdata(alpm_pkg_getinfo(pkg,PM_PKG_GROUPS));
printf("%s/%s%s%s %s\n ", (char *)alpm_db_getinfo(sync->db, PM_DB_TREENAME),
(char *)alpm_pkg_getinfo(pkg, PM_PKG_NAME),
(char *)alpm_pkg_getinfo(pkg, PM_PKG_VERSION));
(group ? " (" : ""), (group ? group : ""), (group ? ") " : ""),
printf("%s/%s %s %s%s%s\n ",
(char *)alpm_db_getinfo(sync->db, PM_DB_TREENAME),
(char *)alpm_pkg_getinfo(pkg, PM_PKG_NAME),
(char *)alpm_pkg_getinfo(pkg, PM_PKG_VERSION),
(group ? " (" : ""), (group ? group : ""), (group ? ") " : ""));
indentprint((char *)alpm_pkg_getinfo(pkg, PM_PKG_DESC), 4);
printf("\n");
}