debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | %: |
| 5 | dh $@ |
| 6 | |
| 7 | execute_before_dh_clean: |
| 8 | rm -f hsluv.js |
| 9 | # workaround for https://github.com/hsluv/hsluv/issues/81 |
| 10 | touch @$${SOURCE_DATE_EPOCH} README.md |
| 11 | |
| 12 | execute_before_dh_auto_configure: |
| 13 | haxe -cp ./debian/missing-sources hsluv.Hsluv -js hsluv.js -D js-classic -D js-unflatten |
| 14 | cat ./debian/missing-sources/api-public.js >> hsluv.js |
| 15 | printf "\nmodule.exports = root;" >> hsluv.js |