summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2018-06-09 22:31:09 +0200
committerRunar Borge <runar@borge.nu>2018-06-09 22:31:09 +0200
commitf3b4cfecbe48c75c88b9396f68c4b9fc2d7babc1 (patch)
treea043804da4a0b841c86455ceb8c9e8d5f73f7717 /debian/rules
parent06b807f9b898c6bef55c9c0888bf5fd1c96bc9bd (diff)
parente916c9a55ffdff970c1796829d1bee319802b353 (diff)
downloadvyos-1x-f3b4cfecbe48c75c88b9396f68c4b9fc2d7babc1.tar.gz
vyos-1x-f3b4cfecbe48c75c88b9396f68c4b9fc2d7babc1.zip
Merge branch 'current' of git://github.com/vyos/vyos-1x into current
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 5bb6b5371..d284471ec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@ DIR := debian/vyos-1x
VYOS_SBIN_DIR := usr/sbin/
VYOS_BIN_DIR := usr/bin/
VYOS_LIBEXEC_DIR := usr/libexec/vyos
+VYOS_DATA_DIR := /usr/share/vyos
VYOS_CFG_TMPL_DIR := /opt/vyatta/share/vyatta-cfg/templates
VYOS_OP_TMPL_DIR := /opt/vyatta/share/vyatta-op/templates
@@ -54,3 +55,7 @@ override_dh_auto_install:
# Install operational command definitions
mkdir -p $(DIR)/$(VYOS_OP_TMPL_DIR)
cp -r templates-op/* $(DIR)/$(VYOS_OP_TMPL_DIR)
+
+ # Install data files
+ mkdir -p $(DIR)/$(VYOS_DATA_DIR)
+ cp -r data/* $(DIR)/$(VYOS_DATA_DIR)