On Fri, 2012-05-04 at 23:19 +0200, Benoît Minisini wrote:
> Le 04/05/2012 15:25, Bruce Bruen a écrit :
> > Subtopic autotools
> >
> > autotools now works like a dream.  We have been distributing stuff via
> > autotools for several days now and have only come across the following
> > problem.
> >
> > "make uninstall" (as root) appears to work but in fact doesn't.  Given
> > that we have installed "sysinfos-0.0.2.tar.gz" via the usual
> >    unpack/cd src dir/ config/make/(root)make install
> > then we can see it quite well via:
> >
> >      [root@bluecow ~]# which sysinfos.gambas
> >      /usr/local/bin/sysinfos.gambas
> >
> > However, when I try to use the "uninstall" target, I get:
> >
> >      [root@bluecow sysinfos-0.0.2]# make uninstall
> >      Removing sysinfos.gambas file... rm /usr/local/bin/sysinfos.gambas
> >      [root@bluecow sysinfos-0.0.2]#
> >
> 
> I think a "-f" option is missing to the 'rm' command thre. I will add it 
> in the next revision, and you will tell me if it works.
> 
> Regards,
> 
Benoît,

Also missing a ";" on the previous line!

Diff attached

Bruce
Index: Makefile.am
===================================================================
--- Makefile.am    (revision 4715) 
+++ Makefile.am    (working copy) 
@@ -48,7 +48,7 @@
      rm -f $(DESTDIR)/$(GBINFO_path)/$(PACKAGE).list; \
      rm -rf $(DESTDIR)/$(GBCONTROL_path)/$(PACKAGE); \
     else \
-     echo "Removing $(PACKAGE).gambas file..." \ 
+     echo "Removing $(PACKAGE).gambas file..."; \ 
      rm -f $(DESTDIR)$(bindir)/$(PACKAGE).gambas; \
     fi)
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to