Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
btar
btar-makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File btar-makefile.patch of Package btar
Index: btar-1.1.1/Makefile =================================================================== --- btar-1.1.1.orig/Makefile +++ btar-1.1.1/Makefile @@ -1,5 +1,7 @@ VERSION=1.1.1 [$(shell if test -f manifest.uuid; then cat manifest.uuid | cut -c -10 ; else echo undefined; fi)] -CFLAGS+=-DVERSION="$(VERSION)" -D_FILE_OFFSET_BITS=64 -g -Wall -Wextra +DESTDIR= +OPTFLAGS=-g -Wall -Wextra +CFLAGS+=-DVERSION="$(VERSION)" -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) PREFIX?=/usr/local @@ -20,10 +22,8 @@ btar: $(OBJECTS) $(CC) -o $@ $^ $(LDFLAGS) install: btar - mkdir -p $(PREFIX)/bin - cp btar $(PREFIX)/bin - mkdir -p $(PREFIX)/share/man/man1 - cp btar.1 $(PREFIX)/share/man/man1 + install -D -m0755 btar "$(DESTDIR)$(PREFIX)/bin/btar" + install -D -m0644 btar.1 "$(DESTDIR)$(PREFIX)/share/man/man1/btar.1" all: btar fnmatchtest rsynctest loadindextest
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