Remove unnecessary paths from python includepath
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 23 Nov 2007 07:13:18 +0000 (09:13 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 23 Nov 2007 07:13:18 +0000 (09:13 +0200)
- no private includes from lib and build are needed
- document rpmdb and rpmio private needs

python/Makefile.am

index b7956a2..7a10322 100644 (file)
@@ -5,10 +5,8 @@ EXTRA_DIST = rpmdebug-py.c rpm/__init__.py
 if PYTHON
 AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/rpm
 AM_CPPFLAGS += -I$(top_srcdir)/python
-AM_CPPFLAGS += -I$(top_srcdir)/build
-AM_CPPFLAGS += -I$(top_srcdir)/lib
-AM_CPPFLAGS += -I$(top_srcdir)/rpmdb
-AM_CPPFLAGS += -I$(top_srcdir)/rpmio
+AM_CPPFLAGS += -I$(top_srcdir)/rpmdb   # XXX legacy.h 
+AM_CPPFLAGS += -I$(top_srcdir)/rpmio   # XXX fts.h 
 AM_CPPFLAGS += @WITH_LIBELF_INCLUDE@
 AM_CPPFLAGS += @WITH_NSS_INCLUDE@
 AM_CPPFLAGS += @WITH_POPT_INCLUDE@