Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
prctl
prctl-destdir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File prctl-destdir.patch of Package prctl
--- Makefile.in | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) Index: prctl-1.7/Makefile.in =================================================================== --- prctl-1.7.orig/Makefile.in +++ prctl-1.7/Makefile.in @@ -76,25 +76,25 @@ all: prctl install: installdirs installbin installman installdirs: - -if test ! -d $(prefix)/share; then \ - mkdir -p $(prefix)/share; fi - -if test ! -d $(prefix)/share/man; then \ - mkdir -p $(prefix)/share/man; fi - -for dir in $(alldirs) ; do \ - if test ! -d $${dir}; then \ - mkdir -p $${dir}; fi; \ + -if test ! -d "$(DESTDIR)/$(mandir)"; then \ + mkdir -p "$(DESTDIR)/$(mandir)"; fi + -if test ! -d "$(DESTDIR)/$(datadir)"; then \ + mkdir -p "$(DESTDIR)/$(datadir)"; fi + -for dir in $(alldirs); do \ + if test ! -d $(DESTDIR)/$${dir}; then \ + mkdir -p $(DESTDIR)/$${dir}; fi; \ done installbin: all - $(INSTALL_PROGRAM) prctl $(bindir)/prctl + $(INSTALL_PROGRAM) prctl $(DESTDIR)/$(bindir)/prctl installman: prctl.1 - rm -f $(mandir)/prctl.$(manext) - $(INSTALL_DATA) prctl.1 $(mandir)/prctl.$(manext) + rm -f $(DESTDIR)/$(man1dir)/prctl.$(manext) + $(INSTALL_DATA) prctl.1 $(DESTDIR)/$(man1dir)/prctl.$(manext) uninstall: - rm -f $(bindir)/prctl - rm -f $(mandir)/prctl.$(manext) + rm -f $(DESTDIR)/$(bindir)/prctl + rm -f $(DESTDIR)/$(man1dir)/prctl.$(manext) Makefile: Makefile.in ./config.status ./config.status
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