File: rules

package info (click to toggle)
flask-api 0.6.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 316 kB
  • ctags: 329
  • sloc: python: 1,284; sh: 21; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

export PYBUILD_NAME=flask-api
%:
	dh $@ --with python2,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