subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1802032 - /subversion/trunk/Makefile.in
Date Sat, 15 Jul 2017 21:26:41 GMT
Author: danielsh
Date: Sat Jul 15 21:26:41 2017
New Revision: 1802032

URL: http://svn.apache.org/viewvc?rev=1802032&view=rev
Log:
Install 'fsfs-stats' as a wrapper to 'svnfsfs', to which it was renamed in
r1618848.

Followup to r1618848.

* Makefile.in
  (INSTALL_EXTRA_TOOLS): Create fsfs-stats as a wrapper of 'svnfsfs stats'.

Modified:
    subversion/trunk/Makefile.in

Modified: subversion/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/subversion/trunk/Makefile.in?rev=1802032&r1=1802031&r2=1802032&view=diff
==============================================================================
--- subversion/trunk/Makefile.in (original)
+++ subversion/trunk/Makefile.in Sat Jul 15 21:26:41 2017
@@ -999,4 +999,11 @@ INSTALL_EXTRA_TOOLS=\
   if test "$(DESTDIR)$(bindir)" != "$(DESTDIR)$(toolsdir)"; then \
     ln -sf $(bindir)/svnmucc$(EXEEXT) $(DESTDIR)$(toolsdir)/svnmucc$(EXEEXT); \
     ln -sf $(bindir)/svnbench$(EXEEXT) $(DESTDIR)$(toolsdir)/svn-bench$(EXEEXT); \
-  fi
+  fi; \
+  printf '\043\041/bin/sh\n%s\n' \
+    'exec $(bindir)/svnfsfs stats $${2:+"-M"} $$2 $$1' \
+    > $(DESTDIR)$(toolsdir)/fsfs-stats$(EXEEXT) && \
+  chmod +x $(DESTDIR)$(toolsdir)/fsfs-stats$(EXEEXT)
+# \043\041 is a "#!".  It's written this way because gmake and bmake disagree on
+# how to include a literal '#' in a command, and because '!' is special to some
+# shells.



Mime
View raw message