Makefile: Apply patch for Gentoo sandbox compliance.
This commit is contained in:
parent
211e45bc1b
commit
ab3f1037ef
13
Makefile
13
Makefile
|
@ -108,15 +108,16 @@ non-sequencer: $(OBJS)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@ echo -n "Installing..."
|
@ echo -n "Installing..."
|
||||||
@ install non-sequencer $(prefix)/bin
|
@ install -d $(DESTDIR)$(prefix)/bin
|
||||||
@ mkdir -p "$(SYSTEM_PATH)"
|
@ install -m 755 non-sequencer $(DESTDIR)$(prefix)/bin
|
||||||
@ cp -r instruments "$(SYSTEM_PATH)"
|
@ install -d "$(DESTDIR)$(SYSTEM_PATH)/instruments"
|
||||||
@ mkdir -p "$(DOCUMENT_PATH)"
|
@ install -m 644 instruments/* "$(DESTDIR)$(SYSTEM_PATH)/instruments"
|
||||||
@ cp doc/*.html doc/*.png "$(DOCUMENT_PATH)"
|
@ install -d "$(DESTDIR)$(DOCUMENT_PATH)"
|
||||||
|
@ install -m 644 doc/*.html doc/*.png "$(DESTDIR)$(DOCUMENT_PATH)"
|
||||||
@ echo "$(DONE)"
|
@ echo "$(DONE)"
|
||||||
ifneq ($(USE_DEBUG),yes)
|
ifneq ($(USE_DEBUG),yes)
|
||||||
@ echo -n "Stripping..."
|
@ echo -n "Stripping..."
|
||||||
@ strip $(prefix)/bin/non-sequencer
|
@ strip $(DESTDIR)$(prefix)/bin/non-sequencer
|
||||||
@ echo "$(DONE)"
|
@ echo "$(DONE)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue