summaryrefslogtreecommitdiff
path: root/Makefile-libostree.am
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-07-17 15:44:58 +0100
committerAtomic Bot <atomic-devel@projectatomic.io>2017-07-17 15:14:44 +0000
commit47a54bf876023b0cb457bc8a4f4264f9b2ed5438 (patch)
tree85b607ebd1d3d257f325cdfccedcf03cf9806b5e /Makefile-libostree.am
parent620a90ebfaf98f779b77cd8f97da1d06e146b832 (diff)
downloadostree-47a54bf876023b0cb457bc8a4f4264f9b2ed5438.tar.gz
Move the include directive to the enum template
There is no actual written guarantee in glib-mkenums that the template line specified using --fhead will be added after the templates specified inside the template file. Since the template file is only used once, we can simply move the `#include` directive inside the template, so that it is guaranteed to be in the right place. Closes: #1007 Approved by: cgwalters
Diffstat (limited to 'Makefile-libostree.am')
-rw-r--r--Makefile-libostree.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index fab7bd3f..c83569ff 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -57,7 +57,6 @@ src/libostree/ostree-enumtypes.h: src/libostree/ostree-enumtypes.h.template $(EN
src/libostree/ostree-enumtypes.c: src/libostree/ostree-enumtypes.c.template $(ENUM_TYPES)
$(AM_V_GEN) $(GLIB_MKENUMS) \
--template $< \
- --fhead "#include \"ostree-enumtypes.h\"" \
$(ENUM_TYPES) > $@.tmp && mv $@.tmp $@
nodist_libostree_1_la_SOURCES = \