我使用的是dh_make生成的文件夹结构。只要我有这种结构,一切都是好的:
./debian/
./debian/rules
./debian/<rest_of_files>
./Makefile当我执行fakeroot debian/rules clean binary时,它会执行make clean && make && make install DESTDIR=properplace,一切都会工作,因为我的Makefile有这些目标。
现在,我想将debian/rules迁移到packaging/debian/rules,但是没有任何工作。
我尝试了fakeroot packaging/debian/rules clean binary,但显然这是./packaging/中的Makefile,而不是$CWD中的
编辑:
正如其他人所指出的,构建脚本不喜欢这样,作为解决办法,我从主makefile执行此操作。
package-debian:
ln -s packaging/debian debian
fakeroot debian/rules clean binary
rm debian发布于 2010-11-09 20:25:53
您需要在目录packaging中调用Debian脚本。事情就是这样。
https://stackoverflow.com/questions/4138195
复制相似问题