Commit | Line | Data |
---|---|---|
57302e90 MP |
1 | On 20020313 (Wed) at 0652:35 -0500, Greg Louis wrote: |
2 | > The first patch will make "make install-strip" work. The second spends | |
3 | > a few cycles avoiding "1 files to consider." Both are trivial but IMHO | |
4 | > useful. | |
5 | > | |
6 | 0 for 2 ... ENOTENOUGHCOFFEE ... sorry. Let's try one more time: | |
7 | ||
8 | --- Makefile.in~ Wed Mar 13 07:11:24 2002 | |
9 | +++ Makefile.in Wed Mar 13 07:10:41 2002 | |
10 | @@ -12,6 +12,7 @@ | |
11 | LDFLAGS=@LDFLAGS@ | |
12 | ||
13 | INSTALLCMD=@INSTALL@ | |
14 | +INSTALLMAN=@INSTALL@ | |
15 | ||
16 | srcdir=@srcdir@ | |
17 | VPATH=$(srcdir) | |
18 | @@ -56,8 +57,8 @@ | |
19 | ${INSTALLCMD} -m 755 rsync ${bindir} | |
20 | -mkdir -p ${mandir}/man1 | |
21 | -mkdir -p ${mandir}/man5 | |
22 | - ${INSTALLCMD} -m 644 $(srcdir)/rsync.1 ${mandir}/man1 | |
23 | - ${INSTALLCMD} -m 644 $(srcdir)/rsyncd.conf.5 ${mandir}/man5 | |
24 | + ${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${mandir}/man1 | |
25 | + ${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${mandir}/man5 | |
26 | ||
27 | install-strip: | |
28 | $(MAKE) INSTALLCMD='$(INSTALLCMD) -s' install | |
29 | ||
30 | --- flist.c~ Wed Mar 13 06:45:36 2002 | |
31 | +++ flist.c Wed Mar 13 06:45:36 2002 | |
32 | @@ -101,7 +101,8 @@ | |
33 | { | |
34 | if (do_progress) { | |
35 | /* This overwrites the progress line */ | |
36 | - rprintf(FINFO, "%d files to consider\n", flist->count); | |
37 | + rprintf(FINFO, "%d file%sto consider\n", | |
38 | + flist->count, flist->count==1?" ":"s "); | |
39 | } else | |
40 | rprintf(FINFO, "done\n"); | |
41 | } | |
42 | ||
43 | ||
44 | -- | |
45 | | G r e g L o u i s | gpg public key: | | |
46 | | http://www.bgl.nu/~glouis | finger greg@bgl.nu | | |
47 | ||
48 | Header information for this message: | |
49 | Subject: Re: [PATCH] fix install-strip target in Makefile | |
50 | To: rsync@samba.org | |
51 | From: Greg Louis <glouis@dynamicro.on.ca> | |
52 | ||
53 | -- | |
54 | To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync | |
55 | Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html |