public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-vcs/cvsps/files: cvsps-3.13-make.patch
@ 2014-08-24 13:49 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2014-08-24 13:49 UTC (permalink / raw
  To: gentoo-commits

slyfox      14/08/24 13:49:08

  Added:                cvsps-3.13-make.patch
  Log:
  Slot cvsps-3 to SLOT=3 to let git-cvsimport work with cvsps-2 (bug #450424).
  
  (Portage version: 2.2.12_p6/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

Revision  Changes    Path
1.1                  dev-vcs/cvsps/files/cvsps-3.13-make.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/cvsps/files/cvsps-3.13-make.patch?rev=1.1&view=markup
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

Index: cvsps-3.13-make.patch
===================================================================
diff --git a/Makefile b/Makefile
index 6266c9d..4f60d2f 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,9 @@ INSTALL = install
 prefix?=/usr/local
 target=$(DESTDIR)$(prefix)
 
+PROG         = cvsps
+MANPAGE      = $(PROG).1
+
 OBJS= debug.o \
 	hash.o \
 	sio.o \
@@ -19,12 +22,12 @@ OBJS= debug.o \
 	cvsclient.o \
 	list_sort.o
 
-all: cvsps 
+all: $(PROG) $(MANPAGE)
 
 deps:
 	makedepend -Y -I. *.c
 
-cvsps: $(OBJS)
-	$(CC) -o cvsps $(OBJS) $(LDFLAGS) $(LDLIBS)
+$(PROG): $(OBJS)
+	$(CC) -o $(PROG) $(OBJS) $(LDFLAGS) $(LDLIBS)
 
 check:
@@ -50,17 +53,17 @@ pylint:
 .txt.html:
 	a2x --doctype manpage --format xhtml $*.txt
 
-install: cvsps.1 all
+install: all
 	$(INSTALL) -d "$(target)/bin"
 	$(INSTALL) -d "$(target)/share/man/man1"
-	$(INSTALL) cvsps "$(target)/bin"
-	$(INSTALL) -m 644 cvsps.1 "$(target)/share/man/man1"
+	$(INSTALL) $(PROG) "$(target)/bin"
+	$(INSTALL) -m 644 $(MANPAGE) "$(target)/share/man/man1"
 
 tags: *.c *.h
 	ctags *.c *.h
 
 clean:
-	rm -f cvsps *.o core tags cvsps.1 cvsps.html docbook-xsl.css
+	rm -f $(PROG) *.o core tags $(MANPAGE) cvsps.html docbook-xsl.css
 
 SOURCES = Makefile *.[ch] merge_utils.sh
 DOCS = README COPYING NEWS cvsps.asc TODO





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-24 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-24 13:49 [gentoo-commits] gentoo-x86 commit in dev-vcs/cvsps/files: cvsps-3.13-make.patch Sergei Trofimovich (slyfox)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox