From 34bacd283bd73cf697079459b0ad9e91bca349de Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 28 Oct 2015 10:24:23 +0000 Subject: Add tags target to wscript. --- .gitignore | 2 ++ wscript | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4c1bc112..3978d8d9 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ GRTAGS GSYMS GTAGS .*.swp +TAGS + diff --git a/wscript b/wscript index c6b69e86..dc6e4fd9 100644 --- a/wscript +++ b/wscript @@ -63,7 +63,7 @@ def configure(conf): } """, msg='Checking for library openjpeg', stlib='openjpeg', uselib_store='OPENJPEG', mandatory=True) - + conf.env.HAVE_CXML = 1 conf.env.STLIB_CXML = ['cxml'] else: @@ -180,3 +180,6 @@ def create_version_cc(bld, version): def post(ctx): if ctx.cmd == 'install': ctx.exec_command('/sbin/ldconfig') + +def tags(bld): + os.system('etags src/*.cc src/*.h') -- cgit v1.2.3