--- deliantra/server/lib/Makefile.am 2006/12/15 20:07:02 1.16 +++ deliantra/server/lib/Makefile.am 2007/02/02 01:15:40 1.22 @@ -21,7 +21,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # -# The authors can be reached via e-mail to crossfire.de +# The authors can be reached via e-mail to crossfire@schmorp.de pkgstatedir = @pkgstatedir@ pkgconfdir = @pkgconfdir@ @@ -31,36 +31,9 @@ animations archetypes bmaps bmaps.paths crossfire.0 \ faces attackmess image_info smooth materials cf.pm jeweler.yaml -CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules +CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules config VAR_FILES = highscore banish_file bookarch temp.maps clockdata -EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures.bld - -wizhelpdir=$(pkgdatadir)/wizhelp -dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \ - wizhelp/banish \ - wizhelp/create wizhelp/debug \ - wizhelp/dump wizhelp/dumpallarchtypes \ - wizhelp/dumpallmaps wizhelp/dumpallobjects \ - wizhelp/dumpbelow wizhelp/dumpfriendlyobjects \ - wizhelp/forget_spell wizhelp/free \ - wizhelp/goto wizhelp/hide wizhelp/insert_into \ - wizhelp/invisible \ - wizhelp/kick wizhelp/learn_special_prayer \ - wizhelp/learn_spell wizhelp/mon_aggr \ - wizhelp/nodm \ - wizhelp/nowiz wizhelp/overlay_save \ - wizhelp/patch wizhelp/plugin \ - wizhelp/pluglist wizhelp/plugout \ - wizhelp/possess \ - wizhelp/printlos wizhelp/remove \ - wizhelp/reset wizhelp/set_god \ - wizhelp/shutdown wizhelp/server_speed \ - wizhelp/spellreset wizhelp/ssdumptable wizhelp/stats \ - wizhelp/style_info wizhelp/summon \ - wizhelp/teleport wizhelp/time \ - wizhelp/toggle_shout \ - wizhelp/who wizhelp/wizcast wizhelp/wizhelp \ - wizhelp/wizpass +EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures.bld world.png admdir=$(pkgdatadir)/adm dist_adm_SCRIPTS = \ @@ -144,7 +117,7 @@ if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \ continue ;\ fi ; \ - if test `wc -c $(DESTDIR)$(pkgstatedir)/$$i|$(AWK) '{ print $$1 }'` -eq "0" ; then \ + if ! [ -s "$(DESTDIR)$(pkgstatedir)/$$i" ] ; then \ rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \ fi ; \ done