Skip to content

Commit b3e8718

Browse files
committed
meson: Install manual page
1 parent e302c58 commit b3e8718

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

data/man/Makefile.am

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ manfile = $(builddir)/man/man1/tilix.1.gz
33
mansfiles = $(shell find $(srcdir)/po -name '*.man.po' | sed "s_$(srcdir)/po/\(.*\)\.man\.po_$(builddir)/man/\1/man1/tilix.1.gz_g")
44
nobase_dist_mans_DATA = $(manfile) $(mansfiles)
55

6-
$(manfile): $(srcdir)/tilix
6+
$(manfile): $(srcdir)/tilix.1
77
$(INSTALL) -d $(@D); \
88
$(INSTALL) $< $(@D)/tilix.1; \
99
gzip -f $(@D)/tilix.1
1010

1111
$(builddir)/man/%/man1/tilix.1.gz: $(srcdir)/po/%.man.po
1212
$(INSTALL) -d "$(builddir)"/man/$(*F)/man1; \
13-
$(PO4A_TRANS) -k 0 -f man -m "$(srcdir)"/tilix -p $< -l "$(builddir)"/man/$(*F)/man1/tilix.1; \
14-
gzip -f "$(builddir)"/man/$(*F)/man1/tilix.1;
13+
$(PO4A_TRANS) -k 0 -f man -m "$(srcdir)"/tilix.1 -p $< -l "$(builddir)"/man/$(*F)/man1/tilix.1; \
14+
gzip -f "$(builddir)"/man/$(*F)/man1/tilix.1;
1515

16-
EXTRA_DIST = $(srcdir)/tilix $(srcdir)/po/*.man.po
16+
EXTRA_DIST = $(srcdir)/tilix.1 $(srcdir)/po/*.man.po
1717
CLEANFILES = $(manfile) $(mansfiles)
File renamed without changes.

data/meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ desktop_file = i18n.merge_file(
1919
install_dir: appdir
2020
)
2121

22+
# Install manual page
23+
install_man(['man/tilix.1'])
24+
2225
# Validate desktop file
2326
desktop_file_validate = find_program('desktop-file-validate', required:false)
2427
if desktop_file_validate.found()

0 commit comments

Comments
 (0)