Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
python-py3c
destdir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File destdir.patch of Package python-py3c
From eef6c4abaeaba4ee2cb84b2c639ce04de8a20b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= <45601387+jcourreges@users.noreply.github.com> Date: Thu, 4 Jun 2020 11:57:07 +0200 Subject: [PATCH] Add DESTDIR for staged installations For reference: https://www.gnu.org/prep/standards/html_node/DESTDIR.html https://github.com/encukou/py3c/pull/29 --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 761304d..4b04f7c 100644 --- a/Makefile +++ b/Makefile @@ -42,12 +42,12 @@ py3c.pc: py3c.pc.in $(includedir) sed -e's:@includedir@:$(realpath $(includedir)):' $< > $@ install: py3c.pc - mkdir -p -m 0755 $(includedir)/py3c - install -m 0644 include/py3c.h $(includedir)/py3c.h - install -m 0644 $(wildcard include/py3c/*.h) $(includedir)/py3c/ + mkdir -p -m 0755 $(DESTDIR)$(includedir)/py3c + install -m 0644 include/py3c.h $(DESTDIR)$(includedir)/py3c.h + install -m 0644 $(wildcard include/py3c/*.h) $(DESTDIR)$(includedir)/py3c/ - mkdir -p -m 0755 $(pkgconfigdir) - install -m 0644 py3c.pc $(pkgconfigdir)/ + mkdir -p -m 0755 $(DESTDIR)$(pkgconfigdir) + install -m 0644 py3c.pc $(DESTDIR)$(pkgconfigdir)/ clean: rm py3c.pc ||:
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