0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Add internal commands of the client to the command list.

This commit is contained in:
Martin Mares 2000-03-12 23:04:04 +00:00
parent 971b2310ae
commit abf2be7d0c
2 changed files with 12 additions and 2 deletions

10
client/cmds.m4 Normal file
View File

@ -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]])

View File

@ -20,8 +20,8 @@ cf-parse.y: $(conf-fragments) $(conf-src)/gen_parser.m4
keywords.h: $(conf-fragments) $(conf-src)/gen_keywords.m4 keywords.h: $(conf-fragments) $(conf-src)/gen_keywords.m4
$(M4) -P $(conf-src)/gen_keywords.m4 $(conf-fragments) >keywords.h $(M4) -P $(conf-src)/gen_keywords.m4 $(conf-fragments) >keywords.h
commands.h: $(conf-fragments) $(conf-src)/gen_commands.m4 commands.h: $(conf-fragments) $(conf-src)/gen_commands.m4 $(srcdir)/client/cmds.m4
$(M4) -P $(conf-src)/gen_commands.m4 $(conf-fragments) | sort >commands.h $(M4) -P $(conf-src)/gen_commands.m4 $(srcdir)/client/cmds.m4 $(conf-fragments) | sort >commands.h
cf-lex.c: cf-lex.l cf-lex.c: cf-lex.l
$(FLEX) $(FLEX_DEBUG) -sB8 -ocf-lex.c -Pcf_ cf-lex.l $(FLEX) $(FLEX_DEBUG) -sB8 -ocf-lex.c -Pcf_ cf-lex.l