Skip to content

Commit 3818f0d

Browse files
authored
Merge pull request #1757 from ximion/master
A few Meson improvements
2 parents 495337b + 9946d3f commit 3818f0d

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
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()

meson.build

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ compiler = meson.get_compiler('d')
1010

1111
message('Using compiler ' + compiler.get_id())
1212

13-
if compiler.get_id() == 'gcc'
14-
error('Tilix can not be compiled with GDC at time, since the standard library version of all GDC versions is currently (2016) too old. Sorry.')
15-
endif
16-
17-
if compiler.get_id() == 'llvm'
18-
extra_args = ['-vcolumns','-d-version=StdLoggerDisableTrace']
13+
if compiler.get_id() == 'llvm'
14+
extra_args = ['-vcolumns']
1915
d_link_args = []
2016
else
2117
extra_args = []
@@ -119,6 +115,7 @@ executable('tilix',
119115
xlib_dep,
120116
libunwind_dep],
121117
d_args: extra_args,
118+
d_module_versions: ['StdLoggerDisableTrace'],
122119
link_args: d_link_args,
123120
install : true
124121
)

0 commit comments

Comments
 (0)