forked from Mirrors/freeswitch
fix htdocs install
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16268 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c61fded460
commit
a6d9ae94ae
|
@ -417,7 +417,7 @@ samples-conf:
|
|||
samples-htdocs:
|
||||
test -d $(DESTDIR)$(htdocsdir) || $(mkinstalldirs) $(DESTDIR)$(htdocsdir)
|
||||
for htdocsfile in `find htdocs -name \* | grep -v .svn` ; do \
|
||||
dir=`echo $$htdocsfile | sed -e 's|/[^/]*$$||'`; \
|
||||
dir=`echo $$htdocsfile | sed -e 's|/[^/]*$$||' | sed -e 's|^htdocs/||'`; \
|
||||
filename=`echo $$htdocsfile | sed -e 's|^.*/||'`; \
|
||||
test -d $(DESTDIR)$(htdocsdir)/$$dir || $(mkinstalldirs) $(DESTDIR)$(htdocsdir)/$$dir ; \
|
||||
test -f $(DESTDIR)$(htdocsdir)/$$dir/$$filename || $(INSTALL) -m 644 $$dir/$$filename $(DESTDIR)$(htdocsdir)/$$dir 2>/dev/null; \
|
||||
|
|
Loading…
Reference in New Issue