--- deliantra/server/lib/Makefile.am 2007/03/06 19:02:35 1.24 +++ deliantra/server/lib/Makefile.am 2007/05/27 17:45:51 1.29 @@ -21,10 +21,8 @@ pkgstatedir = @pkgstatedir@ pkgconfdir = @pkgconfdir@ -dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl -nobase_dist_pkgdata_DATA = artifacts def_help formulae messages races \ - animations archetypes bmaps bmaps.paths crossfire.0 \ - faces attackmess image_info smooth materials cf.pm jeweler.yaml +nobase_dist_pkgdata_DATA = artifacts def_help formulae races \ + attackmess materials cf.pm jeweler.yaml pmdir = $(pkgdatadir)/cf dist_pm_DATA = cf/pod.pm @@ -33,43 +31,17 @@ dist_adm_DATA = adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl adm/collect_images.pl CONF_FILES = settings motd dm_file forbid exp_table news rules config -VAR_FILES = highscore bookarch temp.maps clockdata -EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures.bld +VAR_FILES = highscore bookarch temp.maps +EXTRA_DIST = README $(CONF_FILES) -MAINTAINERCLEANFILES = animations archetypes bmaps bmaps.paths crossfire.0 faces treasures.bld smooth .collect-stamp Makefile.in +MAINTAINERCLEANFILES = Makefile.in PERL = @PERL@ -crossfire.0: bmaps.paths - $(PERL) $(srcdir)/adm/collect_images.pl -png - -.collect-stamp: - touch .collect-stamp - -collect: - $(PERL) -I$(srcdir) collect.pl $(srcdir)/arch - $(PERL) $(srcdir)/adm/collect_images.pl -png - -archonly: - $(PERL) -I$(srcdir) collect.pl $(srcdir)/arch ARCHONLY - -archetypes: .collect-stamp - make collect - -faces: .collect-stamp - make collect - -animations: .collect-stamp - make collect - -bmaps.paths bmaps: .collect-stamp - make collect - -smooth: .collect-stamp - make collect - -install-data-local: archetypes crossfire.0 faces animations collect.pl util.pl jeweler.yaml +install-data-local: jeweler.yaml @$(NORMAL_INSTALL) + $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/maps + $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgconfdir) for i in $(CONF_FILES); do \ if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \ echo "Installing $$i"; \ @@ -86,7 +58,6 @@ $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgstatedir)/$$i; \ fi; \ done - $(INSTALL_DATA) $(srcdir)/treasures.bld $(DESTDIR)$(pkgdatadir)/treasures # Uninstall unchanged config/var files so make distcheck is happy # but leave changed file, so no configuration/game state is lost @@ -109,13 +80,3 @@ done -# This block makes the archive of the arch directory. -archive:: - $(AMTAR) -cvh --exclude=dev --exclude=CVS -f $(PACKAGE)-$(VERSION)-arch.tar arch - $(GZIP) -cv9 $(PACKAGE)-$(VERSION)-arch.tar > ../$(PACKAGE)-$(VERSION)-arch.tar.gz - $(BZIP) -cv --repetitive-best $(PACKAGE)-$(VERSION)-arch.tar > ../$(PACKAGE)-$(VERSION)-arch.tar.bz2 - $(RM) $(PACKAGE)-$(VERSION)-arch.tar - -libArch: - tar cvf A`perl puredate.pl`.tar arch treasures - gzip A`perl puredate.pl`.tar