/build

https://code.google.com/p/latex-makefile/ · #! · 16 lines · 11 code · 5 blank · 0 comment · 0 complexity · 9928b9baacd080c06170219ddab3f12e MD5 · raw file

  1. #!/usr/bin/env python
  2. from __future__ import print_function, division
  3. import sys
  4. import util.ensure_version
  5. from util import template
  6. def main():
  7. ns = template.Template()
  8. with open("Makefile", "wb") as f:
  9. print(ns.expand_file("Makefile.in"), file=f)
  10. if __name__ == '__main__':
  11. main()