Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:matsb:OpenModelica-1.22.3
OMEdit
Makefile.in.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Makefile.in.patch of Package OMEdit
--- rpmbuild/SOURCES/OpenModelica-1.22.3/Makefile.in.orig 2022-01-19 18:19:41.745283647 +0000 +++ rpmbuild/SOURCES/OpenModelica-1.22.3/Makefile.in 2022-01-19 18:41:22.598390076 +0000 @@ -186,20 +186,20 @@ # Application directory (OSX) if [ "@APP@" = ".app" ]; then cp -a "@OMBUILDDIR@"/Applications/* $(INSTALL_APPDIR); fi # Binaries - cp -a "@OMBUILDDIR@"/bin/* ${INSTALL_BINDIR} + test ! -s "@OMBUILDDIR@"/bin || cp -a "@OMBUILDDIR@"/bin/* ${INSTALL_BINDIR} # Libraries - cp -a "@OMBUILDDIR@"/lib/* ${INSTALL_LIBDIR} + test ! -s "@OMBUILDDIR@"/lib || cp -a "@OMBUILDDIR@"/lib/* ${INSTALL_LIBDIR} # Includes - cp -a "@OMBUILDDIR@"/include/* ${INSTALL_INCLUDEDIR} + test ! -s "@OMBUILDDIR@"/include || cp -a "@OMBUILDDIR@"/include/* ${INSTALL_INCLUDEDIR} # License - cp -p OMCompiler/COPYING ${INSTALL_DOCDIR}/omc/ + test ! -e OMCompiler/COPYING || cp -p OMCompiler/COPYING ${INSTALL_DOCDIR}/omc/ # Documents test ! -e "doc" || cp -p doc/*.pdf ${INSTALL_DOCDIR}/omc/ - cp -p "@OMBUILDDIR@"/share/doc/omc/testmodels/* ${INSTALL_DOCDIR}/omc/testmodels/ + shopt -s nullglob; for file in "@OMBUILDDIR@"/share/doc/omc/testmodels/*; do cp -p $$file ${INSTALL_DOCDIR}/omc/testmodels/; done # man pages # cp -p "@OMBUILDDIR@"/share/man/man1/*.gz ${INSTALL_MANDIR}/man1/ # Shared data - cp -a "@OMBUILDDIR@"/share/omc/*.* "@OMBUILDDIR@"/share/omc/runtime ${INSTALL_SHAREDIR}/omc/ + shopt -s nullglob; for file in "@OMBUILDDIR@"/share/omc/*.* "@OMBUILDDIR@"/share/omc/runtim[e]; do cp -a $$file ${INSTALL_SHAREDIR}/omc/; done test ! -d "@OMBUILDDIR@"/share/omnotebook/ || cp -rp "@OMBUILDDIR@"/share/omnotebook/* ${INSTALL_SHAREDIR}/omnotebook/ test ! -d "@OMBUILDDIR@"/share/omshell/ || cp -p "@OMBUILDDIR@"/share/omshell/*.xml ${INSTALL_SHAREDIR}/omshell/ test ! -d "@OMBUILDDIR@"/share/omshell/nls/ || cp -p "@OMBUILDDIR@"/share/omshell/nls/*.qm ${INSTALL_SHAREDIR}/omshell/nls/ @@ -207,9 +207,9 @@ test ! -d "@OMBUILDDIR@"/share/omnotebook/nls/ || cp -p "@OMBUILDDIR@"/share/omnotebook/nls/*.qm ${INSTALL_SHAREDIR}/omnotebook/nls/ test ! -d "@OMBUILDDIR@"/share/OMSimulator/ || cp -rp "@OMBUILDDIR@"/share/OMSimulator ${INSTALL_SHAREDIR}/ # Scripts - cp -rp "@OMBUILDDIR@"/share/omc/scripts/*.* ${INSTALL_SHAREDIR}/omc/scripts + shopt -s nullglob; for file in "@OMBUILDDIR@"/share/omc/scripts/*.* ; do cp -rp $$file ${INSTALL_SHAREDIR}/omc/scripts; done # Java - cp -p "@OMBUILDDIR@"/share/omc/java/* ${INSTALL_JAVADIR} + shopt -s nullglob; for file in "@OMBUILDDIR@"/share/omc/java/*; do cp -p $$file ${INSTALL_JAVADIR}; done # Translations # cp -rp "@OMBUILDDIR@"/share/locale/* ${INSTALL_LOCALEDIR}/ test ! -d "@OMBUILDDIR@"/share/omlibrary || cp -rp "@OMBUILDDIR@"/share/omlibrary "${INSTALL_SHAREDIR}/"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor