Mailinglist Archive: opensuse-packaging (150 mails)

< Previous Next >
Re: [opensuse-packaging] [bwgraph] - Need help with error *** No rule to make target `install'
  • From: Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>
  • Date: Sat, 03 Oct 2009 09:55:35 -0400
  • Message-id: <4AC757D7.6010308@xxxxxxxxxxxx>
On 03/10/09 09:26, doiggl@xxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References