Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/configure.ac b/configure.ac
- index 725dc19..9c1da4b 100644
- --- a/configure.ac
- +++ b/configure.ac
- @@ -48,7 +48,7 @@ AM_PROG_LIBTOOL
- AC_C_CONST
- -GNOME_CXX_WARNINGS([maximum])
- +GNOME_COMPILE_WARNINGS([maximum])
- GNOME_MAINTAINER_MODE_DEFINES
- # If we are using gtk-doc, enable it.
- diff --git a/libide/Makefile.am b/libide/Makefile.am
- index 4acb49d..c0dc253 100644
- --- a/libide/Makefile.am
- +++ b/libide/Makefile.am
- @@ -352,6 +352,8 @@ libide_1_0_la_LIBADD = \
- -lm \
- libeditorconfig.la \
- $(NULL)
- +
- +AM_CPPFLAGS += -DIDE_INSIDE
- if ENABLE_TRACING
- else
- @@ -394,6 +396,12 @@ nodist_libide_1_0_la_SOURCES = \
- $(libide_1_0_la_built_sources) \
- $(NULL)
- +ideincludedir=$(includedir)/ide-1.0
- +ideinclude_HEADERS = $(filter %.h, $(libide_1_0_la_public_sources)) \
- + libide/ide-debug.h \
- + libide/ide-enums.h \
- + libide/ide-vcs-uri.h
- +
- BUILT_SOURCES += $(libide_1_0_la_built_sources)
- DISTCLEANFILES += $(libide_1_0_la_built_sources)
- diff --git a/libide/ide.h b/libide/ide.h
- index e7bb7da..a2c2567 100644
- --- a/libide/ide.h
- +++ b/libide/ide.h
- @@ -23,8 +23,6 @@
- G_BEGIN_DECLS
- -#define IDE_INSIDE
- -
- #include "ide-back-forward-item.h"
- #include "ide-back-forward-list.h"
- #include "ide-build-result.h"
- @@ -90,6 +88,8 @@ G_BEGIN_DECLS
- #include "ide-vcs.h"
- #include "ide-vcs-uri.h"
- +#ifdef IDE_INSIDE
- +
- #include "autotools/ide-autotools-build-system.h"
- #include "autotools/ide-autotools-project-miner.h"
- #include "devhelp/ide-devhelp-search-result.h"
- @@ -101,7 +101,7 @@ G_BEGIN_DECLS
- #include "local/ide-local-device.h"
- #include "theatrics/ide-animation.h"
- -#undef IDE_INSIDE
- +#endif
- G_END_DECLS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement