File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,14 @@ install:
10
10
install -D -m 0755 -t $(DESTDIR )$(prefix ) /bin target/release/bootc
11
11
install -d $(DESTDIR )$(prefix ) /lib/bootc/install
12
12
# Support installing pre-generated man pages shipped in source tarball, to avoid
13
- # a dependency on pandoc downstream
14
- if test -d man; then install -D -m 0644 -t $( DESTDIR) $( prefix) /share/man/man5 man/* .5; fi
15
- if test -d man; then install -D -m 0644 -t $( DESTDIR) $( prefix) /share/man/man8 man/* .8; fi
13
+ # a dependency on pandoc downstream. But in local builds these end up in target/man,
14
+ # so we honor that too.
15
+ for d in man target/man; do \
16
+ if test -d $$ d; then \
17
+ install -D -m 0644 -t $(DESTDIR )$(prefix ) /share/man/man5 $$ d/* .5; \
18
+ install -D -m 0644 -t $(DESTDIR )$(prefix ) /share/man/man8 $$ d/* .8; \
19
+ fi ; \
20
+ done
16
21
install -D -m 0644 -t $(DESTDIR ) /$(prefix ) /lib/systemd/system systemd/* .service systemd/* .timer
17
22
18
23
bin-archive : all
Original file line number Diff line number Diff line change
1
+ % bootc-fetch-apply-updates(5)
2
+
1
3
# NAME
2
4
3
5
bootc-fetch-apply-updates.service
@@ -17,11 +19,15 @@ project is enabled for daily updates.
17
19
However, it is fully expected that different operating systems
18
20
and distributions choose different defaults.
19
21
20
- ## Customizing updates
22
+ # CUSTOMIZING UPDATES
21
23
22
24
Note that all three of these steps can be decoupled; they
23
25
are:
24
26
25
27
- ` bootc upgrade --check `
26
28
- ` bootc upgrade `
27
29
- ` bootc upgrade --apply `
30
+
31
+ # SEE ALSO
32
+
33
+ ** bootc(1)**
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ fn manpages(sh: &Shell) -> Result<()> {
106
106
. ok_or_else ( || anyhow ! ( "Expected filename in {srcpath:?}" ) ) ?;
107
107
cmd ! (
108
108
sh,
109
- "pandoc --from=markdown --to=man --output=target/man/{base_filename}.5 {srcpath}"
109
+ "pandoc -s - -from=markdown --to=man --output=target/man/{base_filename}.5 {srcpath}"
110
110
)
111
111
. run ( ) ?;
112
112
}
You can’t perform that action at this time.
0 commit comments