meson: Cleanups
This commit is contained in:
parent
895babbe82
commit
9b56f30c3b
2 changed files with 15 additions and 28 deletions
11
meson.build
11
meson.build
|
|
@ -47,11 +47,6 @@ base_id = 'org.gnome.Loupe'
|
|||
app_id = 'org.gnome.Loupe@0@'.format(profile)
|
||||
iv_version = meson.project_version() + version_suffix
|
||||
|
||||
cargo_sources = files(
|
||||
'Cargo.lock',
|
||||
'Cargo.toml',
|
||||
)
|
||||
|
||||
conf = configuration_data()
|
||||
conf.set('APP_ID', app_id)
|
||||
conf.set('PROFILE', profile)
|
||||
|
|
@ -66,12 +61,6 @@ subdir('help')
|
|||
subdir('src')
|
||||
subdir('po')
|
||||
|
||||
# Pre-commit hook for rust formatting
|
||||
if get_option('profile') == 'development'
|
||||
message('Setting up git pre-commit hook..')
|
||||
run_command('cp', '-f', 'hooks/pre-commit.hook', '.git/hooks/pre-commit', check: false)
|
||||
endif
|
||||
|
||||
gnome.post_install(
|
||||
gtk_update_icon_cache: true,
|
||||
update_desktop_database: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue