Split makefile into compile and install steps

Bug #910644 reported by Lukáš Zapletal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Decibel Audio Player
New
Undecided
Unassigned

Bug Description

Hey,

I am working on a new Fedora package and I would need to invoke the "compilation" stage (creating of main python scripts with correct PATHs) separately from make install command.

Therefore I would need to move this:

 cat start.sh | $(CONFIGURE_IN) > decibel-audio-player;
 cat start-remote.sh | $(CONFIGURE_IN) > decibel-audio-player-remote;

into separate target (I would prefer "compile"). Therefore I could use the standard RPM packaging process:

Create correct PATH in scripts:

make prefix=/usr

and then with fake root:

make install prefix=$RPM_BUILD_ROOT

I can provide you a patch if you want, but this should be easy change. Thanks!

Revision history for this message
Lukáš Zapletal (lzap) wrote :

Here is the change, I see you need to make additional changes since you renamed those scripts, but it should work similar.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.