From cc16f5b372aa947c8513dfa12a9fbd0487377e01 Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Mon, 4 Mar 2013 11:11:59 +0100 Subject: [PATCH] Change the way of #including createrepo_c library. --- src/createrepo_c.h | 28 ++++++++++++++-------------- src/createrepo_c.pc.cmake | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/createrepo_c.h b/src/createrepo_c.h index a04af0e..567db7e 100644 --- a/src/createrepo_c.h +++ b/src/createrepo_c.h @@ -30,28 +30,28 @@ extern "C" { * * Usage: * \code - * #include + * #include * \endcode * */ /** \defgroup main Complete API of createrepo_c library - * Usage: #include + * Usage: #include */ #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "compression_wrapper.h" +#include "constants.h" +#include "load_metadata.h" +#include "locate_metadata.h" +#include "misc.h" +#include "package.h" +#include "parsehdr.h" +#include "parsepkg.h" +#include "repomd.h" +#include "sqlite.h" +#include "version.h" +#include "xml_dump.h" #ifdef __cplusplus } diff --git a/src/createrepo_c.pc.cmake b/src/createrepo_c.pc.cmake index e06281d..ef33f6e 100644 --- a/src/createrepo_c.pc.cmake +++ b/src/createrepo_c.pc.cmake @@ -1,6 +1,6 @@ prefix=@CMAKE_INSTALL_PREFIX@ libdir=@LIB_INSTALL_DIR@ -includedir=@INCLUDE_INSTALL_DIR@ +includedir=@CMAKE_INSTALL_PREFIX@/include Name: createrepo_c Description: Library for manipulation with repodata. @@ -9,4 +9,4 @@ Requires: glib-2.0 rpm libcurl sqlite3 Requires.private: zlib libxml-2.0 Libs: -L${libdir} -lcreaterepo_c Libs.private: -lmagic -lexpat -lbz2 -lzma -Cflags: -I${includedir}/createrepo_c +Cflags: -I${includedir} -- 2.7.4