mirror of
https://github.com/troglobit/libite.git
synced 2026-11-09 16:21:18 +00: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 parent
53b715c094
commit
5f820b17b6
2 files changed
+4
-3
No files matched your search
@@ -1,6 +1,7 @@
|
|||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
lib_LTLIBRARIES = libite.la
|
lib_LTLIBRARIES = libite.la
|
||||||
|
pkgincludedir = $(includedir)/lite
|
||||||
pkginclude_HEADERS = lite.h queue.h conio.h tree.h
|
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 \
|
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 \
|
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.
|
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
|
To prevent clashing with include files of the same name -lite employs a
|
||||||
include file namespace `lite/`, which is recommended to use in your
|
include file namespace `lite/`, which is strongly recommended to use in
|
||||||
applications:
|
your applications:
|
||||||
|
|
||||||
#include <lite/lite.h>
|
#include <lite/lite.h>
|
||||||
#include <lite/conio.h>
|
#include <lite/conio.h>
|
||||||
#include <lite/queue.h>
|
#include <lite/queue.h>
|
||||||
#include <lite/tree.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
|
$ pkg-config --libs --static --cflags libite
|
||||||
-I/usr/local/include -L/usr/local/lib -lite
|
-I/usr/local/include -L/usr/local/lib -lite
|
||||||
|
|||||||
Reference in new issue
Block a user