Skip to content

Commit 26a6346

Browse files
committed
fix(build): Do not distribute main man page, requires Rust tooling
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.
1 parent f9506d1 commit 26a6346

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ BUILT_LUA_SOURCES = core/features.lua core/pathsetup.lua core/version.lua
5959

6060
bin_PROGRAMS = sile
6161
bin_SCRIPTS = sile-lua
62+
nodist_man_MANS =
6263
dist_man_MANS = sile-lua.1
6364
sile_SOURCES = src/bin/sile.rs src/lib.rs src/cli.rs
6465
EXTRA_sile_SOURCES =

build-aux/que_rust_boilerplate.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export VERSION_FROM_AUTOTOOLS = v$(VERSION)
22

33
@PACKAGE_VAR@_SOURCES += Cargo.toml build-aux/build.rs
44
EXTRA_@PACKAGE_VAR@_SOURCES += Cargo.lock .version
5-
dist_man_MANS += @PACKAGE_NAME@.1
5+
nodist_man_MANS += @PACKAGE_NAME@.1
66

77
CLEANFILES += $(bin_PROGRAMS) $(BUILT_SOURCES) $(dist_man_MANS)
88

0 commit comments

Comments
 (0)