summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
* Revamped website.fiddlosopher2007-07-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@699 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use smartquotes and table of contents in generatingfiddlosopher2007-07-11
| | | | | | | README.html. git-svn-id: https://pandoc.googlecode.com/svn/trunk@673 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use -S option in building man pages.fiddlosopher2007-07-08
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@643 788f1e2b-df1e-0410-8736-df70ead52e1b
* Renamed Pandoc.cabal -> pandoc.cabal, for better compatibilityfiddlosopher2007-07-07
| | | | | | | | | with HackageDB, which likes the cabal file to have the same name as the tarball. Modified references to Pandoc.cabal in INSTALL and Makefile. git-svn-id: https://pandoc.googlecode.com/svn/trunk@631 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changes to website:fiddlosopher2007-07-03
| | | | | | | | - Added groff man to list of output formats in index.txt - Added a demo of man page creation to demos page git-svn-id: https://pandoc.googlecode.com/svn/trunk@617 788f1e2b-df1e-0410-8736-df70ead52e1b
* Don't use -S option in processing man pages,fiddlosopher2007-07-02
| | | | | | | | since the '--' in options will be read as an En-dash. git-svn-id: https://pandoc.googlecode.com/svn/trunk@611 788f1e2b-df1e-0410-8736-df70ead52e1b
* Man pages are now generated from markdown templates,fiddlosopher2007-07-01
| | | | | | | | | | using pandoc's man page writer. Removed man pages from repository, added (.md) templates. Modified Makefile to generate man pages as part of the build process. git-svn-id: https://pandoc.googlecode.com/svn/trunk@609 788f1e2b-df1e-0410-8736-df70ead52e1b
* Makefile changes:fiddlosopher2007-06-17
| | | | | | | | | | + Include files built from templates in the distribution tarball, so it can be built using Cabal and included in Hackage. + Remove unnecessary 'cabalize' step. We no longer build Pandoc.cabal from a template. git-svn-id: https://pandoc.googlecode.com/svn/trunk@605 788f1e2b-df1e-0410-8736-df70ead52e1b
* Strip executable binaries before installing.fiddlosopher2007-02-27
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@551 788f1e2b-df1e-0410-8736-df70ead52e1b
* 'cp -a' does not work in BSD. Replace with 'cp -R'.fiddlosopher2007-02-23
| | | | | | | | Note that we don't want user and group to be preserved, anyway. git-svn-id: https://pandoc.googlecode.com/svn/trunk@547 788f1e2b-df1e-0410-8736-df70ead52e1b
* More website tweaks. Added demo of extra xsl configurationfiddlosopher2007-01-10
| | | | | | | and CSS in chunked xhtml produced from docbook. git-svn-id: https://pandoc.googlecode.com/svn/trunk@489 788f1e2b-df1e-0410-8736-df70ead52e1b
* Minor changes to Makefile required by changes to websitefiddlosopher2007-01-10
| | | | | | | build system. git-svn-id: https://pandoc.googlecode.com/svn/trunk@488 788f1e2b-df1e-0410-8736-df70ead52e1b
* Reorganized Makefile target - now uses a subsidiary Makefilefiddlosopher2007-01-09
| | | | | | | that can be run from the website directory for small changes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@485 788f1e2b-df1e-0410-8736-df70ead52e1b
* Change to Makefile to add features page to website.fiddlosopher2007-01-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@467 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fix the bug in 'install-all' target which does not install the wrappers.roktas2007-01-05
| | | | | | | | | | | | | | (This target is somewhat special as it should handle installing and _registering_ the library in generic installations.) We can't rely on 'install-exec' to fix this bug (but we should depend on 'build-exec' nevertheless), since the 'install-all' target already installs pandoc along with the library files. Therefore we should install wrappers separately by using a helper function which was specifically created to avoid code duplication ('install-exec' target was also updated so as to use this function). git-svn-id: https://pandoc.googlecode.com/svn/trunk@426 788f1e2b-df1e-0410-8736-df70ead52e1b
* Nicer informational message in test-markdown target.fiddlosopher2007-01-05
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@420 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed test-markdown target in Makefile: Now it will find anyfiddlosopher2007-01-04
| | | | | | | | | | markdown test suites in the 'test' directory (subdirectories beginning with 'MarkdownTest_') and run them all. This allows us to have multiple test suites, e.g. for 1.0 and for a beta version. git-svn-id: https://pandoc.googlecode.com/svn/trunk@414 788f1e2b-df1e-0410-8736-df70ead52e1b
* Cleaned up and improved Makefile target for wrappers.fiddlosopher2007-01-03
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@408 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved Makefile 'wrappers' target. (Previously, it would buildfiddlosopher2007-01-03
| | | | | | | | | all wrappers corresponding to src/wrappers/*.in. Now, it will only build wrappers in WRAPPERS. This might be useful if we decide to have 'hsmarkdown' be a wrapper on Windows and a symlink on unix.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@407 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved test-markdown target in Makefile:fiddlosopher2007-01-02
| | | | | | | | | | + Use 'hsmarkdown' instead of building 'pandoc-strict' (which was a hack, and didn't work on Windows machines, anyway, due to the line ending problem) + Put top-level directory in path before running the test script, so that hsmarkdown can find 'pandoc' even if it hasn't been installed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@406 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed a bug in website generation, which only worked if 'pandoc'fiddlosopher2007-01-02
| | | | | | | and the wrappers had been installed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@402 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added 'hsmarkdown' wrapper, designed to be used as a drop-infiddlosopher2007-01-02
| | | | | | | | | replacement for Markdown.pl. It calls pandoc with the options '--from markdown --to html --strict' and disallows other options. (Any command-line options will be interpreted as arguments.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@399 788f1e2b-df1e-0410-8736-df70ead52e1b
* Inserted a needed slash in the Makefile, after $(osx_pkg_name),fiddlosopher2007-01-01
| | | | | | | which is the name of a directory! git-svn-id: https://pandoc.googlecode.com/svn/trunk@391 788f1e2b-df1e-0410-8736-df70ead52e1b
* Merged 'strict' branch from r324. This adds a '--strict'fiddlosopher2006-12-30
| | | | | | | | option to pandoc, which forces it to stay as close as possible to official Markdown syntax. git-svn-id: https://pandoc.googlecode.com/svn/trunk@347 788f1e2b-df1e-0410-8736-df70ead52e1b
* Slight changes in website target:fiddlosopher2006-12-29
| | | | | | | | | | | + history.html -> changelog.html + demo.html -> examples.html + Added title to changelog.html + Removed header div on html pages + Changed widths in css git-svn-id: https://pandoc.googlecode.com/svn/trunk@319 788f1e2b-df1e-0410-8736-df70ead52e1b
* Make wrappers executable in the top-level directory, in case peoplefiddlosopher2006-12-29
| | | | | | | want to try them in place without installing. git-svn-id: https://pandoc.googlecode.com/svn/trunk@316 788f1e2b-df1e-0410-8736-df70ead52e1b
* + Renamed web/demos.sh to mkdemos.shfiddlosopher2006-12-29
| | | | | | | | | + Added parameter for directory containing executables + Changed arithmetic statement for portability. + Modified Makefile accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@315 788f1e2b-df1e-0410-8736-df70ead52e1b
* + Changed 'web2markdown' to 'html2markdown'.fiddlosopher2006-12-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@309 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added two more demo cases to website. Put a footnote infiddlosopher2006-12-28
| | | | | | | README for demonstration purposes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@302 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added a latex -> markdown case to demos.fiddlosopher2006-12-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@301 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added another demo case, with header and footer and css.fiddlosopher2006-12-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@299 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added "Demos" page to the website. fiddlosopher2006-12-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@298 788f1e2b-df1e-0410-8736-df70ead52e1b
* + Removed the convenience symlinks (which don't work on Windows underfiddlosopher2006-12-28
| | | | | | | | | | | | | | | | | Cygwin, due to Windows' lack of true symbolic links). + Modified the wrappers to use 'pandoc' instead of the symlinks. + Modified the Makefile to remove all references to the symlinks. + Removed code from Main.hs that made pandoc's behavior depend on the name of the calling program. + Added code to Main.hs that sets default reader and writer based on extensions of input and output filenames (if provided). (Thanks to roktas for the idea.) + Modified README and man pages accordingly. + Removed WINDOWS-README target from Makefile. It is no longer needed now that we don't have the symlinks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@295 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added README-WINDOWS.html to windows package documentation.fiddlosopher2006-12-24
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@291 788f1e2b-df1e-0410-8736-df70ead52e1b
* + Updates to Makefile:fiddlosopher2006-12-24
| | | | | | | | | | | | | - New win-pkg target to build Windows binary package. - Changed name on OSX package. - New RELNAME global variable contains release name, e.g. pandoc-0.3 - Mac dmg is now created in top-level directory, not .. + Updates to website: - Changed download links to point to Google Code downloads area. - Added section on Windows binary package. git-svn-id: https://pandoc.googlecode.com/svn/trunk@286 788f1e2b-df1e-0410-8736-df70ead52e1b
* Pandoc package didn't contain 'pandoc' executable. This is because we're roktas2006-12-23
| | | | | | | | | | using "Simply expanded variables" and PROGS expands before EXECS. Put PROGS after EXECS to fix this bug. As an alternative solution, we could make PROGS -and possibly others- "recursively expanded" variables, but I tend to avoid using that flavour of variables. git-svn-id: https://pandoc.googlecode.com/svn/trunk@283 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed osx-pkg target in Makefile to refer to COPYRIGHTfiddlosopher2006-12-22
| | | | | | | instead of (obsolete) LICENSE. git-svn-id: https://pandoc.googlecode.com/svn/trunk@280 788f1e2b-df1e-0410-8736-df70ead52e1b
* Merged changes from branches/wrappers since r177.fiddlosopher2006-12-22
| | | | | | | | | | | | | | | | | | Summary of main changes: + Added -o/--output and -d/--debug options to pandoc. + Modified pandoc to behave differently depending on the name of the program. For example, if the program name is 'html2latex', the default reader will be html and the default writer latex. + Removed most of the old wrappers, replacing them with symlinks to pandoc. + Rewrote markdown2pdf and created a new wrapper web2markdown, with the functionality of the old html2markdown script. These new scripts exploit pandoc's -d option to avoid having to do complex command-line parsing. + Revised man pages and documentation appropriately. git-svn-id: https://pandoc.googlecode.com/svn/trunk@279 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed TODO. ToDo list now maintained on the Wiki at pandoc'sfiddlosopher2006-12-21
| | | | | | | Google Code site. (Also in the repository: wiki/ToDo.wiki.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@266 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added 'clean' target to src/templates/Makefile, mainfiddlosopher2006-12-19
| | | | | | | | Makefile's 'clean' calls it to clean out template-generated files. git-svn-id: https://pandoc.googlecode.com/svn/trunk@237 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changes to build process relating to r234.fiddlosopher2006-12-19
| | | | | | | | | | | | + Corrected dependencies in Makefiles to ensure that templates get filled when the relevant files are modified. + Changed template placeholders to @xxx@ instead of <xxx>, for consistency with our practice with the Cabal template. + Changed default font for RTF writer (this had been changed earlier, but in the target rather than the template!) git-svn-id: https://pandoc.googlecode.com/svn/trunk@235 788f1e2b-df1e-0410-8736-df70ead52e1b
* + Small changes to Makefile for better handling of Windows executable.fiddlosopher2006-12-16
| | | | | | | + Added windows executable to the website target. git-svn-id: https://pandoc.googlecode.com/svn/trunk@210 788f1e2b-df1e-0410-8736-df70ead52e1b
* Makefile now checks to see if we're running Cygwin/Windows; if we are,fiddlosopher2006-12-13
| | | | | | | '.exe' extension is added to each executable in EXECS. git-svn-id: https://pandoc.googlecode.com/svn/trunk@192 788f1e2b-df1e-0410-8736-df70ead52e1b
* Extract version number from src/Main.hs in cabalize and Makefile.fiddlosopher2006-12-12
| | | | | | | | | The authoritative version number is now in src/Main.hs, with no duplication. (This seems a better solution than building Main.hs from a template.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@182 788f1e2b-df1e-0410-8736-df70ead52e1b
* Merge changes in branches/wrappers into trunk.roktas2006-12-12
| | | | | | | | [in trunk] svn merge -r105:HEAD \ https://pandoc.googlecode.com/svn/branches/wrappers git-svn-id: https://pandoc.googlecode.com/svn/trunk@177 788f1e2b-df1e-0410-8736-df70ead52e1b
* Using hardcoded executable paths in Makefile doesn't work. While GHC roktas2006-11-16
| | | | | | | | | | | | | | | 6.6 Cabal builds executables in dist/build/$executable, older Cabal versions use dist/build/src. To cope with this situation: + Revert to old code which determines executable paths dynamically. + Create symlinks to the compiled executables in top directory. Make sure to not touch symlinks once they've been created. + As PROGS variable can now contain symlinks, determine the actual file during installation. + Replace EXECNAMES with EXECS, as the former became a redundant name due to these changes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@104 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fix a bug in 'uninstall-exec' target.roktas2006-11-12
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@93 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changes to OSX packaging:fiddlosopher2006-11-12
| | | | | | | | | + Use $(NAME) instead of hard-coded 'Pandoc' for package and dmg names + Create dmg in .. (like debs) + Modified website target to get dmg from .. git-svn-id: https://pandoc.googlecode.com/svn/trunk@90 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use compiled executables directly from their build directory, without roktas2006-11-11
| | | | | | | copying them to the top directory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@89 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fix a serious bug in Makefile. 'make' should recompile when a source file roktas2006-11-10
| | | | | | | has been modified. git-svn-id: https://pandoc.googlecode.com/svn/trunk@88 788f1e2b-df1e-0410-8736-df70ead52e1b