default.mk 1.8 KB

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