From a60fdfa8ae1b732dd2b2f3b9e9cc399f59fb24ee Mon Sep 17 00:00:00 2001 From: vapier Date: Fri, 30 Sep 2005 02:02:03 +0000 Subject: [PATCH] need -p for mkdir and add back in proper quoting git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@17081 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- doc/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 70cb425..36cd926 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -23,13 +23,13 @@ clean-local: # rule to install the documentation in $(docdir) install-data-local: - @if ! test -d $(DESTDIR)$(datadir)/$(PACKAGE); then \ - mkdir $(DESTDIR)$(datadir)/$(PACKAGE); \ + @if ! test -d "$(DESTDIR)$(datadir)/$(PACKAGE)"; then \ + mkdir -p "$(DESTDIR)$(datadir)/$(PACKAGE)"; \ fi - @if ! test -d $(DESTDIR)$(docdir); then \ - mkdir $(DESTDIR)$(docdir); \ + @if ! test -d "$(DESTDIR)$(docdir)"; then \ + mkdir -p "$(DESTDIR)$(docdir)"; \ fi - @cp -pr html/ man/ latex/ xml/ $(DESTDIR)$(docdir) + @cp -pr html/ man/ latex/ xml/ "$(DESTDIR)$(docdir)" # rule to uninstall the documentation uninstall-local: -- 2.7.4