Make libdcui build against the same utils as the rest of the tree.
[doldaconnect.git] / include / doldaconnect / Makefile.am
index 68c985e..f08b1cf 100644 (file)
@@ -1 +1,8 @@
-pkginclude_HEADERS=uilib.h uimisc.h utils.h
+# utils.h is copied from the parent directory, to ensure that in-tree
+# built programs include the same path as out-of-tree programs.
+BUILT_SOURCES = utils.h
+
+utils.h: ../utils.h
+       cp -f ../utils.h .
+
+pkginclude_HEADERS=uilib.h uimisc.h