ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/Makefile.am
(Generate patch)

Comparing deliantra/server/lib/Makefile.am (file contents):
Revision 1.4 by pippijn, Sun Apr 23 04:58:13 2006 UTC vs.
Revision 1.20 by root, Sat Jan 20 22:09:52 2007 UTC

19# 19#
20# You should have received a copy of the GNU General Public License 20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software 21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 22# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23# 23#
24# The authors can be reached via e-mail to crossfire-devel@real-time.com 24# The authors can be reached via e-mail to crossfire@schmorp.de
25 25
26pkgstatedir = @pkgstatedir@ 26pkgstatedir = @pkgstatedir@
27pkgconfdir = @pkgconfdir@ 27pkgconfdir = @pkgconfdir@
28 28
29dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl 29dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl
30dist_pkgdata_DATA = artifacts def_help formulae messages races smooth\ 30dist_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 world.pst
33 34
34CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules 35CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules config
35VAR_FILES = highscore banish_file bookarch temp.maps clockdata 36VAR_FILES = highscore banish_file bookarch temp.maps clockdata
36EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures treasures.bld 37EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures.bld world.png
37
38helpdir=$(pkgdatadir)/help
39dist_help_DATA = help/apply help/applymode \
40 help/bind help/bowmode help/brace \
41 help/cast help/drop help/dropall \
42 help/follow help/golem help/invite \
43 help/invoke 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 38
58wizhelpdir=$(pkgdatadir)/wizhelp 39wizhelpdir=$(pkgdatadir)/wizhelp
59dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \ 40dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \
60 wizhelp/banish \ 41 wizhelp/banish \
61 wizhelp/create wizhelp/debug \ 42 wizhelp/create wizhelp/debug \
85admdir=$(pkgdatadir)/adm 66admdir=$(pkgdatadir)/adm
86dist_adm_SCRIPTS = \ 67dist_adm_SCRIPTS = \
87 adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl \ 68 adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl \
88 adm/collect_images.pl 69 adm/collect_images.pl
89 70
90MAINTAINERCLEANFILES = archetypes bmaps faces .collect-stamp 71MAINTAINERCLEANFILES = animations archetypes bmaps bmaps.paths crossfire.0 faces treasures.bld smooth .collect-stamp Makefile.in
91 72
92PERL = @PERL@ 73PERL = @PERL@
93 74
94crossfire.0: bmaps.paths 75crossfire.0: bmaps.paths
95 $(PERL) $(srcdir)/adm/collect_images.pl -png 76 $(PERL) $(srcdir)/adm/collect_images.pl -png
114 make collect 95 make collect
115 96
116bmaps.paths bmaps: .collect-stamp 97bmaps.paths bmaps: .collect-stamp
117 make collect 98 make collect
118 99
100smooth: .collect-stamp
101 make collect
102
103world.pst: world.png compile_worldmap
104 $(PERL) compile_worldmap
105
119install-data-local: archetypes crossfire.0 faces animations collect.pl util.pl 106install-data-local: archetypes crossfire.0 faces animations collect.pl util.pl jeweler.yaml
120 @$(NORMAL_INSTALL) 107 @$(NORMAL_INSTALL)
121 $(mkinstalldirs) $(DESTDIR)$(pkgconfdir) 108 $(mkinstalldirs) $(DESTDIR)$(pkgconfdir)
122 for i in $(CONF_FILES); do \ 109 for i in $(CONF_FILES); do \
123 if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \ 110 if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \
124 echo "Installing $$i"; \ 111 echo "Installing $$i"; \
159 done 146 done
160 -for i in $(VAR_FILES) ; do \ 147 -for i in $(VAR_FILES) ; do \
161 if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \ 148 if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \
162 continue ;\ 149 continue ;\
163 fi ; \ 150 fi ; \
164 if test `wc -c $(DESTDIR)$(pkgstatedir)/$$i|$(AWK) '{ print $$1 }'` -eq "0" ; then \ 151 if ! [ -s "$(DESTDIR)$(pkgstatedir)/$$i" ] ; then \
165 rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \ 152 rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \
166 fi ; \ 153 fi ; \
167 done 154 done
168 155
169 156

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines