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.

67 lines
1.4 KiB

16 years ago
16 years ago
16 years ago
16 years ago
16 years ago
16 years ago
16 years ago
16 years ago
  1. #!/usr/bin/make -f
  2. # -*- makefile -*-
  3. # Sample debian/rules that uses debhelper.
  4. # This file was originally written by Joey Hess and Craig Small.
  5. # As a special exception, when this file is copied by dh-make into a
  6. # dh-make output file, you may use that output file without restriction.
  7. # This special exception was added by Craig Small in version 0.37 of dh-make.
  8. # Uncomment this to turn on verbose mode.
  9. #export DH_VERBOSE=1
  10. config.status: configure
  11. dh_testdir
  12. touch $@
  13. build: build-arch build-indep
  14. build-arch: build-stamp
  15. build-indep: build-stamp
  16. build-stamp:
  17. dh_testdir
  18. $(MAKE)
  19. touch $@
  20. clean:
  21. dh_testdir
  22. dh_testroot
  23. rm -f build-stamp
  24. $(MAKE) clean
  25. dh_prep
  26. rm -f debian/files
  27. rm -f debian/i3lock.debhelper.log
  28. install: build
  29. dh_testdir
  30. dh_testroot
  31. dh_prep
  32. dh_installdirs
  33. $(MAKE) DESTDIR=$(CURDIR)/debian/i3lock/ install
  34. mkdir -p $(CURDIR)/debian/i3lock/usr/share/man/man1
  35. cp i3lock.1 $(CURDIR)/debian/i3lock/usr/share/man/man1
  36. # Build architecture-independent files here.
  37. binary-indep: build install
  38. # We have nothing to do by default.
  39. # Build architecture-dependent files here.
  40. binary-arch: build install
  41. dh_testdir
  42. dh_testroot
  43. dh_installchangelogs
  44. dh_installdocs
  45. dh_installman
  46. dh_link
  47. dh_strip
  48. dh_compress
  49. dh_fixperms
  50. dh_installdeb
  51. dh_shlibdeps
  52. dh_gencontrol
  53. dh_md5sums
  54. dh_builddeb
  55. binary: binary-indep binary-arch
  56. .PHONY: build clean binary-indep binary-arch binary install