summaryrefslogtreecommitdiff
path: root/tools/command.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2022-09-27 09:06:06 -0500
committerDavid Teigland <teigland@redhat.com>2022-09-27 09:06:06 -0500
commitc1ab9fb37faee56cee278ccd94cb958d30d61b94 (patch)
tree335cb13f34d7b943726af7f7dc15d1e9e06595bf /tools/command.c
parentfd05b79aad6ccf89f85bd85f5a4b32e1275ce785 (diff)
downloadlvm2-c1ab9fb37faee56cee278ccd94cb958d30d61b94.tar.gz
make: move cmds.h
generate the header in the include dir so it can be easily used from both lib and tools dirs.
Diffstat (limited to 'tools/command.c')
-rw-r--r--tools/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/command.c b/tools/command.c
index 5da511530..7a7415201 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -149,7 +149,7 @@ static inline int dumptype_arg(struct cmd_context *cmd __attribute__((unused)),
enum {
#define cmd(a, b) a ,
-#include "cmds.h"
+#include "../include/cmds.h"
#undef cmd
};
@@ -238,7 +238,7 @@ struct lv_type lv_types[LVT_COUNT + 1] = {
struct cmd_name cmd_names[CMD_COUNT + 1] = {
#define cmd(a, b) { # a, a, # b },
-#include "cmds.h"
+#include "../include/cmds.h"
#undef cmd
};