diff options
| author | Daniil Baturin <daniil@vyos.io> | 2020-05-06 18:50:59 +0300 |
|---|---|---|
| committer | Daniil Baturin <daniil@vyos.io> | 2020-05-06 18:50:59 +0300 |
| commit | ae68e5b11573b1b7dc0eba9d95c7ccbba1f1b23d (patch) | |
| tree | 60151af2b20bc83118262a00a4c469934da24e88 /debian/rules | |
| parent | 02f2571c473d073a9370cf1dfaff9fac34470d63 (diff) | |
| download | vyos-utils-ae68e5b11573b1b7dc0eba9d95c7ccbba1f1b23d.tar.gz vyos-utils-ae68e5b11573b1b7dc0eba9d95c7ccbba1f1b23d.zip | |
Initial import.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b3ff1c6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +DIR := debian/tmp + +%: + dh $@ --with quilt + +override_dh_auto_build: + eval `opam env` + mkdir -p _build + ocamlfind ocamlopt -o _build/numeric -package num -linkpkg src/numeric.ml + ocamlfind ocamlopt -o _build/validate-value -package pcre,unix -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/ + +override_dh_auto_test: + echo "No tests yet" |
