I haven’t thought much about it before, but isn’t
it wrong to install the include-files in the install-target? Who cares about the content in ow_1820.h for example
(after owfs is installed). I fell into some problem when I compiled owfs for
NSLU2 before and all include-files where installed in /opt/include/. When I tried to compile a new owfs-version, it failed
since /opt/include was included default in the search-path BEFORE it looked for
the headers in ../../owlib/src/include/. Some major changes were made in ow.h and I was lucky
I noticed this problem. All header_DATA rules should be removed from the
files: owfs/module/*/src/include/Makefile.am Except for owfs/module/owcapi/src/include/Makefile.am
which could be useful for other compilations. I hope this is ok for all… but people may need
to remove old include-files installed in /opt/owfs/include to make sure they will
never will be used anymore… (If they have problem with the include-order) /Christian |