rules 862 B

123456789101112131415161718192021222324252627282930313233343536
  1. #! /usr/bin/make -f
  2. #
  3. # debian/rules
  4. # Part of Debian ‘dput’ package.
  5. #
  6. # Copyright © 2015 Ben Finney <ben+debian@benfinney.id.au>
  7. #
  8. # This is free software: you may copy, modify, and/or distribute this work
  9. # under the terms of the GNU General Public License as published by the
  10. # Free Software Foundation; version 2 of that license or any later version.
  11. # No warranty expressed or implied. See the file ‘LICENSE.GPL-2’ for details.
  12. PACKAGE_NAME = dput
  13. LC_ALL := C.UTF-8
  14. export LC_ALL
  15. package_share_dir = /usr/share/${PACKAGE_NAME}
  16. export PYBUILD_INSTALL_ARGS ?= \
  17. --install-lib=${package_share_dir}/ \
  18. --install-scripts=${package_share_dir}/
  19. %:
  20. dh $@ --with=python3 --buildsystem=pybuild
  21. override_dh_installman:
  22. dh_installman --language=C
  23. # Local variables:
  24. # coding: utf-8
  25. # mode: make
  26. # End:
  27. # vim: fileencoding=utf-8 filetype=make :