summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authoralex <alex@builder.localdomain>2007-12-11 15:12:41 -0800
committeralex <alex@builder.localdomain>2007-12-11 15:12:41 -0800
commit42aff76b3686beb463a77f3dabd4c5beed961120 (patch)
treee61062b2c0b55d3841083c38110603f1c398bd06 /Makefile.am
parentfb9450551d5757a45806a062d7457a761e6dd295 (diff)
parent832dbf144bc019ec524e4163b716dd823ee26900 (diff)
downloadvyatta-cfg-42aff76b3686beb463a77f3dabd4c5beed961120.tar.gz
vyatta-cfg-42aff76b3686beb463a77f3dabd4c5beed961120.zip
Merge branch 'master' of http://phuket.vyatta.com/vyatta-cfg
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c757ac1..733526f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,8 @@ cfgdir = $(datadir)/vyatta-cfg/templates
share_perl5dir = /opt/vyatta/share/perl5
completiondir = /etc/bash_completion.d
initddir = /etc/init.d
+defaultdir = /etc/default
+etc_shell_leveldir = $(sysconfdir)/shell/level
AM_CFLAGS = -I src -Wall
AM_YFLAGS = -d --name-prefix=yy_`basename $* .y`_
@@ -43,9 +45,13 @@ share_perl5_DATA += scripts/VyattaConfigLoad.pm
share_perl5_DATA += scripts/VyattaMisc.pm
share_perl5_DATA += scripts/VyattaTypeChecker.pm
+default_DATA = etc/default/vyatta-cfg
+
cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
install-exec-hook:
mkdir -p $(DESTDIR)$(cfgdir)
cd templates; $(cpiop) $(DESTDIR)$(cfgdir)
+ mkdir -p $(DESTDIR)$(etc_shell_leveldir)
+ cd etc/shell/level; $(cpiop) $(DESTDIR)$(etc_shell_leveldir)