rules 630 B

1234567891011121314151617181920
  1. #!/usr/bin/make -f
  2. %:
  3. dh $@
  4. override_dh_auto_install:
  5. python setup.py install --root=debian/tmp --prefix=/usr
  6. make man
  7. mkdir -p debian/tmp/usr/share/man/man1
  8. install -m644 docs/gbs.1 debian/tmp/usr/share/man/man1
  9. for job_name in $(shell ls jenkins-jobs/configs); do \
  10. mkdir -p debian/tmp/var/lib/jenkins/jobs/$$job_name; \
  11. install -m644 jenkins-jobs/configs/$$job_name/config.xml debian/tmp/var/lib/jenkins/jobs/$$job_name; \
  12. done
  13. mkdir -p debian/tmp/var/lib/jenkins/jenkins-scripts
  14. install -m755 jenkins-jobs/scripts/* debian/tmp/var/lib/jenkins/jenkins-scripts
  15. override_dh_auto_test:
  16. @echo 'Skipping autotests'