Text::Markdown::Discount
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.7 KiB

  1. HOW TO BUILD AND INSTALL DISCOUNT
  2. 1) Unpacking the distribution
  3. The DISCOUNT sources are distributed in tarballs. After extracting from
  4. the tarball, you should end up with all the source and build files in the
  5. directory
  6. discount-(version)
  7. 2) Installing the distribution
  8. DISCOUNT uses configure.sh to set itself up for compilation. To run
  9. configure, just do ``./configure.sh'' and it will check your system for
  10. build dependencies and build makefiles for you. If configure.sh finishes
  11. without complaint, you can then do a ``make'' to compile everything and a
  12. ``make install'' to install the binaries.
  13. Configure.sh has a few options that can be set:
  14. --src=DIR where the source lives (.)
  15. --prefix=DIR where to install the final product (/usr/local)
  16. --execdir=DIR where to put executables (prefix/bin)
  17. --sbindir=DIR where to put static executables (prefix/sbin)
  18. --confdir=DIR where to put configuration information (/etc)
  19. --libdir=DIR where to put libraries (prefix/lib)
  20. --libexecdir=DIR where to put private executables
  21. --mandir=DIR where to put manpages
  22. --enable-dl-tag Use the DL tag extension
  23. --enable-pandoc-header Use pandoc-style header blocks
  24. --enable-superscript A^B expands to A<sup>B</sup>
  25. --enable-amalloc Use a debugging memory allocator (to detect leaks)
  26. --relaxed-emphasis Don't treat _ in the middle of a word as emphasis
  27. --with-tabstops=N Set tabstops to N characters (default is 4)
  28. 3) Installing sample programs and manpages
  29. The standard ``make install'' rule just installs the binaries. If you
  30. want to install the sample programs, they are installed with
  31. ``make install.samples''; to install manpages, ``make install.man''.
  32. A shortcut to install everything is ``make install.everything''