From fcab3de02eeb18d19e35ba124bc19fc33e7c0bd5 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Thu, 15 Mar 2012 18:57:19 +0000 Subject: [PATCH] fix samples-htdocs target --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 9765a2fec5..0261b709b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -490,7 +490,7 @@ samples-conf: samples-htdocs: test -d $(DESTDIR)$(htdocsdir) || $(mkinstalldirs) $(DESTDIR)$(htdocsdir) - for htdocsfile in `cd $(switch_srcdir)/htdocs && find . -type f -name \* | sed -e 's|^\.||` ; do \ + for htdocsfile in `cd $(switch_srcdir)/htdocs && find . -type f -name \* | sed -e 's|^\.||'` ; do \ dir=`echo $$htdocsfile | sed -e 's|/[^/]*$$||'`; \ filename=`echo $$htdocsfile | sed -e 's|^.*/||'`; \ test -d $(DESTDIR)$(htdocsdir)$$dir || $(mkinstalldirs) $(DESTDIR)$(htdocsdir)$$dir ; \