dh-make指定包含低线_的构建目录

之前使用dh-make,都是使用-的格式。因为构建后的安装文件统一改用低线_,所以吾想构建目录也换成低线。然后报错了:

For dh_make to find the package name and version, the current directory
needs to be in the format of <package>-<version>.  Alternatively use the
_-p flag using the format <name>_<version> to override it.
The directory name you have specified is invalid!
 
Your current directory is:
/home/tsit/Linux-Builder-5.0/cn.ts-it.office_5.0.0.500
Perhaps you could try going to directory where the sources are?

一开始没注意,后来仔细研究了一下,意思就是使用_要特别指定。于是吾就:

BUILD_ACTION_DIR=cn.ts-it.office_5.0.0.6
 
dh_make \
    -p ${BUILD_ACTION_DIR} \
    --createorig -s -y

顺利完成。 

上一篇:LINUX下载编译sqlite-jdbc的jar包


下一篇:error C2664: “StrCmpW”: 不能将参数 2 从“const char [12]”转换为“PCWSTR”