masqmail-0.2

changeset 146:88dab0d22341

small fix in Makefile if dirs do not exist
author meillo@marmaro.de
date Thu, 08 Jul 2010 00:08:18 +0200
parents e68d8752735a
children cb42157b3520
files Makefile.am Makefile.in
diffstat 2 files changed, 10 insertions(+), 10 deletions(-) [+]
line diff
     1.1 --- a/Makefile.am	Wed Jul 07 23:43:05 2010 +0200
     1.2 +++ b/Makefile.am	Thu Jul 08 00:08:18 2010 +0200
     1.3 @@ -81,11 +81,11 @@
     1.4  	rm -f $(DESTDIR)@prefix@/bin/rmail
     1.5  
     1.6  rm-doc_dir:
     1.7 -	cd $(DESTDIR)@docdir@ ;\
     1.8 -	rm -rf docs examples ;\
     1.9 -	rm -f ChangeLog NEWS AUTHORS COPYING README TODO
    1.10 +	cd $(DESTDIR)@docdir@ && ( \
    1.11 +	    rm -rf docs examples ; \
    1.12 +	    rm -f ChangeLog NEWS AUTHORS COPYING README TODO ; \
    1.13 +	)
    1.14  	rmdir $(DESTDIR)@docdir@
    1.15  
    1.16  rm-tpl_dir:
    1.17 -	cd $(DESTDIR)@datadir@ ;\
    1.18 -	rm -rf masqmail
    1.19 +	rm -rf $(DESTDIR)@datadir@/masqmail/
     2.1 --- a/Makefile.in	Wed Jul 07 23:43:05 2010 +0200
     2.2 +++ b/Makefile.in	Thu Jul 08 00:08:18 2010 +0200
     2.3 @@ -763,14 +763,14 @@
     2.4  	rm -f $(DESTDIR)@prefix@/bin/rmail
     2.5  
     2.6  rm-doc_dir:
     2.7 -	cd $(DESTDIR)@docdir@ ;\
     2.8 -	rm -rf docs examples ;\
     2.9 -	rm -f ChangeLog NEWS AUTHORS COPYING README TODO
    2.10 +	cd $(DESTDIR)@docdir@ && ( \
    2.11 +	    rm -rf docs examples ; \
    2.12 +	    rm -f ChangeLog NEWS AUTHORS COPYING README TODO ; \
    2.13 +	)
    2.14  	rmdir $(DESTDIR)@docdir@
    2.15  
    2.16  rm-tpl_dir:
    2.17 -	cd $(DESTDIR)@datadir@ ;\
    2.18 -	rm -rf masqmail
    2.19 +	rm -rf $(DESTDIR)@datadir@/masqmail/
    2.20  
    2.21  # Tell versions [3.59,3.63) of GNU make to not export all variables.
    2.22  # Otherwise a system limit (for SysV at least) may be exceeded.