summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2021-04-22make: Hide Makefile to avoid confusion.Jonas Bernoulli
- Those make targets that are useful to users are just wrappers around the respective cargo commands, which means that they are not really necessary. The additional targets are primarily of use to Sequoia developers, which also means that they are not very useful to users. - That did not keep us from prominently advertising the use of make as a recommended installation mechanism, and that in turn contributed to some false expectations and confusion. - For example, a packager used the Makefile because they thought that that is what we would like them to do. Some users found it surprising that "sudo make install" ended up running the target "build-release" even though they had already build using "build". - People who want to keep using make without every time having to specify the name of the hidden Makefile can do so by creating a symbolic link.
2021-04-13bench, ci: Run benchmark functions as tests.Nora Widdecke
2021-04-12doc: Describe why "install" action requires "build-release".Wiktor Kwapisiewicz
- There was a confusion on the project page on why does "install" build the project. - Provide a documentation with the reasoning based on Neal's comment. - See: https://gitlab.com/sequoia-pgp/sequoia/-/merge_requests/953#note_471764940 - Closes !953.
2021-04-06Remove version consistency check.Justus Winter
- This check no longer makes sense as the crate versions are no longer in sync. - Fixes #703.
2021-03-10ci: prefer --workspace flagEli Flanagan
Close #660 The changelog documenting cargo's --workspace arrival is [here](https://github.com/rust-lang/cargo/blob/61a31bc5ff290322d5c025bf750c56501999235d/CHANGELOG.md#added-13). Note `cargo fmt` still expects `--all` because the subcommand semantics differ.
2021-02-09make: Pass on exit codes in test task so it can fail.Azul
2021-01-28ci: Fix comment and options for codespell 2.0.0.Azul
2021-01-04sop: Move to https://gitlab.com/sequoia-pgp/sequoia-sopJustus Winter
- From this point on, the crate sequoia-sop will be maintained in its own repository.
2020-10-14Fix `make install` on both BSD and Linux.Wiktor Kwapisiewicz
Closes #581.
2020-10-14Adapt to the removal of the top-level Sequoia crate.Justus Winter
- Fixes 52ee6a8fa2d326ba93fd4cbcf134a231bc438d95.
2020-10-14sq: Rename module to 'sequoia-sq'.Justus Winter
2020-10-14Make other BSD systems use ginstall too.Wiktor Kwapisiewicz
2020-10-14Modified conditional to set INSTALL executable to ginstall for FreeBSD.phryk
2020-09-21ci: Extract codespell job.Nora Widdecke
- Ingore all target dirs. - Adapt to new codespell dictionary: Add keyserver, keypair, dedup, fpr to ingore list.
2020-08-17Normalize file permissions when creating source distributions.Justus Winter
2020-08-11Add a variable to only build, test, and document specific packages.Neal H. Walfield
- Add the CARGO_PACKAGES variable to allow the user to restrict the packages that are built, test, and documented. - If it contains a package, don't run non-cargo test tests.
2020-06-18Improve install target.Justus Winter
- Add explicit build-release and install targets. - Explicitly build the crates. - Move installation to the crate's Makefile. - This allows building of Sequoia's individual parts, e.g. by using 'make -Copenpgp-ffi install'.
2020-06-18Improve source distribution creation.Justus Winter
- Distribute Sequoia as signed OpenPGP message containing the source tarball, then gzip and xz compress the message. - Also providing a gzipped distribution helps bootstrapping efforts.
2020-06-18Normalize dist tarballs.Justus Winter
2020-06-18Don't vendor dependencies when creating dist tarball.Justus Winter
2020-04-21sop: An implementation of the Stateless OpenPGP CLI using Sequoia.Justus Winter
- This adds a new frontend to Sequoia that implements the Stateless OpenPGP Command Line Interface. - Compared to sq, sop has a much smaller feature set and hence a smaller set of dependencies. It is less opinionated, and tries to faithfully implement the SOP protocol. We will use it to test Sequoia using the OpenPGP Interoperability Test Suite.
2020-02-17Make codespell target more flexible.Justus Winter
2020-02-14Add codespell make target.Jonas Bernoulli
2019-10-27Fix more spelling errors caught by codespellDaniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-10-13Add missing sqv buildJann Ròˆder
2019-04-12Release 0.6.0.v0.6.0Justus Winter
- Also bump rfc2822 to 0.6.0. After all, we create tags for the versions.
2019-04-02Install completion files.Doron Behar
- Make tool/build.rs generate completion files into a predictable location ($CARGO_TARGET_DIR). - Install completion files.
2019-03-28Add a sanity check for the crate versions.Justus Winter
2019-03-27Fix syntax-highlighting of C snippets in local documentation.Justus Winter
2019-03-27Remove deploy-doc target.Justus Winter
- docs.sequoia-pgp.org is now handled by https://gitlab.com/sequoia-pgp/docs.sequoia-pgp.org. - Fixes #232.
2019-03-22Fix build on macOS.Justus Winter
- Use GNU install, use the correct extension for dynamic libraries. - Fixes #226.
2019-01-29Execute normal build targets in openpgp-ffi too.Neal H. Walfield
- Any place where we execute a build command for the ffi crate, we should do the same for the openpgp-ffi crate, too.
2019-01-23Fix making examples.Justus Winter
2019-01-21Distribute highlight.js with our documentation.Justus Winter
- For C code fragments, we use the highlight.js highlighter to apply syntax highlighting. Previously, highlight.js was only used in the FFI documentation, and was loaded from a CDN. - We now distribute highlight.js with our documentation. This is done in the 'doc' make target. - This helps to protect the privacy of users viewing the documentation. - Unfortunately, highlighting no longer works when viewing the documentation locally in a browser using the file:// scheme.
2019-01-17openpgp-ffi: New crate.Justus Winter
- This creates a new crate, 'sequoia-openpgp-ffi', and moves a handful of functions from 'sequoia-ffi' to it. - The 'sequoia-ffi' crate is a superset of the 'sequoia-openpgp-ffi' crate. This is accomplished by some include! magic. - My first attempt involved having 'sequoia-ffi' depend on 'sequoia-openpgp-ffi', so that the former just re-exports the symbols. However, that turned out to be unreliable, and might be not what we want, because it could also duplicate parts of Rust's standard library. - Fixes #144.
2018-11-26sqv: Move sqv into a new crate.Justus Winter
- This allows us to use sequoia-openpgp without compression support reducing binary size and trusted computing base.
2018-11-25Drop nettle-rs documentation.Justus Winter
- nettle-rs now hosts its own documentation.
2018-09-08Make it possible to pass arguments to cargo test when using make.Neal H. Walfield
2018-09-08Change Makefiles to support CARGO_TARGET_DIR.Neal H. Walfield
- Also use 'cargo clean' instead of 'rm -rf $(CARGO_TARGET_DIR)' in case $(CARGO_TARGET_DIR) is incorrectly set.
2018-07-25ffi: Use highlight.js to syntax-highlight the c examples.Justus Winter
2018-06-20store: Rename the key store binary and rendezvous point.Justus Winter
2018-05-14tool: Install 'sqv'.Justus Winter
2018-04-04Document the nettle crate.Justus Winter
- Until the nettle crate is published, we can build the documentation here.
2018-04-04Make version parsing more robust.Justus Winter
2018-04-04When dist-checking, deny any network access.Justus Winter
2018-04-04Honor CARGO_FLAGS.Justus Winter
2018-03-23ffi: Move install rules to ffi/Makefile.Justus Winter
2018-03-15Make 'make dist-check' more robust.Justus Winter
2018-03-15Build examples as part of 'make test'.Justus Winter
2018-03-13Add a Makefile.Justus Winter
- This adds some convenience for building Sequoia. - It also integrates other build systems and test frameworks for the bindings. - Furthermore, it helps with creating releases.