summaryrefslogtreecommitdiff
path: root/lib/commands
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 /lib/commands
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 'lib/commands')
-rw-r--r--lib/commands/cmd_enum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/commands/cmd_enum.h b/lib/commands/cmd_enum.h
index 939af81c3..9e9902224 100644
--- a/lib/commands/cmd_enum.h
+++ b/lib/commands/cmd_enum.h
@@ -2,7 +2,7 @@
#define _CMD_ENUM_H
/*
- * tools/cmds.h is generated by the Makefile. For each command definition
+ * include/cmds.h is generated by the Makefile. For each command definition
* in command-lines.in, cmds.h contains:
* cmd(foo_CMD, foo)
*
@@ -12,7 +12,7 @@
enum {
#define cmd(a, b) a ,
-#include "../tools/cmds.h"
+#include "../../include/cmds.h"
#undef cmd
};