Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3:Update
pbzip2
pbzip2-makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pbzip2-makefile.patch of Package pbzip2
--- Makefile.orig 2010-12-20 19:19:23.000000000 +0100 +++ Makefile 2010-12-20 19:24:30.000000000 +0100 @@ -3,7 +3,7 @@ # Compiler to use CC = g++ -CFLAGS = -O2 +CFLAGS = $(OPTFLAGS) #CFLAGS += -g -Wall #CFLAGS += -ansi #CFLAGS += -pedantic @@ -36,6 +36,9 @@ # Where you want pbzip2 installed when you do 'make install' PREFIX = /usr +DESTDIR= +BINDIR = $(PREFIX)/bin +MANDIR = $(PREFIX)/man all: pbzip2 @@ -49,15 +52,10 @@ # Install the binary pbzip2 program and man page install: pbzip2 - if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi - if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi - if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi - cp -f pbzip2 $(PREFIX)/bin/pbzip2 - chmod a+x $(PREFIX)/bin/pbzip2 - ln -s -f $(PREFIX)/bin/pbzip2 $(PREFIX)/bin/pbunzip2 - ln -s -f $(PREFIX)/bin/pbzip2 $(PREFIX)/bin/pbzcat - cp -f pbzip2.1 $(PREFIX)/man/man1 - chmod a+r $(PREFIX)/man/man1/pbzip2.1 + install -D -m0755 pbzip2 $(DESTDIR)$(BINDIR)/pbzip2 + ln -s -f pbzip2 $(DESTDIR)$(BINDIR)/pbunzip2 + ln -s -f pbzip2 $(DESTDIR)$(BINDIR)/pbzcat + install -D -m0644 pbzip2.1 $(DESTDIR)$(MANDIR)/man1/pbzip2.1 clean: rm -f *.o pbzip2
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