Skip to content

Commit

Permalink
Ship the headers in a directory
Browse files Browse the repository at this point in the history
So that we can eventually rename the directory to have a Waltham 2.0,
if we ever have to break the API.

Users of the library should #include <waltham-connection.h> rather
than <waltham/waltham-connection.h>, and so on.

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
  • Loading branch information
Emilio Pozuelo Monfort committed Oct 13, 2016
1 parent a0d7f82 commit 8e4559d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/waltham.pc.in
Expand Up @@ -6,5 +6,5 @@ includedir=@includedir@
Name: Waltham
Description: Waltham library
Version: @VERSION@
Cflags: -I${includedir}
Cflags: -I${includedir}/waltham
Libs: -L${libdir} -lwaltham
5 changes: 3 additions & 2 deletions src/waltham/Makefile.am
Expand Up @@ -98,12 +98,13 @@ nodist_libwaltham_la_SOURCES = \
server-serialice.c \
server-deserialice.c

include_HEADERS = \
waltham_includedir = $(includedir)/waltham
waltham_include_HEADERS = \
waltham-connection.h \
waltham-object.h \
waltham-util.h \
$(NULL)

nodist_include_HEADERS = \
nodist_waltham_include_HEADERS = \
waltham-client.h \
waltham-server.h

0 comments on commit 8e4559d

Please sign in to comment.