Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-vcs/cvsps/files: cvsps-3.13-make.patch
Date: Sun, 24 Aug 2014 13:49:12
Message-Id: 20140824134908.4AA7A3CD1@oystercatcher.gentoo.org
1 slyfox 14/08/24 13:49:08
2
3 Added: cvsps-3.13-make.patch
4 Log:
5 Slot cvsps-3 to SLOT=3 to let git-cvsimport work with cvsps-2 (bug #450424).
6
7 (Portage version: 2.2.12_p6/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
8
9 Revision Changes Path
10 1.1 dev-vcs/cvsps/files/cvsps-3.13-make.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cvsps/files/cvsps-3.13-make.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cvsps/files/cvsps-3.13-make.patch?rev=1.1&content-type=text/plain
14
15 Index: cvsps-3.13-make.patch
16 ===================================================================
17 diff --git a/Makefile b/Makefile
18 index 6266c9d..4f60d2f 100644
19 --- a/Makefile
20 +++ b/Makefile
21 @@ -8,6 +8,9 @@ INSTALL = install
22 prefix?=/usr/local
23 target=$(DESTDIR)$(prefix)
24
25 +PROG = cvsps
26 +MANPAGE = $(PROG).1
27 +
28 OBJS= debug.o \
29 hash.o \
30 sio.o \
31 @@ -19,12 +22,12 @@ OBJS= debug.o \
32 cvsclient.o \
33 list_sort.o
34
35 -all: cvsps
36 +all: $(PROG) $(MANPAGE)
37
38 deps:
39 makedepend -Y -I. *.c
40
41 -cvsps: $(OBJS)
42 - $(CC) -o cvsps $(OBJS) $(LDFLAGS) $(LDLIBS)
43 +$(PROG): $(OBJS)
44 + $(CC) -o $(PROG) $(OBJS) $(LDFLAGS) $(LDLIBS)
45
46 check:
47 @@ -50,17 +53,17 @@ pylint:
48 .txt.html:
49 a2x --doctype manpage --format xhtml $*.txt
50
51 -install: cvsps.1 all
52 +install: all
53 $(INSTALL) -d "$(target)/bin"
54 $(INSTALL) -d "$(target)/share/man/man1"
55 - $(INSTALL) cvsps "$(target)/bin"
56 - $(INSTALL) -m 644 cvsps.1 "$(target)/share/man/man1"
57 + $(INSTALL) $(PROG) "$(target)/bin"
58 + $(INSTALL) -m 644 $(MANPAGE) "$(target)/share/man/man1"
59
60 tags: *.c *.h
61 ctags *.c *.h
62
63 clean:
64 - rm -f cvsps *.o core tags cvsps.1 cvsps.html docbook-xsl.css
65 + rm -f $(PROG) *.o core tags $(MANPAGE) cvsps.html docbook-xsl.css
66
67 SOURCES = Makefile *.[ch] merge_utils.sh
68 DOCS = README COPYING NEWS cvsps.asc TODO