File: rules

package info (click to toggle)
lektor 3.3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,716 kB
  • sloc: python: 13,938; javascript: 77; makefile: 37; sh: 7; xml: 1
file content (16 lines) | stat: -rwxr-xr-x 550 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=lektor
export PYBUILD_BEFORE_TEST=cp -r {dir}/lektor/translations {dir}/lektor/quickstart-templates {build_dir}/lektor
export PYBUILD_TEST_ARGS=-m 'not requiresinternet'

%:
	dh $@ --with python3 --buildsystem=pybuild

# frontend compilation not working
# due to build errors (Module not found: Error: Can't resolve 'react')
#execute_after_dh_auto_install:
#	cd frontend && webpack