Changeset: e08ab381fb6a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e08ab381fb6a
Modified Files:
        buildtools/autogen/autogen/am.py
Branch: default
Log Message:

(partly) fixing `make uninstall` for ruby:

- both "install-exec-local-*" & "install-data-local-*"
  appear to be matched by "uninstall-local-*" in our case;
  hence, also for ruby/gem we use ""uninstall-local-*"
  instead of "uninstall-exec-local-*"

- the actual `gem uninstall ...` call still fails with
  "ERROR:  While executing gem ... (Gem::InstallError)"
  I have no idea (yet??) why ...


diffs (21 lines):

diff --git a/buildtools/autogen/autogen/am.py b/buildtools/autogen/autogen/am.py
--- a/buildtools/autogen/autogen/am.py
+++ b/buildtools/autogen/autogen/am.py
@@ -1028,7 +1028,7 @@
         fd.write("install-exec-local-%s: %s\n" % (sf, f[:-4]))
         fd.write("\tmkdir -p $(DESTDIR)'%s'\n" % rd)
         fd.write("\tgem install --local --install-dir $(DESTDIR)'%s' --force 
--rdoc '%s'\n" % (rd, f[:-4]))
-        fd.write("uninstall-exec-local-%s: '%s'\n" % (sf, f[:-4]))
+        fd.write("uninstall-local-%s: %s\n" % (sf, f[:-4]))
         fd.write("\tgem uninstall --install-dir $(DESTDIR)'%s' '%s'\n" % (rd, 
f[:-4]))
         am['BUILT_SOURCES'].append(f[:-4])
         am['CLEAN'].append(f[:-4])
@@ -1036,7 +1036,7 @@
     for f in gem['FILES']:
         sf = f.replace('.', '_')
         fd.write("install-exec-local-%s:\n" % sf)
-        fd.write('uninstall-exec-local-%s:\n' % sf)
+        fd.write('uninstall-local-%s:\n' % sf)
     fd.write('endif\n')
 
 def am_python(fd, var, python, am):
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to