patch: add force option to installation
Robert Schuster <[email protected]> Sat, 19 Jan 2008 00:10:35 +0100
| Newsgroups | gmane.comp.java.vm.kaffe.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, attached is a patch that makes installation procedure a bit more convenient if you regularly update an existing installation: It enforces the reinstallation of the symlinks. 2008-01-19 Robert Schuster <[email protected]> * kaffe/scripts/Makefile.am: Add force option to all ln invocations in target install-exec-local. _______________________________________________ kaffe mailing list [email protected] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
kaffe-ln-with-force.patch
(text/x-patch, 977 B)
Index: kaffe/scripts/Makefile.am =================================================================== RCS file: /cvs/kaffe/kaffe/kaffe/scripts/Makefile.am,v retrieving revision 1.22 diff -u -r1.22 Makefile.am --- kaffe/scripts/Makefile.am 1 Jan 2008 22:21:23 -0000 1.22 +++ kaffe/scripts/Makefile.am 18 Jan 2008 23:04:38 -0000 @@ -44,14 +44,14 @@ install-exec-local: for app in $(CLASSPATH_APPS); do \ if ! test -f $(DESTDIR)$(bindir)/$$app ; then \ - $(LN_S) $(CLASSPATH_PREFIX)/bin/g$$app $(DESTDIR)$(bindir)/$$app ; \ + $(LN_S) -f $(CLASSPATH_PREFIX)/bin/g$$app $(DESTDIR)$(bindir)/$$app ; \ fi ; \ done if test x"@JAVADOC@" != x"" ; then \ - $(LN_S) @JAVADOC@ $(DESTDIR)$(bindir)/javadoc$(EXEEXT) ; \ + $(LN_S) -f @JAVADOC@ $(DESTDIR)$(bindir)/javadoc$(EXEEXT) ; \ fi if test x"@JAVAP@" != x"" ; then \ - $(LN_S) @JAVAP@ $(DESTDIR)$(bindir)/javap$(EXEEXT) ; \ + $(LN_S) -f @JAVAP@ $(DESTDIR)$(bindir)/javap$(EXEEXT) ; \ fi uninstall-local:
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHkTHtG9cfwmwwEtoRCAOaAJ9qbLtonMoIndLpDuhsvZfMyhZSYgCdHvJ7 C9PhPfE8SfPuEY8NFl4XJZM= =SXno -----END PGP SIGNATURE-----