tMakefile: fix uninstalling tmpl - rohrpost - A commandline mail client to change the world as we see it.
 (HTM) git clone git://r-36.net/rohrpost
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 32c96b344276b4652facae66c456991854ccb17e
 (DIR) parent 3a4526a463c4c7c3990559e71e71d37ea9170286
 (HTM) Author: Quentin Rameau <quinq@fifth.space>
       Date:   Sun,  7 Jun 2020 14:05:05 +0200
       
       Makefile: fix uninstalling tmpl
       
       Signed-off-by: Christoph Lohmann <20h@r-36.net>
       
       Diffstat:
         Makefile                            |      11 +++++++++--
       
       1 file changed, 9 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       t@@ -91,7 +91,7 @@ uninstall: clean
                do \
                        rm -f $$i; \
                done )
       -        cd bin; \
       +        ( cd bin; \
                for i in `ls -1`; \
                do \
                        rm -f "${DESTDIR}${PREFIX}/bin/$$i"; \
       t@@ -99,7 +99,14 @@ uninstall: clean
                if [ -e '${DESTDIR}${PREFIX}/bin/${NAME}' ]; \
                then \
                        rm -f '${DESTDIR}${PREFIX}/bin/${NAME}'; \
       -        fi
       +        fi )
       +        ( cd tmpl; \
       +        for i in $$(ls -1); \
       +        do \
       +                rm -f '${DESTDIR}${SHAREPREFIX}/tmpl/'$$i; \
       +        done )
       +        rmdir '${DESTDIR}${SHAREPREFIX}/tmpl' \
       +              '${DESTDIR}${SHAREPREFIX}'
        
        .PHONY: all clean dist install uninstall bin