Well... that's why I'm not messing with make files unless I really, really have to. I know it's not my strong point ;)
-Soeren On Sun, 2020-08-30 at 10:01 +0200, Wolfram Sang wrote: > Hi Soeren, > > > Personally, my prefered solution would be to ask the user when uninstalling > > as he/she is the only one who can make the desired choice when using > > makefiles. Is there a way to add a yes/no confirmation? If so, this is the > > route I'd go. > > Uh, please no. Nobody expects user interaction when running make. Well, > at least I don't ;) > > > Gerhard will probably rightfully point out that this may be interfering > > with calling "make uninstall" from a script. I have no solution to this, > > but I'd hope whatever mechanism used for asking the user would allow a > > default choice - in which case, I would choose to have the default be to > > delete the decoders dir to allow automated install and uninstall. > > I think the usual way is to track what you installed and remove that. > Like Gerhard mentioned. > > All the best, > > Wolfram > _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel