1 | # Copyright (C) 2007 Marc Alexander Lehmann |
|
|
2 | # Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
|
|
3 | # Copyright (C) 1992 Frank Tore Johansen |
|
|
4 | # |
1 | # |
|
|
2 | # This file is part of Crossfire TRT, the Roguelike Realtime MORPG. |
|
|
3 | # |
|
|
4 | # Copyright (©) 2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team |
|
|
5 | # Copyright (©) 2001,2007 Mark Wedel & Crossfire Development Team |
|
|
6 | # Copyright (©) 1992,2007 Frank Tore Johansen |
|
|
7 | # |
5 | # This program is free software; you can redistribute it and/or modify |
8 | # Crossfire TRT is free software: you can redistribute it and/or modify |
6 | # it under the terms of the GNU General Public License as published by |
9 | # it under the terms of the GNU General Public License as published by |
7 | # the Free Software Foundation; either version 2 of the License, or |
10 | # the Free Software Foundation, either version 3 of the License, or |
8 | # (at your option) any later version. |
11 | # (at your option) any later version. |
|
|
12 | # |
|
|
13 | # This program is distributed in the hope that it will be useful, |
|
|
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
16 | # GNU General Public License for more details. |
|
|
17 | # |
|
|
18 | # You should have received a copy of the GNU General Public License |
|
|
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
20 | # |
|
|
21 | # The authors can be reached via e-mail to <crossfire@schmorp.de> |
9 | # |
22 | # |
10 | # This program is distributed in the hope that it will be useful, |
|
|
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
13 | # GNU General Public License for more details. |
|
|
14 | # |
|
|
15 | # You should have received a copy of the GNU General Public License |
|
|
16 | # along with this program; if not, write to the Free Software |
|
|
17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
18 | # |
|
|
19 | # The authors can be reached via e-mail to crossfire@schmorp.de |
|
|
20 | |
23 | |
21 | pkgstatedir = @pkgstatedir@ |
24 | pkgstatedir = @pkgstatedir@ |
22 | pkgconfdir = @pkgconfdir@ |
25 | pkgconfdir = @pkgconfdir@ |
23 | |
26 | |
24 | dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl |
|
|
25 | nobase_dist_pkgdata_DATA = artifacts def_help formulae messages races \ |
27 | nobase_dist_pkgdata_DATA = artifacts def_help formulae races \ |
26 | attackmess materials cf.pm jeweler.yaml |
28 | attackmess materials cf.pm jeweler.yaml |
27 | |
29 | |
28 | pmdir = $(pkgdatadir)/cf |
30 | pmdir = $(pkgdatadir)/cf |
29 | dist_pm_DATA = cf/pod.pm |
31 | dist_pm_DATA = cf/pod.pm |
30 | |
32 | |
31 | admdir = $(pkgdatadir)/adm |
33 | admdir = $(pkgdatadir)/adm |
32 | dist_adm_DATA = adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl adm/collect_images.pl |
34 | dist_adm_DATA = adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl adm/collect_images.pl |
33 | |
35 | |
34 | CONF_FILES = settings motd dm_file forbid exp_table news rules config |
36 | CONF_FILES = settings motd dm_file forbid exp_table news rules config |
35 | VAR_FILES = highscore bookarch temp.maps clockdata |
37 | VAR_FILES = highscore bookarch temp.maps |
36 | EXTRA_DIST = README .collect-stamp $(CONF_FILES) |
38 | EXTRA_DIST = README $(CONF_FILES) |
37 | |
39 | |
38 | MAINTAINERCLEANFILES = .collect-stamp Makefile.in |
40 | MAINTAINERCLEANFILES = Makefile.in |
39 | |
41 | |
40 | PERL = @PERL@ |
42 | PERL = @PERL@ |
41 | |
43 | |
42 | install-data-local: jeweler.yaml |
44 | install-data-local: jeweler.yaml |
43 | @$(NORMAL_INSTALL) |
45 | @$(NORMAL_INSTALL) |
|
|
46 | $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/maps |
|
|
47 | $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgconfdir) |
44 | for i in $(CONF_FILES); do \ |
48 | for i in $(CONF_FILES); do \ |
45 | if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \ |
49 | if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \ |
46 | echo "Installing $$i"; \ |
50 | echo "Installing $$i"; \ |
47 | $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkgconfdir); \ |
51 | $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkgconfdir); \ |
48 | fi \ |
52 | fi \ |