GNOME Bugzilla – Bug 667339
Source code relayout broke installation of score files
Last modified: 2012-01-06 11:17:57 UTC
The score files for gnobots2 are created in gnobots2/Makefile.am: install-data-local: -$(mkinstalldirs) $(DESTDIR)$(scoredir) -for cfn in $(config_DATA); do \ cfn2=`echo $$cfn | sed -e 's/\.cfg//'`; \ fname1=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2.scores; \ fname2=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-safe.scores; \ fname3=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-super-safe.scores; \ touch $$fname1; chmod 664 $$fname1; chown $(scores_user):$(scores_group) $$fname1; \ touch $$fname2; chmod 664 $$fname2; chown $(scores_user):$(scores_group) $$fname2; \ touch $$fname3; chmod 664 $$fname3; chown $(scores_user):$(scores_group) $$fname3; \ done However, the config_DATA variable is now defined in gnobots2/data/Makefile.am, so this doesn't do anything anymore.
Created attachment 204669 [details] [review] gnobots2: Fix creation of .scores files during build
Review of attachment 204669 [details] [review]: Thanks Vincent!