… | |
… | |
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 | |
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 \ |
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 | faces attackmess image_info smooth materials cf.pm jeweler.yaml |
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 config |
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.bld |
36 | EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures.bld |
37 | |
37 | |
38 | wizhelpdir=$(pkgdatadir)/wizhelp |
38 | wizhelpdir=$(pkgdatadir)/wizhelp |
39 | dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \ |
39 | dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \ |
… | |
… | |
142 | done |
142 | done |
143 | -for i in $(VAR_FILES) ; do \ |
143 | -for i in $(VAR_FILES) ; do \ |
144 | if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \ |
144 | if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \ |
145 | continue ;\ |
145 | continue ;\ |
146 | fi ; \ |
146 | fi ; \ |
147 | if test `wc -c $(DESTDIR)$(pkgstatedir)/$$i|$(AWK) '{ print $$1 }'` -eq "0" ; then \ |
147 | if ! [ -s "$(DESTDIR)$(pkgstatedir)/$$i" ] ; then \ |
148 | rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \ |
148 | rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \ |
149 | fi ; \ |
149 | fi ; \ |
150 | done |
150 | done |
151 | |
151 | |
152 | |
152 | |