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.15 by pippijn, Fri Sep 8 02:18:39 2006 UTC vs.
Revision 1.23 by root, Mon Mar 5 19:54:49 2007 UTC

1# 1# Copyright (C) 2007 Marc Alexander Lehmann
2# Makefile for crossfire 0.95.0 and beyond
3#
4# This file will eventually be replaced by a configure script. But for
5# now, this simple makefile should do the job.
6#
7# Copyright (C) 2001 Mark Wedel & Crossfire Development Team 2# Copyright (C) 2001 Mark Wedel & Crossfire Development Team
8# Copyright (C) 1992 Frank Tore Johansen 3# Copyright (C) 1992 Frank Tore Johansen
9# 4#
10# This program is free software; you can redistribute it and/or modify 5# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License as published by 6# it under the terms of the GNU General Public License as published by
19# 14#
20# You should have received a copy of the GNU General Public License 15# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software 16# along with this program; if not, write to the Free Software
22# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23# 18#
24# The authors can be reached via e-mail to crossfire-devel@real-time.com 19# The authors can be reached via e-mail to crossfire@schmorp.de
25 20
26pkgstatedir = @pkgstatedir@ 21pkgstatedir = @pkgstatedir@
27pkgconfdir = @pkgconfdir@ 22pkgconfdir = @pkgconfdir@
28 23
29dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl 24dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl
30dist_pkgdata_DATA = artifacts def_help formulae messages races \ 25dist_pkgdata_DATA = artifacts def_help formulae messages races \
31 animations archetypes bmaps bmaps.paths crossfire.0 \ 26 animations archetypes bmaps bmaps.paths crossfire.0 \
32 faces attackmess image_info smooth materials cf.pm jeweler.yaml 27 faces attackmess image_info smooth materials cf.pm jeweler.yaml
33 28
34CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules 29CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules config
35VAR_FILES = highscore banish_file bookarch temp.maps clockdata 30VAR_FILES = highscore banish_file bookarch temp.maps clockdata
36EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures.bld 31EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures.bld
37
38wizhelpdir=$(pkgdatadir)/wizhelp
39dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \
40 wizhelp/banish \
41 wizhelp/create wizhelp/debug \
42 wizhelp/dump wizhelp/dumpallarchtypes \
43 wizhelp/dumpallmaps wizhelp/dumpallobjects \
44 wizhelp/dumpbelow wizhelp/dumpfriendlyobjects \
45 wizhelp/forget_spell wizhelp/free \
46 wizhelp/goto wizhelp/hide wizhelp/insert_into \
47 wizhelp/invisible \
48 wizhelp/kick wizhelp/learn_special_prayer \
49 wizhelp/learn_spell wizhelp/mon_aggr \
50 wizhelp/nodm \
51 wizhelp/nowiz wizhelp/overlay_save \
52 wizhelp/patch wizhelp/plugin \
53 wizhelp/pluglist wizhelp/plugout \
54 wizhelp/possess \
55 wizhelp/printlos wizhelp/remove \
56 wizhelp/reset wizhelp/set_god \
57 wizhelp/shutdown wizhelp/server_speed \
58 wizhelp/spellreset wizhelp/ssdumptable wizhelp/stats \
59 wizhelp/style_info wizhelp/summon \
60 wizhelp/teleport wizhelp/time \
61 wizhelp/toggle_shout \
62 wizhelp/who wizhelp/wizcast wizhelp/wizhelp \
63 wizhelp/wizpass
64 32
65admdir=$(pkgdatadir)/adm 33admdir=$(pkgdatadir)/adm
66dist_adm_SCRIPTS = \ 34dist_adm_SCRIPTS = \
67 adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl \ 35 adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl \
68 adm/collect_images.pl 36 adm/collect_images.pl
142 done 110 done
143 -for i in $(VAR_FILES) ; do \ 111 -for i in $(VAR_FILES) ; do \
144 if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \ 112 if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \
145 continue ;\ 113 continue ;\
146 fi ; \ 114 fi ; \
147 if test `wc -c $(DESTDIR)$(pkgstatedir)/$$i|$(AWK) '{ print $$1 }'` -eq "0" ; then \ 115 if ! [ -s "$(DESTDIR)$(pkgstatedir)/$$i" ] ; then \
148 rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \ 116 rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \
149 fi ; \ 117 fi ; \
150 done 118 done
151 119
152 120

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines