File tree Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -47,3 +47,4 @@ _fincore_module()
47
47
return 0
48
48
}
49
49
complete -F _fincore_module fincore
50
+ complete -F _fincore_module mu
Original file line number Diff line number Diff line change @@ -3243,8 +3243,11 @@ exe = executable(
3243
3243
install : true )
3244
3244
if not is_disabler (exe)
3245
3245
exes += exe
3246
+ meson .add_install_script(meson_make_symlink, ' fincore' , usrbin_exec_dir / ' mu' )
3246
3247
manadocs += fincore_manadocs
3248
+ manlinks += {' mu.1' : ' fincore.1' }
3247
3249
bashcompletions += [' fincore' ]
3250
+ bashcompletionslinks += {' mu' : ' fincore' }
3248
3251
endif
3249
3252
3250
3253
opt = get_option (' build-hardlink' ).allowed()
Original file line number Diff line number Diff line change @@ -268,10 +268,16 @@ endif
268
268
if BUILD_FINCORE
269
269
usrbin_exec_PROGRAMS += fincore
270
270
MANPAGES += misc-utils/fincore.1
271
+ MANLINKS += misc-utils/mu.1
271
272
dist_noinst_DATA += misc-utils/fincore.1.adoc
272
273
fincore_SOURCES = misc-utils/fincore.c
273
274
fincore_LDADD = $(LDADD) libsmartcols.la libcommon.la
274
275
fincore_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir)
276
+
277
+ install-exec-hook-fincore:
278
+ cd $(DESTDIR)$(usrbin_execdir) && ln -sf fincore mu
279
+
280
+ INSTALL_EXEC_HOOKS += install-exec-hook-fincore
275
281
endif
276
282
277
283
if BUILD_HARDLINK
Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ ifdef::neverdefined[---]
16
16
17
17
== NAME
18
18
19
- fincore - count pages of file contents in core
19
+ fincore, mu - count pages of file contents in core
20
20
21
21
== SYNOPSIS
22
22
23
23
*fincore* [options] _file_...
24
+ *mu* [options] _file_...
24
25
25
26
== DESCRIPTION
26
27
You can’t perform that action at this time.
0 commit comments