… | |
… | |
25 | |
25 | |
26 | pkgstatedir = @pkgstatedir@ |
26 | pkgstatedir = @pkgstatedir@ |
27 | pkgconfdir = @pkgconfdir@ |
27 | pkgconfdir = @pkgconfdir@ |
28 | |
28 | |
29 | dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl |
29 | dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl |
30 | dist_pkgdata_DATA = artifacts def_help formulae messages races smooth\ |
30 | dist_pkgdata_DATA = artifacts def_help formulae messages races \ |
31 | animations archetypes bmaps bmaps.paths crossfire.0 \ |
31 | animations archetypes bmaps bmaps.paths crossfire.0 \ |
32 | crossfire.1 faces attackmess image_info materials regions cf.pm |
32 | faces attackmess image_info smooth materials cf.pm jeweler.yaml |
33 | |
33 | |
34 | CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules |
34 | CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules |
35 | VAR_FILES = highscore banish_file bookarch temp.maps clockdata |
35 | VAR_FILES = highscore banish_file bookarch temp.maps clockdata |
36 | EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures treasures.bld |
36 | EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures.bld |
37 | |
|
|
38 | helpdir=$(pkgdatadir)/help |
|
|
39 | dist_help_DATA = help/apply help/applymode \ |
|
|
40 | help/bind help/bowmode help/brace \ |
|
|
41 | help/cast help/drop help/dropall \ |
|
|
42 | help/golem help/invoke \ |
|
|
43 | help/keys help/killpets \ |
|
|
44 | help/listen \ |
|
|
45 | help/mark help/melee help/mode \ |
|
|
46 | help/mouse help/move \ |
|
|
47 | help/output \ |
|
|
48 | help/output-count help/output-sync \ |
|
|
49 | help/party help/peaceful \ |
|
|
50 | help/petmode help/pickup help/quests \ |
|
|
51 | help/quit help/range help/rename \ |
|
|
52 | help/save help/shout help/showpets \ |
|
|
53 | help/sort_inventory help/spells \ |
|
|
54 | help/statistics help/take help/traps \ |
|
|
55 | help/unbind help/usekeys \ |
|
|
56 | help/whereabouts |
|
|
57 | |
37 | |
58 | wizhelpdir=$(pkgdatadir)/wizhelp |
38 | wizhelpdir=$(pkgdatadir)/wizhelp |
59 | dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \ |
39 | dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \ |
60 | wizhelp/banish \ |
40 | wizhelp/banish \ |
61 | wizhelp/create wizhelp/debug \ |
41 | wizhelp/create wizhelp/debug \ |
… | |
… | |
85 | admdir=$(pkgdatadir)/adm |
65 | admdir=$(pkgdatadir)/adm |
86 | dist_adm_SCRIPTS = \ |
66 | dist_adm_SCRIPTS = \ |
87 | adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl \ |
67 | adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl \ |
88 | adm/collect_images.pl |
68 | adm/collect_images.pl |
89 | |
69 | |
90 | MAINTAINERCLEANFILES = archetypes bmaps faces .collect-stamp |
70 | MAINTAINERCLEANFILES = animations archetypes bmaps bmaps.paths crossfire.0 faces treasures.bld smooth .collect-stamp Makefile.in |
91 | |
71 | |
92 | PERL = @PERL@ |
72 | PERL = @PERL@ |
93 | |
73 | |
94 | crossfire.0: bmaps.paths |
74 | crossfire.0: bmaps.paths |
95 | $(PERL) $(srcdir)/adm/collect_images.pl -png |
75 | $(PERL) $(srcdir)/adm/collect_images.pl -png |
… | |
… | |
114 | make collect |
94 | make collect |
115 | |
95 | |
116 | bmaps.paths bmaps: .collect-stamp |
96 | bmaps.paths bmaps: .collect-stamp |
117 | make collect |
97 | make collect |
118 | |
98 | |
|
|
99 | smooth: .collect-stamp |
|
|
100 | make collect |
|
|
101 | |
119 | install-data-local: archetypes crossfire.0 faces animations collect.pl util.pl |
102 | install-data-local: archetypes crossfire.0 faces animations collect.pl util.pl jeweler.yaml |
120 | @$(NORMAL_INSTALL) |
103 | @$(NORMAL_INSTALL) |
121 | $(mkinstalldirs) $(DESTDIR)$(pkgconfdir) |
104 | $(mkinstalldirs) $(DESTDIR)$(pkgconfdir) |
122 | for i in $(CONF_FILES); do \ |
105 | for i in $(CONF_FILES); do \ |
123 | if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \ |
106 | if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \ |
124 | echo "Installing $$i"; \ |
107 | echo "Installing $$i"; \ |