File: rules

package info (click to toggle)
python-djangorestframework-yaml 3.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 268 kB
  • sloc: python: 483; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export PYBUILD_NAME=djangorestframework-yaml

mkDocsDest = $(CURDIR)/debian/python3-djangorestframework-yaml-doc/usr/share/doc/python3-djangorestframework-yaml/html

%:
	dh $@ --buildsystem=pybuild


execute_before_dh_auto_configure:
	cp -r drf_yaml rest_framework_yaml

execute_before_dh_clean:
	rm -rf rest_framework_yaml


execute_before_dh_mkdocs:
	mkdocs build -t mkdocs -d $(mkDocsDest)
	rm -f $(mkDocsDest)/sitemap.xml.gz