summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 4ccc23e86db3f86d3812d749ec05a55bbeb42ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f

DIR := debian/vyos-smoketest
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

MIGRATION_SCRIPTS_DIR := /opt/vyatta/etc/config-migrate/migrate/

SBINDIR := $(DIR)/usr/sbin

%:
	dh $@ --with python3, --with quilt

override_dh_auto_build:
	make all

override_dh_auto_install:
	# Install smoke test scripts
	mkdir -p $(DIR)/$(VYOS_LIBEXEC_DIR)/tests/smoke/
	cp -r scripts/* $(DIR)/$(VYOS_LIBEXEC_DIR)/tests/smoke

	# Install system programs
	mkdir -p $(SBINDIR)
	cp -r bin/* $(SBINDIR)