summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/vyos-utils.install3
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index c6e8920..09cdd65 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,12 +9,14 @@ override_dh_auto_build:
eval `opam env`
mkdir -p _build
ocamlfind ocamlopt -o _build/numeric -package pcre -linkpkg src/numeric.ml
+ ocamlfind ocamlopt -o _build/file-path -package fileutils -linkpkg src/file_path.ml
ocamlfind ocamlopt -o _build/validate-value -package pcre,unix,containers -linkpkg src/validate_value.ml
override_dh_auto_install:
mkdir -p $(DIR)/usr/libexec/vyos/validators
cp _build/numeric $(DIR)/usr/libexec/vyos/validators
cp _build/validate-value $(DIR)/usr/libexec/vyos/
+ cp _build/file-path $(DIR)/usr/libexec/vyos/validators
override_dh_auto_test:
echo "No tests yet"
diff --git a/debian/vyos-utils.install b/debian/vyos-utils.install
index 77ea559..a67b3f8 100644
--- a/debian/vyos-utils.install
+++ b/debian/vyos-utils.install
@@ -1,2 +1,3 @@
-usr/libexec/vyos/validators/numeric
usr/libexec/vyos/validate-value
+usr/libexec/vyos/validators/numeric
+usr/libexec/vyos/validators/file-path