List Info

Thread: remove remaining symlinks when cleaning lightning




remove remaining symlinks when cleaning lightning
user name
2007-01-25 16:02:58
Hello,

the attached patch removes the symlinks created by make-am:
when clean:
is invoked. It adds a clean-local: target.

You can also find it in patch-2 of the
smalltalk--stable--2.3 repo in my
archive http://t
homas.g.girard.free.fr/2007-archives

Thomas

--- orig/lightning/Makefile.am
+++ mod/lightning/Makefile.am
 -28,6
+28,14 
 	  $(LN_S) -f $(srcdir)/$$i `basename $$i`; 
 	done
 
+clean-local:
+	set frob $(LIGHTNING_TARGET_FILES); shift; 
+	for i; 
+	do 
+	  echo $(RM) `basename $$i`; 
+	  $(RM) `basename $$i`; 
+	done
+
 dist-hook:
 	cp -p $(srcdir)/lightning.h $(distdir)
 endif

_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

  Approximate file size 363 bytes
Re: remove remaining symlinks when cleaning lightning
user name
2007-01-26 01:19:17
Thomas Girard wrote:
> Hello,
> 
> the attached patch removes the symlinks created by
make-am: when clean:
> is invoked. It adds a clean-local: target.
> 
> You can also find it in patch-2 of the
smalltalk--stable--2.3 repo in my
> archive http://t
homas.g.girard.free.fr/2007-archives

Committed, thanks! (And thanks for providing it as an arch
patch too!)

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )