Fix libupower-glib include dir and pkgconfig

Install libupower-glib include files into libupower-glib/ (where upower.h
expects them to be), not upower-glib. Now the library is consistently named
"libupower-glib" everywhere.

Also fix the Libs line in the pkgconfig file: link against -lupower-glib, not
-lupower.
This commit is contained in:
Martin Pitt 2010-02-16 11:55:28 +01:00
parent 72bb220a6a
commit b9bb78ac2b
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
lib_LTLIBRARIES = \
libupower-glib.la
libupower_glib_includedir = $(includedir)/upower-glib
libupower_glib_includedir = $(includedir)/libupower-glib
libupower_glib_include_HEADERS = \
upower.h \
up-version.h \

View file

@ -8,6 +8,6 @@ Description: UPower is a system daemon for managing power devices
Version: @VERSION@
Requires.private: dbus-1, gthread-2.0
Requires: glib-2.0, gobject-2.0
Libs: -L${libdir} -lupower
Cflags: -I${includedir}/upower-glib
Libs: -L${libdir} -lupower-glib
Cflags: -I${includedir}/libupower-glib