Skip to content

Commit

Permalink
fix(build): Do not distribute main man page, requires Rust tooling
Browse files Browse the repository at this point in the history
Requiring us to download Rust dependencies and build the whole Rust CLI
just to generate the source dist tarball is a waste. Distributing the
man page in the distribution package makes sense when generating it
requires tooling the user may not have, but in this case it *will* get
rebuild when they generate the CLI anyway.
  • Loading branch information
alerque committed Jun 27, 2024
1 parent f9506d1 commit 26a6346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 59,7 @@ BUILT_LUA_SOURCES = core/features.lua core/pathsetup.lua core/version.lua

bin_PROGRAMS = sile
bin_SCRIPTS = sile-lua
nodist_man_MANS =
dist_man_MANS = sile-lua.1
sile_SOURCES = src/bin/sile.rs src/lib.rs src/cli.rs
EXTRA_sile_SOURCES =
Expand Down
2 changes: 1 addition & 1 deletion build-aux/que_rust_boilerplate.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,7 @@ export VERSION_FROM_AUTOTOOLS = v$(VERSION)

@PACKAGE_VAR@_SOURCES = Cargo.toml build-aux/build.rs
EXTRA_@PACKAGE_VAR@_SOURCES = Cargo.lock .version
dist_man_MANS = @[email protected]
nodist_man_MANS = @[email protected]

CLEANFILES = $(bin_PROGRAMS) $(BUILT_SOURCES) $(dist_man_MANS)

Expand Down

0 comments on commit 26a6346

Please sign in to comment.