File: rules

package info (click to toggle)
flask-api 1.1%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 304 kB
  • sloc: python: 1,395; javascript: 42; sh: 20; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/make -f

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

override_dh_auto_install:
	dh_auto_install

	rm -rv $(CURDIR)/debian/*/usr/lib/python*/dist-packages/flask_api/static
	rm -rv $(CURDIR)/debian/*/usr/lib/python*/dist-packages/flask_api/templates

.PHONY: get-orig-source
get-orig-source:
	debian/get-orig-source

override_dh_auto_test:
	# skip bad tests for now