mirror of
https://github.com/troglobit/libite.git
synced 2026-10-01 05:22:34 +07:00
Change namespace for header files libite/lite.h --> lite/lite.h
The `libite/` namespace for header files has been the same since the first public release in v1.0.0. This patch surprisingly changes it to the less surprising `lite/`. Hopefully there aren't that many users of this library out there yet, apart from myself. Apologies if you are affected! Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
lib_LTLIBRARIES = libite.la
|
||||
pkgincludedir = $(includedir)/lite
|
||||
pkginclude_HEADERS = lite.h queue.h conio.h tree.h
|
||||
libite_la_SOURCES = chomp.c copyfile.c dir.c fexist.c fisdir.c fmode.c fsendfile.c \
|
||||
ifconfig.c lfile.c makepath.c pidfile.c pidfilefn.c progress.c \
|
||||
|
||||
@@ -27,15 +27,15 @@ Using -lite
|
||||
|
||||
Libite is by default installed as a library and a set of include files.
|
||||
To prevent clashing with include files of the same name -lite employs a
|
||||
include file namespace `lite/`, which is recommended to use in your
|
||||
applications:
|
||||
include file namespace `lite/`, which is strongly recommended to use in
|
||||
your applications:
|
||||
|
||||
#include <lite/lite.h>
|
||||
#include <lite/conio.h>
|
||||
#include <lite/queue.h>
|
||||
#include <lite/tree.h>
|
||||
|
||||
The output from the `pkg-config` tool holds no surprises:
|
||||
The output from the `pkg-config` tool holds no surprises in this regard:
|
||||
|
||||
$ pkg-config --libs --static --cflags libite
|
||||
-I/usr/local/include -L/usr/local/lib -lite
|
||||
|
||||
Reference in New Issue
Block a user