diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-05-14 17:14:13 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-05-14 17:14:13 -0700 |
commit | 38ae54675fa5ea5a9bab5870b0a966e5f3da66ca (patch) | |
tree | 228274acf52cc4262d2b7274f470a4c9bcb29df7 /Makefile.am | |
parent | d36d0a6ea76d443c5e4072401eaa9dbf563c74bd (diff) | |
download | vyatta-cfg-38ae54675fa5ea5a9bab5870b0a966e5f3da66ca.tar.gz vyatta-cfg-38ae54675fa5ea5a9bab5870b0a966e5f3da66ca.zip |
POC implementation of unified enumeration mechanism
* use "enumeration" template field for both CLI completion and GUI2
enumeration support.
* CLI completion now uses enumeration if it exists.
* add "existing-interfaces" script as an example.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 4bb3630..0dcc8bf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,6 +4,7 @@ initddir = /etc/init.d defaultdir = /etc/default etc_shell_leveldir = $(sysconfdir)/shell/level dhcphookdir = /etc/dhcp3/dhclient-exit-hooks.d +enumdir = $(datadir)/enumeration AM_CFLAGS = -I src -Wall -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include AM_YFLAGS = -d --name-prefix=yy_`basename $* .y`_ @@ -68,6 +69,8 @@ share_perl5_DATA += lib/Vyatta/ConfigLoad.pm share_perl5_DATA += lib/Vyatta/Keepalived.pm share_perl5_DATA += lib/Vyatta/Zone.pm +enum_SCRIPTS = scripts/enumeration/existing-interfaces + default_DATA = etc/default/vyatta-cfg cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \ |