我正在尝试使用Netbeans 7.3开发的C++应用程序进行Debian打包。下面是其中的一部分Makefile代码。
我正在按照如何创建一个.deb软件包和Debian新维护者指南进行操作。在成功完成上述所有步骤后,当我运行
在http://www.debian.org/doc/manuals/maint-guide/dreq.en.html#defaultrules上没有解释
这是什么意思?为什么在执行
APPNAME=remotedevicecontroller
install:
install config.xml /etc/${APPNAME}.conf.xml
install devices.rules /etc/udev/rules.d/${APPNAME}.rules
install error.log /var/log/${APPNAME}.log
install init.conf /etc/init/${APPNAME}.conf
install init.d /etc/init.d/${APPNAME}
install ${CND_ARTIFACT_NAME_${CONF}} /usr/local/bin/${APPNAME}
chmod u+x ${CND_ARTIFACT_NAME_${CONF}}
./${CND_ARTIFACT_NAME_${CONF}} -i
我正在按照如何创建一个.deb软件包和Debian新维护者指南进行操作。在成功完成上述所有步骤后,当我运行
dpkg-buildpackage -rfakeroot
时,遇到了以下错误。$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package remotedevicecontroller
dpkg-buildpackage: source version 1.0-1
dpkg-buildpackage: source changed by satya gowtham kudupudi (gowtham) <gowthamk@newmeksolutions.com>
dpkg-buildpackage: host architecture i386
dpkg-source --before-build remotedevicecontroller-1.0
fakeroot debian/rules clean
dh clean
dh: No packages to build.
dpkg-source -b remotedevicecontroller-1.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building remotedevicecontroller using existing ./remotedevicecontroller_1.0.orig.tar.gz
dpkg-source: info: building remotedevicecontroller in remotedevicecontroller_1.0-1.debian.tar.gz
dpkg-source: info: building remotedevicecontroller in remotedevicecontroller_1.0-1.dsc
debian/rules build
dh build
dh: No packages to build.
fakeroot debian/rules binary
dh binary
dh: No packages to build.
signfile remotedevicecontroller_1.0-1.dsc
You need a passphrase to unlock the secret key for
user: "satya gowtham kudupudi (gowtham) <gowthamk@newmeksolutions.com>"
2048-bit RSA key, ID 9A2853A0, created 2013-08-22
gpg: gpg-agent is not available in this session
dpkg-genchanges >../remotedevicecontroller_1.0-1_i386.changes
dpkg-genchanges: error: cannot read files list file: No such file or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
在http://www.debian.org/doc/manuals/maint-guide/dreq.en.html#defaultrules上没有解释
rules
文件的作用。这个文件是做什么用的?%:
dh $@
这是什么意思?为什么在执行
dpkg-buildpackage -rfakeroot
命令时会显示dh: No packages to build.
?
$ dh binary-arch --no-act
的输出是dh: No packages to build.
- Necktwi