Commit 8f5823cc authored by Canek Peláez's avatar Canek Peláez
Browse files

Unversion everything but the Gir file.

parent 3ac1831e
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ project('commonmark', ['vala', 'c'],

PROJECT_NAME = meson.project_name()
PROJECT_VERSION = meson.project_version()
VERSIONED_PROJECT_NAME = PROJECT_NAME + '-' + PROJECT_VERSION
CAMEL_CASE_NAME = 'Commonmark'
VERSIONED_CAMEL_CASE_NAME = CAMEL_CASE_NAME + '-'+  PROJECT_VERSION

@@ -31,7 +30,7 @@ cc = meson.get_compiler('c')
vapidir = join_paths(get_option('datadir'), 'vala', 'vapi')
GIR_NAME= VERSIONED_CAMEL_CASE_NAME + '.gir'
TYPELIB_NAME= VERSIONED_CAMEL_CASE_NAME + '.typelib'
VAPI_NAME = VERSIONED_PROJECT_NAME + '.vapi'
VAPI_NAME = PROJECT_NAME + '.vapi'

conf = configuration_data()
conf.set('prefix', get_option('prefix'))
@@ -47,7 +46,7 @@ configure_file(input : 'data/commonmark.pc.in',
    install_dir : join_paths(get_option('libdir'), 'pkgconfig'))

configure_file(input : 'data/commonmark.deps.in',
    output : 'commonmark-@0@.deps'.format(PROJECT_VERSION),
    output : 'commonmark.deps'.format(PROJECT_VERSION),
    configuration : conf,
    install : true,
    install_dir : vapidir)
@@ -207,7 +206,7 @@ LT_REVISION='2'
LT_AGE='0'
LT_VERSION='2'
libcommonmark = library(
  VERSIONED_PROJECT_NAME,
  PROJECT_NAME,
  libcommonmark_sources + configvapi,
  version : LT_VERSION,
  soversion : LT_VERSION + '.' + LT_AGE + '.' + LT_REVISION,