summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 8374a6d4cc7afe05683d652b8b6df33636b30299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
defaultdir	 = /etc/default
default_DATA	 = etc/default/vyatta
completiondir	 = /etc/bash_completion.d
completion_DATA	 = etc/bash_completion.d/10vyatta-op
opdir		 = $(datadir)/vyatta-op/templates

funcdir		 = $(datadir)/vyatta-op/functions
func_DATA	 = functions/tech-support

alloweddir	 = $(datadir)/vyatta-op/functions/allowed
allowed_DATA	 = functions/allowed/hosts

bin_SCRIPTS	 = scripts/vyatta-show-interfaces
bin_SCRIPTS	+= scripts/vyatta-show-log-all
bin_SCRIPTS	+= scripts/vyatta-show-version

cpiop = find  . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
	cpio -0pd

install-exec-hook:
	mkdir -p $(DESTDIR)$(opdir)
	cd templates; $(cpiop) $(DESTDIR)$(opdir)