Re: [kaffe] patch: add force option to installation
Robert Schuster wrote: 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. Thanks, good catch, I've checked it in. cheers, dalibor topic ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
[kaffe] patch: add force option to installation
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. 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 - 1.22 +++ kaffe/scripts/Makefile.am 18 Jan 2008 23:04:38 - @@ -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 Description: OpenPGP digital signature ___ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe