[rfk-dev] [ats at offog.org: rfk nki installation patch]

Peter A. H. Peterson pedro at tastytronic.net
Fri Sep 6 06:41:58 PDT 2013


----- Forwarded message from Adam Sampson <ats at offog.org> -----

Date: Sat, 31 Aug 2013 13:23:56 +0100
From: Adam Sampson <ats at offog.org>
To: rfk at robotfindskitten.org
Subject: rfk nki installation patch

Dear RFK consortium,

In POSIX robotfindskitten-2.7182818.701.tar.gz, the .nki files aren't
installed by default, and if you try to use the Makefile in the nki
directory by hand then it's broken anyway. The attached patch fixes both
of these problems,

Thanks,

-- 
Adam Sampson <ats at offog.org>                         <http://offog.org/>

Fix data installation: add nki to SUBDIRS, and fix broken tabs in a rule.

diff -x config.log -x config.status -ru tmp/robotfindskitten-2.7182818.701/Makefile.am work/robotfindskitten-2.7182818.701/Makefile.am
--- tmp/robotfindskitten-2.7182818.701/Makefile.am	2012-12-21 21:02:27.000000000 +0000
+++ work/robotfindskitten-2.7182818.701/Makefile.am	2013-08-31 13:11:17.790000000 +0100
@@ -1,5 +1,5 @@
-SUBDIRS=src doc 
-EXTRA_DIST=BUGS RELEASE nki
+SUBDIRS=src doc nki
+EXTRA_DIST=BUGS RELEASE
 
 # Test the code in place
 test:
diff -x config.log -x config.status -ru tmp/robotfindskitten-2.7182818.701/nki/Makefile.am work/robotfindskitten-2.7182818.701/nki/Makefile.am
--- tmp/robotfindskitten-2.7182818.701/nki/Makefile.am	2012-11-21 19:23:36.000000000 +0000
+++ work/robotfindskitten-2.7182818.701/nki/Makefile.am	2013-08-31 13:11:08.305000000 +0100
@@ -2,6 +2,6 @@
 nki_DATA = vanilla.nki
 
 uninstall:
-       rm -rf $(nkidir)
-       if find "$(datadir)/games" -maxdepth 0 -empty | read ; then rmdir $(datadir)/games ; fi
+	rm -rf $(nkidir)
+	if find "$(datadir)/games" -maxdepth 0 -empty | read ; then rmdir $(datadir)/games ; fi
 


----- End forwarded message -----

-- 
Peter A. H. Peterson
Graduate Student Researcher
Laboratory for Advanced Systems Research
University of California, Los Angeles


More information about the rfk-dev mailing list