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.

66 lines
1.4 KiB

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:
  14. dh_testdir
  15. # Add here commands to compile the package.
  16. $(MAKE)
  17. touch $@
  18. clean:
  19. dh_testdir
  20. dh_testroot
  21. rm -f build
  22. $(MAKE) clean
  23. dh_prep
  24. rm -f debian/files
  25. rm -f debian/i3lock.debhelper.log
  26. install: build
  27. dh_testdir
  28. dh_testroot
  29. dh_prep
  30. dh_installdirs
  31. $(MAKE) DESTDIR=$(CURDIR)/debian/i3lock/ install
  32. mkdir -p $(CURDIR)/debian/i3lock/usr/share/man/man1
  33. cp i3lock.1 $(CURDIR)/debian/i3lock/usr/share/man/man1
  34. # Build architecture-independent files here.
  35. binary-indep: build install
  36. # We have nothing to do by default.
  37. # Build architecture-dependent files here.
  38. binary-arch: build install
  39. dh_testdir
  40. dh_testroot
  41. dh_installchangelogs
  42. dh_installdocs
  43. dh_installman
  44. dh_link
  45. dh_strip
  46. dh_compress
  47. dh_fixperms
  48. dh_installdeb
  49. dh_shlibdeps
  50. dh_gencontrol
  51. dh_md5sums
  52. dh_builddeb
  53. binary: binary-indep binary-arch
  54. .PHONY: build clean binary-indep binary-arch binary install