default.mk 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. ##----------------------------------------------------------------------
  2. ## NEVER EDIT THIS FILE, PUT ANY ADAPTATIONS INTO local.mk
  3. ##----------------------------------------------------------------------
  4. ## CHECK AND ADAPT THE FOLLOWING DEFINITIONS
  5. ##----------------------------------------------------------------------
  6. # Name of your emacs binary
  7. EMACS = emacs
  8. # Where local software is found
  9. prefix = /usr/share
  10. # Where local lisp files go.
  11. lispdir= $(prefix)/emacs/site-lisp/org
  12. # Where local data files go.
  13. datadir = $(prefix)/emacs/etc/org
  14. # Where info files go.
  15. infodir = $(prefix)/info
  16. ##----------------------------------------------------------------------
  17. ## YOU MAY NEED TO ADAPT THESE DEFINITIONS
  18. ##----------------------------------------------------------------------
  19. # Using emacs in batch mode.
  20. BATCH = $(EMACS) -batch -Q \
  21. -L . \
  22. --eval '(defconst org-release "$(ORGVERSION)-Make")' \
  23. # How to run tests
  24. BTEST_EXTRA = # placeholder
  25. BTEST = $(EMACS) -batch \
  26. $(BTEST_EXTRA) \
  27. -L lisp/ \
  28. --eval '(defconst org-release "$(ORGVERSION)-Test")' \
  29. -l testing/org-test.el \
  30. -eval "(setq org-confirm-babel-evaluate nil)" \
  31. -f org-test-run-batch-tests
  32. # How to byte-compile the whole source directory
  33. ELCDIR = $(BATCH) \
  34. --eval '(batch-byte-recompile-directory 0)'
  35. # How to byte-compile a single source file
  36. ELC = $(BATCH) -f batch-byte-compile
  37. # How to make a pdf file from a texinfo file
  38. TEXI2PDF = texi2pdf --batch --clean
  39. # How to make a pdf file from a tex file
  40. PDFTEX = pdftex
  41. # How to create directories
  42. MKDIR = mkdir -p
  43. # How to create the info files from the texinfo file
  44. MAKEINFO = makeinfo
  45. # How to create the HTML file
  46. TEXI2HTML = makeinfo --html --number-sections
  47. # How to find files
  48. FIND = find
  49. # How to remove files
  50. RM = rm -f
  51. # How to remove files recursively
  52. RMR = rm -fr
  53. # How to stream edit a file
  54. SED = sed
  55. # How to copy the lisp files and elc files to their destination.
  56. # CP = cp -p # try this if there is no install
  57. CP = install -p
  58. # Name of the program to install info files
  59. # INSTALL_INFO = ginstall-info # Debian: avoid harmless warning message
  60. INSTALL_INFO = install-info