summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-09-14 18:32:41 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-09-14 18:32:41 -0700
commit44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf (patch)
tree1719340d148647348af1f0c6394cc794a76ac67c /Makefile.am
downloadvyatta-op-44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf.tar.gz
vyatta-op-44960aef3c4b9a10a16ca39ff9f8a0e2e9d069cf.zip
initial commit
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..27e36d6
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,12 @@
+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
+
+cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
+ cpio -0pd
+
+install-exec-hook:
+ mkdir -p $(DESTDIR)$(opdir)
+ cd op-templates; $(cpiop) $(DESTDIR)$(opdir)