diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-13 00:04:04 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-13 00:04:04 +0100 |
commit | abf2be7d0cabc3c8c021b6f6784cf63610571715 (patch) | |
tree | ca92503aff76b9bc7ca19e0c3e79905060fa1a17 | |
parent | 971b2310ae4d367d608e34e9465ad5d2c65e505d (diff) | |
download | bird-abf2be7d0cabc3c8c021b6f6784cf63610571715.tar bird-abf2be7d0cabc3c8c021b6f6784cf63610571715.zip |
Add internal commands of the client to the command list.
-rw-r--r-- | client/cmds.m4 | 10 | ||||
-rw-r--r-- | conf/Makefile | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/client/cmds.m4 b/client/cmds.m4 new file mode 100644 index 0000000..d24bbb0 --- /dev/null +++ b/client/cmds.m4 @@ -0,0 +1,10 @@ +# +# BIRD -- Internal Commands Of The Client +# +# (c) 2000 Martin Mares <mj@atrey.karlin.mff.cuni.cz> +# +# Can be freely distributed and used under the terms of the GNU GPL. +# + +CF_CLI(QUIT,,, [[Quit the client]]) +CF_CLI(EXIT,,, [[Exit the client]]) diff --git a/conf/Makefile b/conf/Makefile index 853cd83..9dff458 100644 --- a/conf/Makefile +++ b/conf/Makefile @@ -20,8 +20,8 @@ cf-parse.y: $(conf-fragments) $(conf-src)/gen_parser.m4 keywords.h: $(conf-fragments) $(conf-src)/gen_keywords.m4 $(M4) -P $(conf-src)/gen_keywords.m4 $(conf-fragments) >keywords.h -commands.h: $(conf-fragments) $(conf-src)/gen_commands.m4 - $(M4) -P $(conf-src)/gen_commands.m4 $(conf-fragments) | sort >commands.h +commands.h: $(conf-fragments) $(conf-src)/gen_commands.m4 $(srcdir)/client/cmds.m4 + $(M4) -P $(conf-src)/gen_commands.m4 $(srcdir)/client/cmds.m4 $(conf-fragments) | sort >commands.h cf-lex.c: cf-lex.l $(FLEX) $(FLEX_DEBUG) -sB8 -ocf-lex.c -Pcf_ cf-lex.l |