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

bin_SCRIPTS	 = scripts/show_interfaces
bin_SCRIPTS	+= scripts/show_interfaces_ethernet
bin_SCRIPTS	+= scripts/show_interfaces_loopback
bin_SCRIPTS	+= scripts/show_interfaces_statistics
bin_SCRIPTS	+= scripts/show_interfaces_summary
bin_SCRIPTS	+= scripts/show_interfaces_system
bin_SCRIPTS	+= scripts/show_interfaces_tunnel

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

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