modified version of jenkins debian glue (https://github.com/mika/jenkins-debian-glue) for devuan
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
633 B

  1. PREFIX := /usr
  2. PROGRAMS := scripts/*
  3. build:
  4. tests/increase-version-number
  5. install: $(scripts)
  6. mkdir -p $(DESTDIR)/$(PREFIX)/bin/
  7. for prog in $(PROGRAMS); do \
  8. install -m 0755 $$prog $(DESTDIR)/$(PREFIX)/bin; \
  9. done
  10. mkdir -p $(DESTDIR)/usr/share/jenkins-debian-glue/examples/
  11. install -m 0664 examples/* $(DESTDIR)/usr/share/jenkins-debian-glue/examples/
  12. deploy:
  13. fab all
  14. clean:
  15. rm -f fabfile.pyc
  16. # avoid recursion via debian/rules clean, so manually rm:
  17. rm -f debian/files debian/jenkins-debian-glue.debhelper.log
  18. rm -f debian/jenkins-debian-glue.substvars
  19. rm -rf debian/jenkins-debian-glue/
  20. .PHONY: build install