Page 1 of 1

Makefile change: uninstall target

Posted: Fri Apr 15, 2005 3:07 am
by rickyboy
Hello Lutz,

This would be a small change to 'Makefile' in the distro, but I recommend to change the 'uninstall' section according to this 'diff' output:

Code: Select all

204,208c204,208
<       -rm  /usr/bin/newlisp
<       -rm  /usr/bin/newlisp-tk
<       -rm  -rf /usr/share/newlisp
<       -rm  /usr/share/man/man1/newlisp.1
<       -rm  /usr/share/man/man1/newlisp-tk.1
---
>       -rm  $(bindir)/newlisp
>       -rm  $(bindir)/newlisp-tk
>       -rm  -rf $(datadir)/newlisp
>       -rm  $(mandir)/man1/newlisp.1
>       -rm  $(mandir)/man1/newlisp-tk.1
Cheers, --Ricky

Posted: Fri Apr 15, 2005 1:35 pm
by Lutz
Thanks for the tip, look for it in 8.5.4

Lutz

Posted: Sun Apr 24, 2005 3:14 am
by rickyboy
Ooops! I just got 8.5.4 and the Makefile is still missing a change on one line in the 'uninstall' rule. Namely, change

Code: Select all

        -rm  -rf /usr/share/newlisp
to

Code: Select all

        -rm  -rf $(datadir)/newlisp
It will then be commensurate with the consistent use of '$(datadir)/newlisp/...' in the 'install' rule.

Cheers, --Ricky