| 1 | #!/usr/bin/make -f |
| 2 | # See debhelper(7) (uncomment to enable) |
| 3 | # output every command that modifies files on the build system. |
| 4 | #export DH_VERBOSE = 1 |
| 5 | |
| 6 | export PYBUILD_NAME=lektor |
| 7 | export PYBUILD_BEFORE_TEST=cp -r {dir}/lektor/translations {dir}/lektor/quickstart-templates {build_dir}/lektor |
| 8 | export PYBUILD_TEST_ARGS=-m 'not requiresinternet' -k 'not install_local_package' |
| 9 | |
| 10 | %: |
| 11 | dh $@ --buildsystem=pybuild |
| 12 | |
| 13 | # frontend compilation not working |
| 14 | # due to build errors (Module not found: Error: Can't resolve 'react') |
| 15 | #execute_after_dh_auto_install: |
| 16 | # cd frontend && webpack |