Use $SHELL for mkdir.sh

pull/7/head
Salvatore Filippone 7 years ago
parent 626d2263e3
commit ec1f6bd276

@ -26,21 +26,21 @@ cbindd:
cd cbind&& $(MAKE) lib cd cbind&& $(MAKE) lib
install: all install: all
(./mkdir.sh $(INSTALL_INCLUDEDIR) &&\ $(SHELL) ./mkdir.sh $(INSTALL_INCLUDEDIR) &&\
$(INSTALL_DATA) Make.inc $(INSTALL_INCLUDEDIR)/Make.inc.psblas) $(INSTALL_DATA) Make.inc $(INSTALL_INCLUDEDIR)/Make.inc.psblas
(./mkdir.sh $(INSTALL_LIBDIR) &&\ $(SHELL) ./mkdir.sh $(INSTALL_LIBDIR) &&\
$(INSTALL_DATA) lib/*.a $(INSTALL_LIBDIR)) $(INSTALL_DATA) lib/*.a $(INSTALL_LIBDIR)
(./mkdir.sh $(INSTALL_MODULESDIR) && \ $(SHELL) ./mkdir.sh $(INSTALL_MODULESDIR) && \
$(INSTALL_DATA) modules/*$(.mod) $(INSTALL_MODULESDIR)) $(INSTALL_DATA) modules/*$(.mod) $(INSTALL_MODULESDIR)
(./mkdir.sh $(INSTALL_INCLUDEDIR) && \ $(SHELL) ./mkdir.sh $(INSTALL_INCLUDEDIR) && \
$(INSTALL_DATA) include/*.h $(INSTALL_INCLUDEDIR)) $(INSTALL_DATA) include/*.h $(INSTALL_INCLUDEDIR)
(./mkdir.sh $(INSTALL_DOCSDIR) && \ $(SHELL) ./mkdir.sh $(INSTALL_DOCSDIR) && \
/bin/cp -fr docs/*pdf docs/html $(INSTALL_DOCSDIR)) /bin/cp -fr docs/*pdf docs/html $(INSTALL_DOCSDIR)
(./mkdir.sh $(INSTALL_DOCSDIR) && \ $(SHELL) ./mkdir.sh $(INSTALL_DOCSDIR) && \
$(INSTALL_DATA) README.md LICENSE $(INSTALL_DOCSDIR)) $(INSTALL_DATA) README.md LICENSE $(INSTALL_DOCSDIR)
(./mkdir.sh $(INSTALL_SAMPLESDIR) && \ $(SHELL) ./mkdir.sh $(INSTALL_SAMPLESDIR) && \
/bin/cp -fr test/pargen test/fileread test/kernel $(INSTALL_SAMPLESDIR) && \ /bin/cp -fr test/pargen test/fileread test/kernel $(INSTALL_SAMPLESDIR) && \
./mkdir.sh $(INSTALL_SAMPLESDIR)/cbind && /bin/cp -fr cbind/test/pargen/* $(INSTALL_SAMPLESDIR)/cbind) ./mkdir.sh $(INSTALL_SAMPLESDIR)/cbind && /bin/cp -fr cbind/test/pargen/* $(INSTALL_SAMPLESDIR)/cbind
clean: clean:
cd base && $(MAKE) clean cd base && $(MAKE) clean
cd prec && $(MAKE) clean cd prec && $(MAKE) clean

Loading…
Cancel
Save