aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2025-12-11Use ghc 9.10 (not 9.12) for releases and nightlies.John MacFarlane
2025-11-02Makefile: Use python3 in update-translations.John MacFarlane
2025-07-23Revise Makefile and CI treatment of `--ghc-options`.John MacFarlane
Previously we set `--ghc-options` in Makefile and CI; but this overrides the ghc-options set in the pandoc.cabal file. Better to add options one-by-one using `--ghc-option`. We no longer use GHC_OPTIONS and just put these extra options in CABAL_OPTIONS.
2025-07-23Makefile: add -Wall to ghc options.John MacFarlane
2025-05-28Fix regexes in prelease check.John MacFarlane
2025-05-14Makefile: tweaks in prereleaseJohn MacFarlane
2025-05-11Use jq instead of json_reformat in validate-docx-golden-tests2.John MacFarlane
2025-05-11Makefile: fix typo in latex-package-dependencies target.John MacFarlane
2025-05-11Makefile: use pandoc lua instead of lua.John MacFarlane
Reduces dependencies.
2025-05-11Makefile: install @daisy/ace from npm if not present.John MacFarlane
2025-04-25Revert "Use `int-native` subtagged image (#10799)" (#10804)Olivier Benz
This reverts commit a14997f92e702fca997e4483b34be30c22025c50.
2025-04-23Use `int-native` subtagged image (#10799)Olivier Benz
2025-04-09Tweaks to release process.John MacFarlane
2025-04-08Improve 'make authors'.John MacFarlane
2025-04-08RELEASE-CHECKLIST-TEMPLATE.org: minor changes.John MacFarlane
2025-04-08Makefile: rename version -> VERSION.John MacFarlane
2025-04-08Minor Makefile syntax.John MacFarlane
2025-04-07Add Makefile target `release-checkist`.John MacFarlane
Make RELEASE-CHECKLIST.org into RELEASE-CHECKLIST-TEMPLATE.org. The makefile target will fill in version numbers in this template.
2025-03-27Release builds: build with ghc 9.8.John MacFarlane
2025-03-16Makefile - ignore missing upper bounds in `cabal check`.John MacFarlane
2025-01-31Makefile: make `make binpath` quiet.John MacFarlane
2024-12-20Makefile add prof targetJohn MacFarlane
2024-07-05Makefile: add update-translations targetStephen Huan
2024-02-22Makefile: improve epub-validation target.John MacFarlane
Use `--epub-cover-image` to catch issues that only arise with that. See #9493.
2024-02-16Makefile: improve validate-epub.John MacFarlane
2024-02-16Makefile: make validate-epub check v2 output too.John MacFarlane
See #9469.
2024-02-05Use images from Quay (#9411)Olivier Benz
2024-01-30Makefile: Validate generated EPUB as part of prerelease checks.John MacFarlane
2024-01-29Makefile: change default rule to build THEN test.John MacFarlane
That way we can play with the executable while the tests complete.
2024-01-27make validate-epub - produce HTML ace report in ace subdirectory.John MacFarlane
2024-01-27Regenerate epub tests with latest changes to EPUB reader.John MacFarlane
2024-01-26Add ace check to validate-epub Makefile target.John MacFarlane
2024-01-05Fix make binpath target.John MacFarlane
2023-12-19ci(validate-docx-golden-tests2): fail on errorsEdwin Török
The validator just prints errors, but always exited with nonzero. Signed-off-by: Edwin Török <[email protected]>
2023-12-18test(docx): add workaround for mc:IgnorableEdwin Török
`make validate-docx-golden-tests` now passes Fixes https://github.com/jgm/pandoc/issues/9269 Signed-off-by: Edwin Török <[email protected]>
2023-12-18test(Makefile): add validate-docx-golden-test2Edwin Török
Add a validation rule based on OOXML-Validator which uses the Open-XML-SDK shipped and maintained as part of dotnet. This catches a few more issues compared to the .xsd. Unfortunately currently this executable always exits with 0 even when validation failed. That can be fixed later by invoking it from a script. Signed-off-by: Edwin Török <[email protected]>
2023-12-18fix(Makefile): make quick-stack was failing, "j" was expecting a numberEdwin Török
Fixes: ``` pandoc-lua-engine> option -j: Could not parse num-threads pandoc-lua-engine> pandoc-lua-engine> Usage: test-pandoc-lua-engine [-p|--pattern PATTERN] [-t|--timeout DURATION] pandoc-lua-engine> [-l|--list-tests] [-j|--num-threads NUMBER] pandoc-lua-engine> [-q|--quiet] [--hide-successes] pandoc-lua-engine> [--color never|always|auto] [--ansi-tricks ARG] pandoc-lua-engine> [--accept] [--no-create] [--size-cutoff n] pandoc-lua-engine> [--delete-output never|onpass|always] ``` Signed-off-by: Edwin Török <[email protected]>
2023-12-18Add custom validate-docx.sh script.John MacFarlane
This checks files other than document.xml in a docx container. Thanks to @edwintorok.
2023-12-18Makefile: Run built pandoc (instead of pandoc in path).John MacFarlane
2023-12-18Makefile: Add validate-epub target.John MacFarlane
2023-12-18Makefile: add validate-docx-golden-tests target.John MacFarlane
2023-12-12Makefile: add check that pandoc-cli depends on exact version of pandoc.John MacFarlane
2023-12-12Makefile: add more prerelease checks.John MacFarlane
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-09Move man pages to pandoc-cli package.John MacFarlane
Closes #9245.
2023-08-31Add Makefile targets for pandoc-lua.1, pandoc-server.1.John MacFarlane
Regenerate these man pages.
2023-08-31Clean up pandoc's own man page.John MacFarlane
2023-08-31Set GHCOPTS and CABALOPTS in debpkg target.John MacFarlane
2023-08-04Use ghc 9.6 for release builds.John MacFarlane
See #8947.
2023-07-17Switch back to using ghc 9.2 for linux binary releases.John MacFarlane
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-06-28Makefile: use -j instead of -j4John MacFarlane