Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
utilities
rpmreaper
rpmreaper-Makefile_vars.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rpmreaper-Makefile_vars.patch of Package rpmreaper
Index: rpmreaper-0.2.0/Makefile =================================================================== --- rpmreaper-0.2.0.orig/Makefile +++ rpmreaper-0.2.0/Makefile @@ -1,9 +1,13 @@ NAME = rpmreaper VERSION = 0.2.0 -EXTRA_CFLAGS = -O -g -Wall -CFLAGS = $(shell pkg-config --cflags rpm ncurses) $(EXTRA_CFLAGS) -LDFLAGS = $(shell pkg-config --libs rpm ncurses) $(EXTRA_LDFLAGS) +EXTRA_CFLAGS ?= -O -g -Wall +ifndef CFLAGS + CFLAGS = $(shell pkg-config --cflags rpm ncurses) $(EXTRA_CFLAGS) +endif +ifndef LDFLAGS + LDFLAGS = $(shell pkg-config --libs rpm ncurses) $(EXTRA_LDFLAGS) +endif prefix = /usr/local bindir = $(prefix)/bin @@ -21,9 +25,9 @@ $(NAME): $(objs) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) install: $(NAME) - mkdir -p $(bindir) $(man1dir) - install $(NAME) $(bindir) - install -p -m 644 $(NAME).1 $(man1dir) + mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) + install $(NAME) $(DESTDIR)$(bindir) + install -p -m 644 $(NAME).1 $(DESTDIR)$(man1dir) archive: @git archive -v --prefix=$(NAME)-$(VERSION)/ v$(VERSION) | \
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