我想建立包,其中有我不能建立deb包
/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 [email protected]
時使用dpkg-buildpackage命令查看此視圖
dpkg-source --before-build debtest-1.0 debian/rules clean debian/rules:11:*缺少分隔符。停止。
我該怎麼辦?
我不認爲有一種'dpkg'將你的東西放在'/ opt'中的方法。它有非常好的理由在'/ usr'中安裝,我無法想象這樣一個場景,強制使用它的好處可能會帶來超過缺點的機會。 – tripleee