Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
scarse
scarse-destdir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scarse-destdir.patch of Package scarse
--- data/Makefile.in +++ data/Makefile.in @@ -41,26 +41,26 @@ install-targets: echo "Installing calibration targets..." - $(INSTALL) -d $(datadir) - $(INSTALL) -d $(datadir)/targets - $(INSTALL) -d $(datadir)/targets/faust - $(INSTALL) -d $(datadir)/targets/kodak - $(INSTALL) -d $(datadir)/targets/kodak/{E1,E3,K3,R1,R2}-Data - $(INSTALL) -d $(datadir)/targets/misc - $(INSTDAT) targets/TARGETS $(datadir)/targets + $(INSTALL) -d $(DESTDIR)$(datadir) + $(INSTALL) -d $(DESTDIR)$(datadir)/targets + $(INSTALL) -d $(DESTDIR)$(datadir)/targets/faust + $(INSTALL) -d $(DESTDIR)$(datadir)/targets/kodak + $(INSTALL) -d $(DESTDIR)$(datadir)/targets/kodak/{E1,E3,K3,R1,R2}-Data + $(INSTALL) -d $(DESTDIR)$(datadir)/targets/misc + $(INSTDAT) targets/TARGETS $(DESTDIR)$(datadir)/targets for FILE in `$(AWK) '!/^(#|$$)/ {print "targets/" $$3;}' targets/TARGETS | sort | uniq`; do \ echo "Installing $$FILE"; \ - $(INSTDAT) $$FILE $(datadir)/$$FILE; \ - $(ZIP) $(datadir)/$$FILE; \ + $(INSTDAT) $$FILE $(DESTDIR)$(datadir)/$$FILE; \ + $(ZIP) $(DESTDIR)$(datadir)/$$FILE; \ done install-etc: echo "Installing configuration files..." - $(INSTALL) -d $(datadir) - $(INSTALL) -d $(datadir)/etc + $(INSTALL) -d $(DESTDIR)$(datadir) + $(INSTALL) -d $(DESTDIR)$(datadir)/etc for FILE in etc/*.options; do \ echo "Installing $$FILE"; \ - $(INSTDAT) $$FILE $(datadir)/$$FILE; \ + $(INSTDAT) $$FILE $(DESTDIR)$(datadir)/$$FILE; \ done install: install-profiles install-targets install-etc --- data/profiles/Makefile.in +++ data/profiles/Makefile.in @@ -35,5 +35,5 @@ rm -f FILES index.html *.tar.gz *.zip Makefile install: - $(INSTALL) -d $(datadir) - for i in spaces/*; do $(INSTDAT) $$i $(datadir)/$${i#spaces/}; done + $(INSTALL) -d $(DESTDIR)$(datadir) + for i in spaces/*; do $(INSTDAT) $$i $(DESTDIR)$(datadir)/$${i#spaces/}; done --- src/Makefile.in +++ src/Makefile.in @@ -63,9 +63,9 @@ rm -f $(bins) gmon.out Makefile config.h $(addsuffix .h, $(basename $(wildcard ../lib/*.hin))) install: $(bins) - $(INSTALL) -d $(bindir) - $(INSTALL) $(bins) $(bindir) - $(UXP) $(addprefix $(bindir)/, $(bins)) + $(INSTALL) -d $(DESTDIR)$(bindir) + $(INSTALL) $(bins) $(DESTDIR)$(bindir) + $(UXP) $(addprefix $(DESTDIR)$(bindir)/, $(bins)) # Dependencies
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