[pacman-dev] pacman-lib question

Jason Chu jason at archlinux.org
Thu Oct 20 14:01:56 EDT 2005


On Thu, Oct 20, 2005 at 07:10:31PM +0200, Aurelien Foret wrote:
> Joao Estevao wrote:
> > Hello everyone. I tried to make a rough python extension of libalpm
> > but it seems that   the autoconf tools in cvs only install the libs,
> > and not the headers, like alpm.h. Is this on purpose? Or should I wait
> > to begin develop such an extension? I am quite aware that this code is
> > not final, and it was not my intention to distribute it or the module
> > in anyway. I was just trying to get some work done now that needs to
> > be done later. I'd contribute a patch but besides being
> > autotool-illiterate I'm not sure if I'm doing anything wrong.
> 
> You're right: alpm.h needs to be delivered, but it is the only header 
> file in such a case. All the other ones are reserved for the library 
> internals.

Just cause I noticed it wasn't in CVS yet.  Here's the patch.

Jason

-- 
If you understand, things are just as they are.  If you do not understand,
things are just as they are.
-------------- next part --------------
diff -u -r1.1 Makefile.am
--- lib/libalpm/Makefile.am	17 Oct 2005 18:52:43 -0000	1.1
+++ lib/libalpm/Makefile.am	20 Oct 2005 17:58:31 -0000
@@ -26,6 +26,8 @@
 
 lib_LTLIBRARIES = libalpm.la
 
+include_HEADERS = alpm.h
+
 libalpm_la_SOURCES = $(TARGETS)
 
 libalpm_la_LDFLAGS = -no-undefined -version-info $(PM_VERSION_INFO)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20051020/3a1221e8/attachment.pgp>


More information about the pacman-dev mailing list