diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2011-12-07 19:07:39 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2011-12-07 19:07:39 +0000 |
commit | 54e04d5ead4477af6355b68d83e4e907a31ccd69 (patch) | |
tree | 8845ea8d91bb4152287ac130c1fa2d094130939a /dev-util/bdelta/files/bdelta-0.2.3-Makefile-add-make-clean-target.patch | |
parent | Add stow-1.3.3-r1 with fixed bug 246264 and new 2.1.1 version. Old version is... (diff) | |
download | historical-54e04d5ead4477af6355b68d83e4e907a31ccd69.tar.gz historical-54e04d5ead4477af6355b68d83e4e907a31ccd69.tar.bz2 historical-54e04d5ead4477af6355b68d83e4e907a31ccd69.zip |
Version bump. Fixes bug #338327 by Artem S. Tashkinov. Added myself to maintainers.
Package-Manager: portage-2.2.0_alpha79_p23/cvs/Linux x86_64
Diffstat (limited to 'dev-util/bdelta/files/bdelta-0.2.3-Makefile-add-make-clean-target.patch')
-rw-r--r-- | dev-util/bdelta/files/bdelta-0.2.3-Makefile-add-make-clean-target.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/bdelta/files/bdelta-0.2.3-Makefile-add-make-clean-target.patch b/dev-util/bdelta/files/bdelta-0.2.3-Makefile-add-make-clean-target.patch new file mode 100644 index 000000000000..21bde4a4fa4e --- /dev/null +++ b/dev-util/bdelta/files/bdelta-0.2.3-Makefile-add-make-clean-target.patch @@ -0,0 +1,47 @@ +From 9bcf95e09d240280de0ba13767c85a9eb508ff4a Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyfox@gentoo.org> +Date: Wed, 7 Dec 2011 21:01:20 +0300 +Subject: [PATCH 4/5] Makefile: add 'make clean' target + +Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> +--- + trunk/src/Makefile | 14 +++++++++++++- + 1 files changed, 13 insertions(+), 1 deletions(-) + +diff --git a/trunk/src/Makefile b/trunk/src/Makefile +index db2026a..7dd5085 100644 +--- a/trunk/src/Makefile ++++ b/trunk/src/Makefile +@@ -4,16 +4,28 @@ BINDIR ?= $(PREFIX)/bin + LIBDIR ?= ${PREFIX}/lib + CXXFLAGS += -O2 + +-all: bpatch libbdelta.so bdelta ++ALL_TARGETS = bpatch libbdelta.so bdelta ++ ++all: $(ALL_TARGETS) ++ + libbdelta.so: libbdelta.cpp compatibility.h container.h checksum.h file.h + $(CXX) -shared -fPIC $(CXXFLAGS) $(LDFLAGS) $< -o $@ ++ + bdelta: bdelta.cpp bdelta.h compatibility.h container.h file.h + $(CXX) $< -o $@ $(CXXFLAGS) $(LDFLAGS) -L. -lbdelta ++ + bpatch: bpatch.cpp compatibility.h bdelta.h file.h ++ + % : %.cpp + $(CXX) $< -o $@ $(CXXFLAGS) $(LDFLAGS) ++ + install: libbdelta.so bdelta bpatch + mkdir -p $(DESTDIR)$(BINDIR) + install -m 755 libbdelta.so $(DESTDIR)$(LIBDIR) + install -m 755 bdelta $(DESTDIR)$(BINDIR) + install -m 755 bpatch $(DESTDIR)$(BINDIR) ++ ++clean: ++ -rm $(ALL_TARGETS) ++ ++.PHONY: clean +-- +1.7.8 + |