Mono Mdtool生成makefile

Mono Mdtool生成makefile,mono,makefile,monodevelop,Mono,Makefile,Monodevelop,我目前正在gpl下开发一个mono应用程序。因此,我想提供一个带有makefile的源程序包 我使用mdtool生成简单的makefile: mdtool generate-makefiles AudioCuesheetEditor.sln --simple-makefiles 在这之后,我可以成功地运行 ./configure 然后呢 make 但是如果我想跑 make install 它将失败,并显示以下消息: [sven@Sven Downloads]$ make install

我目前正在gpl下开发一个mono应用程序。因此,我想提供一个带有makefile的源程序包

我使用mdtool生成简单的makefile:

mdtool generate-makefiles AudioCuesheetEditor.sln --simple-makefiles
在这之后,我可以成功地运行

./configure
然后呢

make
但是如果我想跑

make install
它将失败,并显示以下消息:

[sven@Sven Downloads]$ make install
make[1]: Entering directory `/home/sven/Downloads'
make[1]: Leaving directory `/home/sven/Downloads'
make[1]: Entering directory `/home/sven/Downloads'
make pre-install-local-hook prefix=/usr/local
make[2]: Entering directory `/home/sven/Downloads'
make[2]: Leaving directory `/home/sven/Downloads'
make install-satellite-assemblies prefix=/usr/local
make[2]: Entering directory `/home/sven/Downloads'
mkdir -p '/usr/local/lib'
cp   bin/Release /usr/local/lib/audiocuesheeteditor
cp: Directory „bin/Release“ left out
make[2]: *** [/usr/local/lib/audiocuesheeteditor] Error 1
make[2]: Leaving directory `/home/sven/Downloads'
make[1]: *** [install-local] Error 2
make[1]: Leaving directory `/home/sven/Downloads'
make: *** [install-recursive] Error 1
如果要检查生成,请查看以下程序包:


有人知道为什么make安装失败吗?

MonoDevelop中的Makefile集成是一个废弃的项目


我建议您只使用MSBuild文件(.sln、.csproj等),然后在生成文件中调用“xbuild”。对于安装,您可能希望创建自定义的“安装”make目标,或者如果您希望尝试通过MSBuild/xbuild进行安装,那么您可能希望了解他们在tasque项目(源代码)中是如何进行安装的。

那么,我如何在internet上找到xbuild呢?xbuild到底是什么?它是否与包的构建指南(.rpm、.apt等)兼容,另外,xbuild是一个构建工具,而不是打包工具。对于打包,我建议您使用开放构建服务