我想建造一个有
/package/debtest/
/package/debtest/bin
/package/debtest/bin/E01.bin
/package/debtest/bin/E02.bin
/package/debtest/bin/E03.bin``
/package/debtest/log
/package/debtest/mon我想安装到目录/opt/debtest/
这是我的规则文件
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
install:
install -d /opt/debtest/
install -d /opt/debtest/bin
install -d /opt/debtest/log
install -d /opt/debtest//mon
****# Uncomment this to turn on verbose mode.**
****#export DH_VERBOSE=1******
%:
dh $@ 当使用dpkg-buildpackage命令时,它会查看以下内容
dpkg-源-在构建之前的辩论-1.0 debian/规则清洁debian/规则:11:*缺少分隔符。停止播放。
我该怎么做呢?
发布于 2012-08-30 05:08:38
生成文件语法无效。如果缩进命令,每个目标都应该包含一个数字。缩进必须以文字制表符字符开始。
不过,很明显,您想要完成的任务最好是使用debian/dirs文件。无论如何,您不会在debian/rules文件中放置常规的Makefile目标。
https://stackoverflow.com/questions/12189840
复制相似问题