summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2018-05-14 10:30:20 +0100
committerJoe Thornber <ejt@redhat.com>2018-05-14 10:30:20 +0100
commit7f97c7ea9ade36bab817aca9eeee5c5177550127 (patch)
tree2fac9b50b16b91dd22ca155223c26beba9677377 /doc
parent02b99be57eab4f55bd0db045a3873bdf5e500b92 (diff)
downloadlvm2-7f97c7ea9ade36bab817aca9eeee5c5177550127.tar.gz
build: Don't generate symlinks in include/ dir
As we start refactoring the code to break dependencies (see doc/refactoring.txt), I want us to use full paths in the includes (eg, #include "base/data-struct/list.h"). This makes it more obvious when we're breaking abstraction boundaries, eg, including a file in metadata/ from base/
Diffstat (limited to 'doc')
-rw-r--r--doc/example_cmdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/example_cmdlib.c b/doc/example_cmdlib.c
index 66e353267..ec5e028bd 100644
--- a/doc/example_cmdlib.c
+++ b/doc/example_cmdlib.c
@@ -12,7 +12,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "lvm2cmd.h"
+#include "tools/lvm2cmd.h"
#include <stdio.h>
/* All output gets passed to this function line-by-line */