default.mk 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 = $(lispdir)/etc
  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. # How to byte-compile the whole source directory
  20. ELCDIR = $(BATCH) \
  21. --eval '(defconst org-release "$(ORGVERSION)")' \
  22. --eval '(batch-byte-recompile-directory 0)'
  23. # How to byte-compile a single source file
  24. ELC = $(BATCH) -f batch-byte-compile
  25. # How to make a pdf file from a texinfo file
  26. TEXI2PDF = texi2pdf
  27. # How to make a pdf file from a tex file
  28. PDFTEX = pdftex
  29. # How to create directories
  30. MKDIR = mkdir -p
  31. # How to create the info files from the texinfo file
  32. MAKEINFO = makeinfo
  33. # How to create the HTML file
  34. TEXI2HTML = makeinfo --html --number-sections
  35. # How to find files
  36. FIND = find
  37. # How to remove files
  38. RM = rm -f
  39. # How to remove files recursively
  40. RMR = rm -fr
  41. # How to stream edit a file
  42. SED = sed
  43. # How to copy the lisp files and elc files to their destination.
  44. # CP = cp -p # try this if there is no install
  45. CP = install -p
  46. # Name of the program to install info files
  47. INSTALL_INFO = install-info