Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lmich
cervi
cervi-svn-0.4.0-makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cervi-svn-0.4.0-makefile.patch of Package cervi
--- Makefile +++ Makefile @@ -7,7 +7,7 @@ # This you may want to change RELEASE=no DEBUG=no -prefix=/opt/cervi +prefix=/usr incdir=$(prefix)/include bindir=$(prefix)/bin datadir=$(prefix)/share/cervi @@ -20,10 +20,10 @@ PACKAGE=cervi CFLAGS=-Wall -D_GNU_SOURCE -D_REENTRANT -DVERSION=\"$(VERSION)\" \ $(shell gtk-config --cflags) $(shell pkg-config --cflags esound) \ - -DDATADIR=\"$(datadir)\" + -DDATADIR=\"$(datadir)\" $(RPM_OPT_FLAGS) CXXFLAGS=-Wall -D_GNU_SOURCE -D_REENTRANT -DVERSION=\"$(VERSION)\" \ $(shell gtk-config --cflags) $(shell pkg-config --cflags esound) \ - -DDATADIR=\"$(datadir)\" + -DDATADIR=\"$(datadir)\" $(RPM_OPT_FLAGS) CPPFLAGS= LDFLAGS= LDLIBS=-lm $(shell gtk-config --libs) $(shell pkg-config --libs esound) \ @@ -65,7 +65,7 @@ RELEASE: clean $(MAKE) RELEASE=yes install: all install-music - $(INSTALL_BIN) $(MAIN) $(bindir)/$(MAIN) + $(INSTALL_BIN) $(MAIN) $(DESTDIR)/$(bindir)/$(MAIN) install-music: all-music $(MAKE) -C music install --- music/Makefile +++ music/Makefile @@ -12,8 +12,8 @@ clean: $(RM) *.wav install: dep-check $(WAVS) - mkdir -p $(datadir) - $(INSTALL) $(WAVS) $(datadir)/ + mkdir -p $(DESTDIR)/$(datadir) + $(INSTALL) $(WAVS) $(DESTDIR)/$(datadir)/ %.wav: %.mid timidity -Ow1slM -A 200 -o $@ $< >/dev/null
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor