File: rules

package info (click to toggle)
biomaj3 3.1.23-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 744 kB
  • sloc: python: 4,516; sh: 359; makefile: 154
file content (20 lines) | stat: -rwxr-xr-x 679 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/make -f

# The test should be really prevented
# export DH_BUILD_MAINT_OPTIONS=nocheck
export DEB_BUILD_OPTIONS=nocheck
#export PYBUILD_TEST_ARGS=-a'!network'
#export DEB_BUILD_MAINT_OPTIONS=nocheck

export PYBUILD_NAME=biomaj
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
	dh_install
	sed -i '1s;^;#!/usr/bin/python3\n;' debian/python3-biomaj3/usr/bin/biomaj_migrate_database.py

override_dh_installexamples:
	dh_installexamples
	sed -i '1s;^;#!/bin/bash\n;' debian/python3-biomaj3/usr/share/doc/python3-biomaj3/examples/tools/process/concat.sh
	chmod -x debian/python3-biomaj3/usr/share/doc/python3-biomaj3/examples/global.properties.example