build: Ensure enumtypes.h is built before enumtypes.c
authorDan Nicholson <nicholson@endlessm.com>
Fri, 3 Nov 2017 15:47:16 +0000 (15:47 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 3 Nov 2017 22:05:47 +0000 (22:05 +0000)
commit6ec4cd3eb56edfbc204877862ba51a47672d124c
treef0408cd3f8d9f48e526bb612fbc16b676290407f
parent758be138bec6026f5ff166f03463e5329fded4b9
build: Ensure enumtypes.h is built before enumtypes.c

ostree-enumtypes.c includes ostree-enumtypes.h, so make needs to be told
about the dependency. Without it, parallel make could try to build
ostree-enumtypes.c before the header file exists.

I hit this when running `make -j OSTree-1.0.gir`.

Closes: #1322
Approved by: pwithnall
Makefile-libostree.am