|
|
646c2a8 |
From 5fad96254cf20fc6d473037b48c50031cd7e8b45 Mon Sep 17 00:00:00 2001
|
|
|
646c2a8 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
|
646c2a8 |
Date: Fri, 3 Apr 2020 18:35:21 +0200
|
|
|
646c2a8 |
Subject: [PATCH] Drop tags and ctags targets
|
|
|
646c2a8 |
|
|
|
646c2a8 |
meson 0.43 started providing a built-in ctags target which
|
|
|
646c2a8 |
conflicts with the hand-rolled one here. There shouldn't be
|
|
|
646c2a8 |
much difference, so let's drop ours.
|
|
|
646c2a8 |
|
|
|
646c2a8 |
Fixes #22.
|
|
|
646c2a8 |
---
|
|
|
646c2a8 |
meson.build | 22 ----------------------
|
|
|
646c2a8 |
1 file changed, 22 deletions(-)
|
|
|
646c2a8 |
|
|
|
646c2a8 |
diff --git a/meson.build b/meson.build
|
|
|
646c2a8 |
index 5fc51d282d78dd7127c3ac3c7c80f65aa492b871..72ac7867c694fc96bd387530bcd92d4ae0839963 100644
|
|
|
646c2a8 |
--- a/meson.build
|
|
|
646c2a8 |
+++ b/meson.build
|
|
|
646c2a8 |
@@ -77,27 +77,5 @@ varlink_wrapper_py = find_program('./varlink-wrapper.py')
|
|
|
646c2a8 |
|
|
|
646c2a8 |
subdir('lib')
|
|
|
646c2a8 |
subdir('tool')
|
|
|
646c2a8 |
subdir('vim')
|
|
|
646c2a8 |
subdir('bash-completion')
|
|
|
646c2a8 |
-
|
|
|
646c2a8 |
-############################################################
|
|
|
646c2a8 |
-
|
|
|
646c2a8 |
-git = find_program('git', required : false)
|
|
|
646c2a8 |
-
|
|
|
646c2a8 |
-if git.found()
|
|
|
646c2a8 |
- all_files = run_command(
|
|
|
646c2a8 |
- git,
|
|
|
646c2a8 |
- ['--git-dir=@0@/.git'.format(meson.current_source_dir()),
|
|
|
646c2a8 |
- 'ls-files',
|
|
|
646c2a8 |
- ':/*.[ch]'])
|
|
|
646c2a8 |
- all_files = files(all_files.stdout().split())
|
|
|
646c2a8 |
-
|
|
|
646c2a8 |
- custom_target(
|
|
|
646c2a8 |
- 'tags',
|
|
|
646c2a8 |
- output : 'tags',
|
|
|
646c2a8 |
- command : ['env', 'etags', '-o', '@0@/TAGS'.format(meson.current_source_dir())] + all_files)
|
|
|
646c2a8 |
- custom_target(
|
|
|
646c2a8 |
- 'ctags',
|
|
|
646c2a8 |
- output : 'ctags',
|
|
|
646c2a8 |
- command : ['env', 'ctags', '-o', '@0@/tags'.format(meson.current_source_dir())] + all_files)
|
|
|
646c2a8 |
-endif
|
|
|
646c2a8 |
--
|
|
|
646c2a8 |
2.29.2
|
|
|
646c2a8 |
|