Commit Graph
417 Commits
Author SHA1 Message Date
John MacFarlane 24c50b9730 Makefile: add check that pandoc-cli depends on exact version of pandoc. 2023-12-12 13:40:42 -08:00
John MacFarlane 6e8fcda326 Makefile: add more prerelease checks.
Check for agreement of pandoc and pandoc-cli version.
Check for presence of changelog entry for this version.
Check that man pages specify this version.
2023-12-12 13:33:00 -08:00
John MacFarlane 55227a2027 Move man pages to pandoc-cli package.
Closes #9245.
2023-12-09 09:55:13 -08:00
John MacFarlane 5fe3396a22 Add Makefile targets for pandoc-lua.1, pandoc-server.1.
Regenerate these man pages.
2023-08-31 17:57:01 -07:00
John MacFarlane 19385e1833 Clean up pandoc's own man page. 2023-08-31 17:49:30 -07:00
John MacFarlane ccf72ddbd3 Set GHCOPTS and CABALOPTS in debpkg target. 2023-08-31 12:38:42 -07:00
John MacFarlane 889dcbe99c Use ghc 9.6 for release builds.
See #8947.
2023-08-04 13:54:04 -07:00
John MacFarlane ca0564084a Switch back to using ghc 9.2 for linux binary releases.
This should address the problem noted in #8947. With ghc 9.4+,
we were getting AVX instructions in the amd64 binary, which aren't
supported on older hardware. For maximum compatibility we switch
back to ghc 9.2, which doesn't cause the problem. However, we haven't
fully diagnosed the problem, and as documented ghc shouldn't be doing
this.

Note that this doesn't fix the similar problem for the Windows
build (#8955), since that uses stack; we'd need to switch to cabal or
use an older version of stackage lts.
2023-07-17 22:40:37 -07:00
John MacFarlane 1d9112f602 Makefile: use -j instead of -j4 2023-06-28 15:17:48 -07:00
Olivier Benz 7cca27b67d Use ghc-musl 9.6.2 docker image (#8701) 2023-06-26 09:12:31 -07:00
Olivier Benz 39d7d7afba Use ghc-musl 9.4.5 docker image 2023-04-20 09:39:03 -07:00
Albert Krewinkel ec1a06f5ef lua-filters.md: autogenerate parts of the Lua API docs 2023-03-19 12:33:04 +01:00
John MacFarlane c4e7723101 Linux builds: Update ghc-musl URL. 2023-03-14 09:56:35 -07:00
John MacFarlane 80c045fb02 Makefile: use -f-export-dynamic in CABALOPTS
This is helpful when building in nix shell.
2023-01-23 12:48:49 -08:00
John MacFarlane 8522676a11 Makefile: master -> main. 2023-01-12 12:05:21 -08:00
Olivier Benz c4995fea41 Use ghc4pandoc 9.4.4 docker image 2023-01-04 07:58:41 -08:00
Olivier Benz 0eda40c93a Use ghc4pandoc 9.4.3 docker image (#8420) 2022-11-04 08:52:33 -07:00
John MacFarlane 487d8003a5 Improve 'make lint'. 2022-10-30 12:39:37 -07:00
John MacFarlane c7af10fe89 hlint suggestions. 2022-10-30 12:37:19 -07:00
John MacFarlane 55b8d0abee make lint: remove apply-refact 2022-10-30 11:01:58 -07:00
John MacFarlane 9d8d1a0b9e Use ghc4pandoc 9.4.2 docker image. 2022-10-28 09:19:13 -07:00
John MacFarlane af12b56d06 Makeflie: add hie.yaml target. 2022-10-20 20:05:50 -07:00
John MacFarlane db189498a8 Makefile: improve linecounts target. 2022-10-19 15:33:21 -07:00
John MacFarlane 656c329c3b Makefile: exclude tests from SOURCEFILES 2022-10-19 13:34:46 -07:00
John MacFarlane 5faa6d22db Makefile: and linecounts target 2022-10-19 13:33:32 -07:00
John MacFarlane fc8b0c4540 Add repl target to Makefile 2022-10-19 13:07:13 -07:00
John MacFarlane e10d6d8ff6 Makefile: make sure we run tests for pandoc-lua-engine too 2022-10-19 10:48:25 -07:00
John MacFarlane 4de3a9c2ca Add tools/latex-package-dependencies.lua. 2022-10-17 21:59:44 -07:00
John MacFarlane 276335bcea Makefile: add ghcid target 2022-10-16 19:57:16 -07:00
John MacFarlane fa450607a8 Makefile: fix .PHONY for test and build. 2022-10-16 14:59:22 -07:00
John MacFarlane c8ef079c0f Makefile: hide command output for make binpath.
This allows:

    alias pandoc=`make binpath`

for convenient local testing of a build.
2022-10-16 11:30:26 -07:00
John MacFarlane d348dfa39e 'make help': add environment variables and default values. 2022-10-16 11:29:07 -07:00
John MacFarlane d849fe4525 Makefile changes.
Rename quick-cabal -> all, quick-test -> test.

Add binpath target.
2022-10-16 11:20:53 -07:00
John MacFarlane 3151800f34 Add authors target to Makefile. 2022-10-04 21:48:17 -07:00
John MacFarlane 2c37fc5550 Improve 'make prerelease' (formerly check). 2022-10-04 21:48:17 -07:00
John MacFarlane 96cbd762a1 Makefile: Improve checkdocs. 2022-10-04 21:48:17 -07:00
John MacFarlane 1f982ddf47 Extend check-cabal to check all packages 2022-10-04 21:48:17 -07:00
John MacFarlane 11ec70cfeb Better 'make moduledeps' target.
ROOT can now be multiple modules, and the complete transitive
dependencies of all of them will be printed.

    make moduledeps ROOT="Text.Pandoc.Class Text.Pandoc.Parsing"
2022-10-04 10:17:33 -07:00
John MacFarlane e33d61dff9 Makefile: add modules.csv target. 2022-10-04 10:17:33 -07:00
John MacFarlane 92e116af19 Make modules.dot target more robust.
Only include source-controlled files under src.
2022-10-01 17:52:03 -07:00
John MacFarlane 89e7e9b636 Makefile: add moduledeps target.
make moduledeps ROOTNODE=T.P.Parsing
2022-10-01 12:46:30 -07:00
John MacFarlane 20f82b0a8b Makefile target to get module dependeny subgraphs.
E.g. what depends on Text.Pandoc.Parsing?

    make modules.pdf ROOTNODE=T.P.Parsing

This is helpful for figuring out what we can split out as separate
packages.
2022-10-01 12:34:27 -07:00
John MacFarlane c51eeea4c7 Add Makefile target to create a directed graph of module dependencies. 2022-10-01 11:52:54 -07:00
John MacFarlane 57fd3c4f81 cabal.project: move back to using flags:.
If we add the flag to constraints, it can't be overridden on
the command line.
2022-09-29 10:19:30 -07:00
John MacFarlane 45820e79f4 Makefile: remove 'stack clean' from clean target 2022-09-29 09:40:57 -07:00
John MacFarlane b5bf559766 Makefile: add weeder target. 2022-09-27 18:01:34 -07:00
John MacFarlane 4932ee324d Makefile: add whitespace check to 'check'. 2022-09-27 13:42:23 -07:00
John MacFarlane 301f905839 Makefile: add transitive-deps target. 2022-09-27 12:52:27 -07:00
John MacFarlane 78c0016526 Makefile: Add coverage target 2022-09-27 12:39:43 -07:00
John MacFarlane 84c053222c Update Makefile. 2022-09-27 10:23:50 -07:00