summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-02-11 14:02:19 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-02-11 14:02:19 -0800
commit7c3732a035bd65510a2a123687768670fdaea1e4 (patch)
tree6f5184daaa1d2060605f6b1a19dfb41fcde679de /Makefile.am
parent5524250683c7216faff0507e6c2490ac45e742d3 (diff)
downloadvyatta-wanloadbalance-7c3732a035bd65510a2a123687768670fdaea1e4.tar.gz
vyatta-wanloadbalance-7c3732a035bd65510a2a123687768670fdaea1e4.zip
fixing installation of init script.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 864c0ad..5987950 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,13 +1,13 @@
cfgdir = $(datadir)/vyatta-cfg/templates
initddir = /etc/init.d
+etcdir = /etc
AM_CPPFLAGS = -I src -Wall -DDEBUG
CLEANFILES = src/main.o src/lbdata.o src/lbdatafactory.o src/loadbalance.o src/rl_str_proc.o src/lbpathtest.o src/lboutput.o
-sbin_SCRIPTS = scripts/vyatta-wanloadbalance.init
-sbin_SCRIPTS += scripts/vyatta-wanloadbalance.pl
+sbin_SCRIPTS = scripts/vyatta-wanloadbalance.pl
src_wan_lb_SOURCES = src/main.cc
src_wan_lb_SOURCES += src/lbdata.cc
@@ -26,3 +26,4 @@ cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
install-exec-hook:
mkdir -p $(DESTDIR)$(cfgdir)
cd templates; $(cpiop) $(DESTDIR)$(cfgdir)
+ find etc ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | cpio -0pd $(DESTDIR) \ No newline at end of file