Skip to content

Commit

Permalink
Fix installation of idl file
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25809 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 29, 2015
1 parent 8b738d6 commit af0384d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile.common
Expand Up @@ -62,9 +62,10 @@ bootstrap-dependencies: omc-diff interactive docs fmi fmil opencl_rt lis graphst
install-openturns: mkbuilddirs
(time cp SimulationRuntime/OpenTurns/* $(builddir_share)/omc/scripts/OpenTurns/)

$(datadir)/omc/omc_communication.idl: Compiler/runtime/omc_communication.idl mkbuilddirs
$(builddir_share)/omc/omc_communication.idl: Compiler/runtime/omc_communication.idl
mkdir -p $(builddir_share)/omc
cp -a "$<" "$@"
idl: $(datadir)/omc/omc_communication.idl
idl: $(builddir_share)/omc/omc_communication.idl

interactive: .testvariables mkbuilddirs boehm-gc fmil idl libraries/msl-external-libs lis Cdaskr CMinpack $(IPOPT_TARGET) $(UMFPACK_TARGET)
$(MAKE) -C SimulationRuntime/c -f $(defaultMakefileTarget)
Expand Down Expand Up @@ -390,6 +391,7 @@ install: install-dirs
# man pages
cp -p ${builddir_man}/man1/*.gz ${INSTALL_MANDIR}/man1/
# Shared data
cp -p ${builddir_share}/omc/* ${INSTALL_SHAREDIR}/omc/
test ! -d ${builddir_share}/omnotebook/ || cp -rp ${builddir_share}/omnotebook/* ${INSTALL_SHAREDIR}/omnotebook/
test ! -d ${builddir_share}/omshell/ || cp -p ${builddir_share}/omshell/*.xml ${INSTALL_SHAREDIR}/omshell/
test ! -d ${builddir_share}/omshell/nls/ || cp -p ${builddir_share}/omshell/nls/*.qm ${INSTALL_SHAREDIR}/omshell/nls/
Expand Down

0 comments on commit af0384d

Please sign in to comment.