Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
json-table
json-table-fix-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File json-table-fix-build.patch of Package json-table
diff --git a/Makefile b/Makefile index 2927afe..7172c50 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,8 @@ OS := $(shell uname -s) -ifneq (${OS}, Darwin) -LDFLAGS += -static -endif - CFLAGS += -D_GNU_SOURCE=1 -O3 -Wall -Werror -Winline -pedantic-errors -std=c99 +DESTDIR = PREFIX := /usr/local BINDIR := $(PREFIX)/bin MANDIR := $(PREFIX)/share/man/man1 @@ -48,9 +45,9 @@ build/prof/jt: build/prof/jt.o build/prof/stack.o build/prof/buffer.o build/prof docs: jt.1 jt.1.html install: jt jt.1 - mkdir -p $(BINDIR) $(MANDIR) - cp jt $(BINDIR) - cp jt.1 $(MANDIR) + mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR) + cp jt $(DESTDIR)$(BINDIR) + cp jt.1 $(DESTDIR)$(MANDIR) cat $(PREFIX)/man/man1/jt.1 2>&1 |grep -q 'micha\\\.niskin@gmail\\\.com' \ && rm -f $(PREFIX)/man/man1/jt.1 || true
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