debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # ensure deterministic build: avoid Module::Package::RDF calling Module::AutoInstall |
| 4 | export NO_AUTO_INSTALL=1 |
| 5 | |
| 6 | %: |
| 7 | dh $@ |
| 8 | |
| 9 | # move aside stale code during build |
| 10 | execute_after_dh_auto_clean: |
| 11 | [ ! -d inc/Scalar.save ] || mv --force inc/Scalar.save inc/Scalar |
| 12 | |
| 13 | execute_before_dh_auto_configure: |
| 14 | [ ! -d inc/Scalar ] || mv inc/Scalar inc/Scalar.save |
| 15 | |
| 16 | override_dh_fixperms: |
| 17 | dh_fixperms |
| 18 | chmod -x debian/*/usr/share/doc/*/examples/misc/*.pl |