On 03/10/09 09:26, doiggl@velocitynet.com.au wrote:
- Question: What other entries do i need in the make file to do the compile ?
There are many ways to solve your problem, I will suggest you two of them - during %install use %{__install} utility to put the bw binary in %{buildroot}%{_bindir} - You can use the following "Cmake" script to replace the makefile save as CMakeLists.txt PROJECT(bwgraph C) SET(CMAKE_VERBOSE_MAKEFILE ON) ADD_EXECUTABLE(bw bw.c) INSTALL(PROGRAMS bw DESTINATION bin) now you have an "install" target.. however your story does not end there, "bwbar" is meant to be an init script, see Packaging Guidelines to know how to convert it to a proper init script. Cheers. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org