[PATCH] build: generate files in the correct order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We should generate osinfo_enum_types.h before generate osinfo_enum_types.c, avoid this error:
GEN      osinfo_enum_types.c
Can't open ./osinfo_enum_types.h: No such file or directory at /usr/bin/glib-mkenums line 296, <> line 3630.
---
 osinfo/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am
index 7935d9c..4b304f5 100644
--- a/osinfo/Makefile.am
+++ b/osinfo/Makefile.am
@@ -3,8 +3,8 @@ EXTRA_DIST = libosinfo.syms \
 	     osinfo_enum_types.h.template \
 	     osinfo_enum_types.c.template
 
-BUILT_SOURCES = osinfo_enum_types.c \
-		osinfo_enum_types.h
+BUILT_SOURCES = osinfo_enum_types.h \
+		osinfo_enum_types.c
 
 if USE_VERSION_DEFS
 LIBOSINFO_VERSION_FILE = $(builddir)/libosinfo.def
-- 
1.8.3.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux