First lines of the Makefile:
prefix = /usr/local
libdir = $(prefix)/lib/nut
bindir = $(prefix)/bin
mandir = $(prefix)/man/man1
Patch it, so that:
prefix = /usr
that should do the trick.
2012/5/10 Manu Gupta
Hi All,
I have been trying my hands on packaging. I have a few questions related to it.
I am trying to build the following package https://build.opensuse.org/package/live_build_log?arch=i586&package=nut&project=home%3Amanugupt1&repository=openSUSE_11.4
Now according to the log, we dont have a folder /usr/local/bin amongst others here.
Since the build system does not have a ./configure or anything like that. So a make install should work, but I have been unable to create a folder, so how do I create them.
Using simple mkdir does not help. My question is why is this so and how can I avoid such situations in future.
Regards Manu -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- Nelson Marques // I've stopped trying to understand sandwiches with a third piece of bread in the middle... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org