26 lines
No EOL
968 B
Makefile
Executable file
26 lines
No EOL
968 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
# dh_python3 will install the python modules
|
|
# and handle byte-compilation
|
|
export PYBUILD_NAME=deb-mock
|
|
|
|
%:
|
|
dh $@ --with python3
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install
|
|
# Create necessary directories
|
|
mkdir -p debian/mock/usr/bin
|
|
mkdir -p debian/mock/usr/share/mock/configs
|
|
mkdir -p debian/mock/usr/share/doc/mock
|
|
# Install the mock executable
|
|
install -D -m 755 deb_mock/cli.py debian/mock/usr/bin/mock
|
|
# Install configuration files
|
|
install -D -m 644 deb_mock/configs/*.yaml debian/mock/usr/share/mock/configs/
|
|
# Install documentation
|
|
install -D -m 644 README.md debian/mock/usr/share/doc/mock/README.md
|
|
install -D -m 644 docs/*.md debian/mock/usr/share/doc/mock/ 2>/dev/null || true
|
|
|
|
override_dh_auto_test:
|
|
# Skip tests during package build - they're run in CI/CD
|
|
@echo "Skipping tests during package build"
|