-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmeson.build
680 lines (593 loc) · 22.7 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
project('balsa', 'c',
version : '2.6.4',
meson_version : '>= 0.50.0',
default_options : ['sysconfdir=/etc', 'buildtype=debugoptimized'])
# if meson is used not in a git source tree, use project version:
balsa_version = meson.project_version()
balsa_from_git = run_command('sh', '-c', 'test -d ${MESON_SOURCE_ROOT}/.git',
check : false).returncode() == 0
if balsa_from_git
git_describe = run_command('git', 'describe', '--tags',
check : true)
if git_describe.returncode() == 0
balsa_version = git_describe.stdout().strip()
endif
endif
# ###########################################################################
# Versioning
# ###########################################################################
conf = configuration_data()
conf.set_quoted('BALSA_VERSION', balsa_version)
conf.set_quoted('VERSION', balsa_version)
conf.set_quoted('PACKAGE_VERSION', balsa_version)
conf.set_quoted('PACKAGE', 'balsa',
description : 'Name of package')
# #####################################################################
# System extensions
# #####################################################################
conf.set('_GNU_SOURCE', 1)
# #####################################################################
# Options
# #####################################################################
if get_option('flock')
conf.set('USE_FLOCK', 1,
description : 'Define if flock locking should be used.')
endif
if get_option('fcntl')
conf.set('USE_FCNTL', 1,
description : 'Define if fcntl locking should be used.')
endif
gnome_desktop = get_option('gnome-desktop')
autocrypt = get_option('autocrypt')
systray = get_option('systray')
canberra = get_option('canberra')
compface = get_option('compface')
gss = get_option('gss')
html_widget = get_option('html-widget')
gtksourceview = get_option('gtksourceview')
spell_checker = get_option('spell-checker')
ldap = get_option('ldap')
osmo = get_option('osmo')
gpe = get_option('gpe')
libsecret = get_option('libsecret')
webdav = get_option('webdav')
gcr = get_option('gcr')
more_warnings = get_option('more-warnings')
help_files = get_option('help-files')
nls = get_option('nls')
# Documentation and Testing requirements for libnetclient
libnetclient_docs = get_option('libnetclient-docs')
libnetclient_test = get_option('libnetclient-test')
# #####################################################################
# Programs: compilers and their options.
# #####################################################################
compiler = meson.get_compiler('c')
uts_prefix = '''
#define _GNU_SOURCE
#include <sys/utsname.h>
'''
if compiler.has_member('struct utsname', 'domainname', prefix : uts_prefix)
conf.set('HAVE_STRUCT_UTSNAME_DOMAINNAME', 1,
description : 'Define to 1 if ‘domainname’ is a member of ‘struct utsname’.')
endif
# yelp
if help_files
yelptool = find_program('yelp-build', required : false)
if not yelptool.found()
message('*** The tools to build the documentation are not found.')
message(' To build it, please install the yelp-tools package.')
message(' Continuing with build. ****')
help_files = false
endif
endif
# #####################################################################
# GNOME libs
# #####################################################################
if gnome_desktop
TOOLKIT_CATEGORIES = 'GNOME;GTK;'
else
TOOLKIT_CATEGORIES = 'GTK;'
endif # gnome_desktop
conf.set('TOOLKIT_CATEGORIES', TOOLKIT_CATEGORIES)
# #####################################################################
# Libraries.
# #####################################################################
# Dependencies for balsa and balsa_ab:
glib_dep = dependency('glib-2.0', version : '>= 2.48.0')
gtk_dep = dependency('gtk+-3.0', version : '>= 3.24.0')
gmime_dep = dependency('gmime-3.0', version : '>= 3.2.6' )
gio_dep = dependency('gio-2.0' )
gthread_dep = dependency('gthread-2.0' )
gnutls_dep = dependency('gnutls', version : '>= 3.0' )
gpgme_dep = dependency('gpgme', version : '>= 1.8.0' )
fribidi_dep = dependency('fribidi' )
libical_dep = dependency('libical', version : '>= 2.0.0' )
# Dependencies for balsa
balsa_deps = [glib_dep,
gtk_dep,
gmime_dep,
gio_dep,
gthread_dep,
gnutls_dep,
gpgme_dep,
fribidi_dep,
libical_dep]
# Dependencies for balsa_ab:
balsa_ab_deps = [glib_dep,
gtk_dep,
gmime_dep]
# Dependencies for libnetclient:
libnetclient_deps = [glib_dep,
gio_dep,
gnutls_dep]
# ##########################################################################
# Check versions
# ##########################################################################
# HTML widget
#
if html_widget == 'webkit2'
html_dep = dependency('webkit2gtk-4.1', required : false)
if not html_dep.found()
html_dep = dependency('webkit2gtk-4.0', version : '>= 2.28.0')
endif
htmlpref_dep = dependency('sqlite3', version : '>= 3.24.0')
balsa_web_extensions = join_paths(get_option('prefix'), get_option('libdir'), 'balsa')
add_project_arguments('-DBALSA_WEB_EXTENSIONS="' + balsa_web_extensions + '"', language : 'c')
add_project_arguments('-DBALSA_WEB_EXT_DEVEL="' + join_paths(meson.current_build_dir(), 'libbalsa') + '"', language : 'c')
html2text = find_program('python-html2text',
'html2markdown',
'html2markdown.py2',
'html2markdown.py3',
'html2text',
required : false)
if html2text.found()
if meson.version().version_compare('>=0.55')
html2text_path = html2text.full_path()
else # meson.version().version_compare('>=0.55')
html2text_path = html2text.path()
endif # meson.version().version_compare('>=0.55')
conf.set_quoted('HTML2TEXT', html2text_path,
description : 'Path to html2text program.')
conftest_htm = join_paths(meson.current_build_dir(), 'conftest.htm')
run_command('sh', '-c', 'echo "<html/>" > ' + conftest_htm, check : true)
unicode_snob = run_command(html2text, '--unicode-snob', conftest_htm,
check : false)
if unicode_snob.returncode() == 0
conf.set('HTML2TEXT_UCOPT', 1,
description : 'Defined when HTML2TEXT accepts the --unicode-snob option.')
endif
# With meson version 0.52, the following run_command() makes ninja
# go into an endless loop, so we'll skip it, and just leave
# conftest.htm in the current build dir:
# run_command('rm', '-f', conftest_htm)
else
message('You cannot properly quote html-only messags.')
endif
conf.set('HAVE_HTML_WIDGET', 1,
description : 'Defined when an HTML widget can be used.')
balsa_deps += [html_dep, htmlpref_dep]
endif
# Autocrypt
if autocrypt
autocrypt_dep = dependency('sqlite3', required : true)
conf.set('ENABLE_AUTOCRYPT', 1, description : 'If defined, enable Autocrypt support.')
balsa_deps += autocrypt_dep
endif
# System Tray Icons
if systray
systray_dep = dependency('xapp', required : true)
conf.set('ENABLE_SYSTRAY', 1, description : 'If defined, enable System Tray Icon support.')
balsa_deps += systray_dep
endif
# OpenLDAP configuration.
#
if ldap != 'false'
ldap_compile_args = []
ldap_link_args = ['-lldap', '-llber', '-lresolv']
if ldap != 'true'
ldap_compile_args += '-I' + join_paths(ldap, 'include')
ldap_link_args += '-L' + join_paths(ldap, 'lib')
endif
result = compiler.has_function('ldap_search', args : ldap_link_args)
if result
conf.set('ENABLE_LDAP', 1,
description : 'Defined when the LDAP support is to be compiled in.')
else
error('*** You enabled LDAP but ldap library is not found.')
endif
result = compiler.has_function('ldap_start_tls', args : ldap_link_args)
if result
conf.set('HAVE_LDAP_TLS', 1,
description : 'Defined when LDAP lib supports TLS')
endif
ldap_dep = declare_dependency(compile_args : ldap_compile_args,
link_args : ldap_link_args)
balsa_deps += ldap_dep
balsa_ab_deps += ldap_dep
endif # ldap != 'false'
# GPE address book configuration.
#
if gpe
gpe_dep = dependency('sqlite3', required : true)
conf.set('HAVE_GPE', 1,
description : 'If defined, enable GPE address book support.')
balsa_deps += gpe_dep
balsa_ab_deps += gpe_dep
endif # gpe
# Osmo address book support
#
if osmo
conf.set('HAVE_OSMO', 1,
description : 'If defined, enable Osmo address book support.')
endif # osmo
# KRB5/GSSAPI configuration.
#
if gss
krb5_config = find_program('krb5-config',
'/usr/kerberos/bin/krb5-config',
'/usr/lib/mit/bin/krb5-config',
required : false)
if not krb5_config.found()
error('GSS requested but krb5-config not found. Install krb5-devel/heimdal-devel')
endif
conf.set('HAVE_GSSAPI', 1,
description : 'Defined when GSSAPI support is to be compiled.')
krb5_cflags = run_command(krb5_config, ['--cflags', 'gssapi'], check : true).stdout().strip().split()
krb5_libs = run_command(krb5_config, ['--libs', 'gssapi'], check : true).stdout().strip().split()
if compiler.has_header('gssapi.h')
conf.set('HAVE_HEIMDAL', 1,
description : 'Defined for Heimdal.')
elif not compiler.has_header('gssapi/gssapi.h')
error('gssapi.h not found')
endif
krb5_dep = declare_dependency(compile_args : krb5_cflags,
link_args : krb5_libs)
balsa_deps += krb5_dep
libnetclient_deps += krb5_dep
endif # gss
# gcr configuration
#
if gcr
gcr_dep = dependency('gcr-3')
if gcr_dep.found()
conf.set('HAVE_GCR', 1,
description : 'Defined when gcr-3 can be used.')
endif
balsa_deps += gcr_dep
endif # gcr
# Compface configuration
#
if compface != 'false'
compface_compile_args = []
compface_link_args = ['-lcompface']
if compface != 'true'
compface_compile_args += '-I' + join_paths(compface, 'include')
compface_link_args += '-L' + join_paths(compface, 'lib')
endif
result = compiler.has_function('uncompface', args : compface_link_args)
if result
conf.set('HAVE_COMPFACE', 1,
description : 'Defined when Compface support is requested.')
else
error('*** You enabled Compface but the library is not found.')
endif
compface_dep = declare_dependency(compile_args : compface_compile_args,
link_args : compface_link_args)
balsa_deps += compface_dep
endif # compface != 'false'
# GtkSourceView configuration
#
if gtksourceview
gsv_dep = dependency('gtksourceview-4')
balsa_deps += gsv_dep
conf.set('HAVE_GTKSOURCEVIEW', 1,
description : 'Defined when GtkSourceView-4 can be used.')
endif # gtksourceview
# libcanberra configuration
#
if canberra
canberra_dep = dependency('libcanberra-gtk3')
conf.set('HAVE_CANBERRA', 1,
description : 'Defined when canberra can be used.')
balsa_deps += canberra_dep
endif # canberra
# Libsecret configuration
#
if libsecret
secret_dep = dependency('libsecret-1', required : false)
if not secret_dep.found()
error('You asked to link to libsecret, but the development files are not installed')
endif
conf.set('HAVE_LIBSECRET', 1,
description : 'Defined when libsecret can be used.')
balsa_deps += secret_dep
balsa_ab_deps += secret_dep
endif # libsecret
# WebDAV configuration
#
if webdav
webdav_dep = dependency('libsoup-3.0', required : false)
if not webdav_dep.found()
webdav_dep = dependency('libsoup-2.4')
endif
webdav_xml_dep = dependency('libxml-2.0')
conf.set('HAVE_WEBDAV', 1,
description : 'Defined when WebDAV (CardDAV) support is enabled.')
balsa_deps += [webdav_dep, webdav_xml_dep]
balsa_ab_deps += [webdav_dep, webdav_xml_dep]
endif # webdav
#####################################################################
# Headers.
#####################################################################
# Spell check detection.
#
if spell_checker == 'gspell'
spell_dep = dependency('gspell-1', version : '>= 1.6.0')
conf.set('HAVE_GSPELL', 1,
description : 'Defined when Gspell can be used.')
elif spell_checker == 'gtkspell'
spell_dep = dependency('gtkspell3-3.0', version : '>= 3.0.9')
conf.set('HAVE_GTKSPELL', 1,
description : 'Defined when GtkSpell can be used.')
elif spell_checker == 'internal'
spell_dep = dependency('enchant-2',
required : false)
if not spell_dep.found()
spell_dep = dependency('enchant',
version : '!= 1.6.1')
endif
endif
balsa_deps += spell_dep
#####################################################################
# Typedefs, structures and compiler characteristics.
#####################################################################
conf.set('HAVE_DECL_CTIME_R',
compiler.has_header_symbol('time.h', 'ctime_r') ? 1 : 0,
description : 'Define to 1 if you have the declaration of ‘ctime_r’, and to 0 if you don’t.')
if compiler.has_function('ctime_r')
conf.set('HAVE_CTIME_R', 1,
description : 'Define to 1 if you have the ‘ctime_r’ function.')
endif
#####################################################################
# Native Language Support
#####################################################################
if nls
if not compiler.has_header('libintl.h')
error('libintl.h not found')
endif
if compiler.has_header('locale.h')
conf.set('HAVE_LOCALE_H', 1,
description : 'Define to 1 if you have the <locale.h> header')
endif
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name(),
description : 'The `gettext` package name.')
conf.set('ENABLE_NLS', 1,
description : 'Define to 1 if Native Language Support is enabled.')
# _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
code = '''
#include <langinfo.h>
char func(void)
{
char c;
c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
return c;
}
'''
result = compiler.compiles(code, name : '_NL_MEASUREMENT_MEASUREMENT test')
if result
conf.set('HAVE__NL_MEASUREMENT_MEASUREMENT', 1,
description : 'Define if _NL_MEASUREMENT_MEASUREMENT is available')
endif
endif
# set more warnings.
#
if more_warnings
# meson sets -Wall, so we do not need these:
# '-Wsign-compare',
# '-Wchar-subscripts',
# '-Wuninitialized',
# '-Wreturn-type',
args = compiler.get_supported_arguments([
'-Wpointer-arith',
'-Wnested-externs',
'-Wmissing-prototypes',
'-Wdeclaration-after-statement',
])
add_global_arguments(args, language : 'c')
endif # more_warnings
# extra warnings for GIT.
#
if balsa_from_git
args = [
'-Werror',
'-Wdeprecated-declarations',
'-Wredundant-decls',
'-Wshadow',
'-Wformat',
'-Wformat-security',
'-Wignored-qualifiers',
'-Wenum-conversion',
'-DGDK_DISABLE_DEPRECATED',
'-DGMIME_DISABLE_DEPRECATED',
'-DGTK_DISABLE_DEPRECATED',
'-DNM_DISABLE_DEPRECATED',
'-DPANGO_DISABLE_DEPRECATED',
]
opt_level = get_option('optimization')
if opt_level == '2' or opt_level == '3'
message('Add FORTIFY_SOURCE macro')
args += [
'-U_FORTIFY_SOURCE',
'-D_FORTIFY_SOURCE=2',
]
endif # get_option('optimization') >= 2
add_global_arguments(compiler.get_supported_arguments(args), language : 'c')
endif # balsa_from_git
###########################################################################
# Remember our prefixes
###########################################################################
balsa_data_prefix = join_paths(get_option('prefix'), get_option('datadir'), 'balsa')
add_global_arguments('-DBALSA_DATA_PREFIX="' + balsa_data_prefix + '"', language : 'c')
###########################################################################
# Documentation and Testing requirements for libnetclient
###########################################################################
if libnetclient_docs
doxygen_program = find_program('doxygen', required : false)
if not doxygen_program.found()
error('*** Cannot build libnetclient API documentation, see libnetclient/README for fixing this issue ***')
endif
endif # libnetclient_docs
if libnetclient_test
have_sput = compiler.has_header('sput.h')
valgrind_program = find_program('valgrind', required : false)
lcov_program = find_program('lcov', required : false)
genhtml_program = find_program('genhtml', required : false)
screen_program = find_program('screen', required : false)
gnutls_serv_program = find_program('gnutls-serv', required : false)
sudo_program = find_program('sudo', required : false)
inetsim_program = find_program('inetsim', required : false)
if not (have_sput
and valgrind_program.found()
and lcov_program.found()
and genhtml_program.found()
and screen_program.found()
and gnutls_serv_program.found()
and sudo_program.found()
and inetsim_program.found())
error('*** Cannot run libnetclient tests, see libnetclient/README for fixing this issue ***')
endif
endif # libnetclient_test
#####################################################################
# Output
#####################################################################
file = 'balsa.1'
configure_file(input : file + '.in',
output : file,
configuration : conf,
install : true,
install_dir : join_paths(get_option('datadir'),
'man/man1'))
file = 'balsa.spec'
configure_file(input : file + '.in', output : file, configuration : conf)
# config.h
configure_file(output : 'config.h', configuration : conf)
add_project_arguments('-DHAVE_CONFIG_H=1', language : 'c')
#####################################################################
# gettext
#####################################################################
i18n = import('i18n')
gettext_package = 'balsa'
add_project_arguments('-DGETTEXT_PACKAGE="' + gettext_package + '"', language : 'c')
subdir('po')
desktop_files = ['org.desktop.Balsa.desktop', 'balsa-mailto-handler.desktop']
foreach file : desktop_files
file_in = configure_file(input : file + '.meson',
output : file + '.in',
configuration : conf)
i18n.merge_file(
input : file_in,
output : file,
type : 'desktop',
po_dir : 'po',
install : true,
install_dir : join_paths(get_option('datadir'), 'applications')
)
endforeach
i18n.merge_file(
input : 'balsa.appdata.xml.in',
output : 'balsa.appdata.xml',
po_dir : 'po',
install : true,
install_dir : join_paths(get_option('datadir'), 'metainfo')
)
##########################################################################
# Summary
##########################################################################
summary = [
'',
'============= Final configuration =============',
' Installing into prefix: @0@'.format(get_option('prefix')),
'Enable compile warnings: @0@'.format(more_warnings),
'Native Language Support: @0@'.format(nls),
' HTML widget: @0@'.format(html_widget),
' Use GNOME: @0@'.format(gnome_desktop),
' Use Canberra: @0@'.format(canberra),
' Use Autocrypt: @0@'.format(autocrypt),
' Use LDAP: @0@'.format(ldap),
' Use GSS: @0@'.format(gss),
' GPE address book: @0@'.format(gpe),
' Spell checker: @0@'.format(spell_checker),
' Use GtkSourceView: @0@'.format(gtksourceview),
' Use Compface: @0@'.format(compface),
' Use libsecret: @0@'.format(libsecret),
' Use gcr: @0@'.format(gcr),
'===============================================',
''
]
message('\n'.join(summary))
if balsa_from_git
message('''
============================== NOTICE ================================
You are using Balsa from GIT source.
The program is likely to be unstable, contain incomplete features,
or just plain not work. Use it at your own risk. You have been warned.
======================================================================
''')
endif
top_include = include_directories('.')
libnetclient_include = include_directories('libnetclient')
libbalsa_include = include_directories('libbalsa')
libinit_balsa_include = include_directories('libinit_balsa')
src_include = include_directories('src')
gnome = import('gnome')
balsa_resources = gnome.compile_resources('balsa-resources',
'ui/balsa.gresource.xml',
source_dir : 'ui',
c_name : 'balsa')
balsa_ab_resources = gnome.compile_resources('balsa-ab-resources',
'ui/balsa-ab.gresource.xml',
source_dir : 'ui',
c_name : 'balsa_ab')
subdir('sounds')
subdir('images')
subdir('libnetclient')
subdir('libbalsa')
subdir('libinit_balsa')
subdir('src')
if help_files
subdir('doc')
endif
if gtksourceview
gtksourceview_files = ['balsa-mail.lang', 'balsa-mail-style.xml']
gtksourceview_dir = join_paths(get_option('datadir'), 'balsa', 'gtksourceview-3.0')
install_data(gtksourceview_files, install_dir : gtksourceview_dir)
endif
# desktop icon:
install_data('gnome-balsa2.png',
install_dir : join_paths(get_option('datadir'), 'pixmaps'))
####################### Autotools stuff below this line #######################
#
#dist-hook: balsa.spec
# cp balsa.spec $(distdir)
#
#@MAINT@RPM: balsa.spec
#@MAINT@ rm -f *.rpm
#@MAINT@ $(MAKE) distdir="$(PACKAGE)-$(PACKAGE_VERSION)" dist
#@MAINT@ cp $(top_srcdir)/rpm-po.patch $(top_builddir)/rpm-po.patch
#@MAINT@ rpm -ta "./$(PACKAGE)-$(PACKAGE_VERSION).tar.gz"
#@MAINT@ rm $(top_builddir)/rpm-po.patch
#@MAINT@ -test -f "/usr/src/redhat/SRPMS/$(PACKAGE)-$(PACKAGE_VERSION)-@BALSA_RELEASE@.src.rpm" \
#@MAINT@ && cp -f "/usr/src/redhat/SRPMS/$(PACKAGE)-$(PACKAGE_VERSION)-@BALSA_RELEASE@.src.rpm" .
#@MAINT@ -for ping in /usr/src/redhat/RPMS/* ; do \
#@MAINT@ if test -d $$ping ; then \
#@MAINT@ arch=`echo $$ping |sed -e 's,/.*/\([^/][^/]*\),\1,'` ; \
#@MAINT@ f="$$ping/$(PACKAGE)-$(PACKAGE_VERSION)-@BALSA_RELEASE@.$$arch.rpm" ; \
#@MAINT@ test -f $$f && cp -f $$f . ; \
#@MAINT@ fi ; \
#@MAINT@ done
#
#@MAINT@snapshot:
#@MAINT@ $(MAKE) distdir=$(PACKAGE)-`date +"%y%m%d"` dist
#
#@MAINT@balsa-dcheck:
#@MAINT@ $(MAKE) BALSA_DISTCHECK_HACK=yes distcheck