Skip to content
Snippets Groups Projects
Commit d3f3232e authored by Romain Bouvier's avatar Romain Bouvier Committed by Romain Bouvier
Browse files

exo-29: Fix race condition in make install

- Since the exo drop of gtk2, HEADERS are declared twice, which can lead
  to race conditions when using parallel make "make -j4 install"
- Simplify Makefile to only have one HEADERS section
- This fix #29
parent ce28bd7a
No related branches found
No related tags found
1 merge request!3Fix race condition in make install
Pipeline #486 passed
......@@ -23,30 +23,14 @@ libexo_headers = \
exo-tree-view.h \
exo-utils.h
libexo_built_public_sources = \
exo-enum-types.h
libexo_built_sources = \
$(libexo_built_public_sources) \
libexo_2_built_sources = \
exo-enum-types.h \
exo-alias.h \
exo-aliasdef.c \
exo-enum-types.c \
exo-marshal.c \
exo-marshal.h
libexoincludedir = $(includedir)/exo-2/exo
libexoinclude_HEADERS = \
$(libexo_built_public_sources) \
$(libexo_headers) \
exo.h \
exo-config.h
##
## GTK+ 3 support library
##
libexo_2_includedir = $(includedir)/exo-2/exo
lib_LTLIBRARIES = libexo-2.la
......@@ -141,10 +125,10 @@ CLEANFILES = \
DISTCLEANFILES = \
stamp-exo-enum-types.h \
stamp-exo-marshal.h \
$(libexo_built_sources)
$(libexo_2_built_sources)
BUILT_SOURCES = \
$(libexo_built_sources)
$(libexo_2_built_sources)
exo-alias.h: make-exo-alias.pl exo.symbols
$(AM_V_GEN) $(PERL) $(srcdir)/make-exo-alias.pl < $(srcdir)/exo.symbols > exo-alias.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment