Makefile.am 3.07 KB
Newer Older
1
## -*- coding: utf-8 -*-
2
## Copyright (C) 2012, 2013, 2014, 2015, 2016 Laboratoire de Recherche et
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
3
## Développement de l'Epita (LRDE).
4
5
6
7
8
##
## This file is part of Spot, a model checking library.
##
## Spot is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
9
## the Free Software Foundation; either version 3 of the License, or
10
11
12
13
14
15
16
17
## (at your option) any later version.
##
## Spot is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
## or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
## License for more details.
##
## You should have received a copy of the GNU General Public License
18
## along with this program.  If not, see <http://www.gnu.org/licenses/>.
19

20
common_dep = $(top_srcdir)/configure.ac
21
22
x_to_1 = $(top_builddir)/tools/x-to-1
convman = ARGP_HELP_FMT=header-col=0 $(SHELL) "$(x_to_1)" \
23
          "$(PERL)" "$(top_srcdir)/tools/help2man -N -L 'en_US.UTF-8'"
24
25
convman7 = ARGP_HELP_FMT=header-col=0 $(SHELL) "$(x_to_1)" \
          "$(PERL)" "$(top_srcdir)/tools/help2man -s7 -N -L 'en_US.UTF-8'"
26

27
dist_man1_MANS = \
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
28
  autfilt.1 \
29
  dstar2tgba.1 \
30
31
32
  genltl.1 \
  ltl2tgba.1 \
  ltl2tgta.1 \
33
  ltlcross.1 \
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
34
  ltldo.1 \
35
  ltlfilt.1 \
36
  ltlgrind.1 \
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
37
  randaut.1 \
38
39
  randltl.1
dist_man7_MANS = \
40
  spot.7 \
41
  spot-x.7
42

43
44
MAINTAINERCLEANFILES = $(dist_man1_MANS) $(dist_man7_MANS)
EXTRA_DIST = $(dist_man1_MANS:.1=.x) $(dist_man7_MANS:.7=.x)
45

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
46
47
48
autfilt.1: $(common_dep) $(srcdir)/autfilt.x $(srcdir)/../autfilt.cc
	$(convman) ../autfilt$(EXEEXT) $(srcdir)/autfilt.x $@

49
50
51
dstar2tgba.1: $(common_dep) $(srcdir)/dstar2tgba.x $(srcdir)/../dstar2tgba.cc
	$(convman) ../dstar2tgba$(EXEEXT) $(srcdir)/dstar2tgba.x $@

52
53
54
ltl2tgba.1: $(common_dep) $(srcdir)/ltl2tgba.x $(srcdir)/../ltl2tgba.cc
	$(convman) ../ltl2tgba$(EXEEXT) $(srcdir)/ltl2tgba.x $@

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
55
56
57
ltl2tgta.1: $(common_dep) $(srcdir)/ltl2tgta.x $(srcdir)/../ltl2tgta.cc
	$(convman) ../ltl2tgta$(EXEEXT) $(srcdir)/ltl2tgta.x $@

58
59
ltlcross.1: $(common_dep) $(srcdir)/ltlcross.x $(srcdir)/../ltlcross.cc
	$(convman) ../ltlcross$(EXEEXT) $(srcdir)/ltlcross.x $@
60

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
61
62
63
ltldo.1: $(common_dep) $(srcdir)/ltlcross.x $(srcdir)/../ltldo.cc
	$(convman) ../ltldo$(EXEEXT) $(srcdir)/ltldo.x $@

64
65
66
67
68
69
ltlfilt.1: $(common_dep) $(srcdir)/ltlfilt.x $(srcdir)/../ltlfilt.cc
	$(convman) ../ltlfilt$(EXEEXT) $(srcdir)/ltlfilt.x $@

genltl.1: $(common_dep) $(srcdir)/genltl.x $(srcdir)/../genltl.cc
	$(convman) ../genltl$(EXEEXT) $(srcdir)/genltl.x $@

70
71
randltl.1: $(common_dep) $(srcdir)/randltl.x $(srcdir)/../randltl.cc
	$(convman) ../randltl$(EXEEXT) $(srcdir)/randltl.x $@
72

Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
73
74
75
randaut.1: $(common_dep) $(srcdir)/randaut.x $(srcdir)/../randaut.cc
	$(convman) ../randaut$(EXEEXT) $(srcdir)/randaut.x $@

76
spot-x.7: $(common_dep) $(srcdir)/spot-x.x $(srcdir)/../spot-x.cc
77
	$(convman7) ../spot-x$(EXEEXT) $(srcdir)/spot-x.x $@
78

79
80
81
spot.7: $(common_dep) $(srcdir)/spot.x $(srcdir)/../spot.cc
	$(convman7) ../spot$(EXEEXT) $(srcdir)/spot.x $@

82
83
ltlgrind.1: $(common_dep) $(srcdir)/ltlgrind.x $(srcdir)/../ltlgrind.cc
	$(convman) ../ltlgrind$(EXEEXT) $(srcdir)/ltlgrind.x $@