小编Eri*_*rik的帖子

Building debian package fails when destination is /usr/local/bin

I created a very simple C project and want to build a debian package from it.\nManually building the C project via the Makefile works as expected, it build the binary and can be installed in /usr/local/bin. When trying to build a debian packages however it fails with\ndh_usrlocal: error: debian/myhelloworld/usr/local/bin/myhelloworld is not a directory

\n

The Makefile looks like this:

\n
prefix = /usr/local/bin\n\nall: src/myhelloworld\n\nsrc/hello: src/myhelloworld.c\n    @echo "CFLAGS=$(CFLAGS)" | \\\n        fold -s -w 70 | \\\n        sed -e 's/^/# /'\n …
Run Code Online (Sandbox Code Playgroud)

packaging debian

5
推荐指数
1
解决办法
309
查看次数

标签 统计

debian ×1

packaging ×1