subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pet...@apache.org
Subject svn commit: r1033665 - /subversion/trunk/Makefile.in
Date Wed, 10 Nov 2010 19:35:46 GMT
Author: peters
Date: Wed Nov 10 19:35:45 2010
New Revision: 1033665

URL: http://svn.apache.org/viewvc?rev=1033665&view=rev
Log:
* Makefile.in
  (revision-install): Followup r1033290 with an equivalent but slightly
   cleaner way to write svn-revision.txt.

Modified:
    subversion/trunk/Makefile.in

Modified: subversion/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/subversion/trunk/Makefile.in?rev=1033665&r1=1033664&r2=1033665&view=diff
==============================================================================
--- subversion/trunk/Makefile.in (original)
+++ subversion/trunk/Makefile.in Wed Nov 10 19:35:45 2010
@@ -412,12 +412,11 @@ local-install: @INSTALL_RULES@
 
 ### HACK!! Find a better way to do this
 revision-install:
-	subversion/svnversion/svnversion $(top_srcdir) $(TRUNK_TRAIL_URL) > \
-	    $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt ||        \
-	  svnversion $(top_srcdir) $(TRUNK_TRAIL_URL) >                     \
-	    $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt ||        \
-	    echo "unknown" >                                                \
-	      $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
+	$(MKDIR) $(DESTDIR)$(includedir)/subversion-1
+	(subversion/svnversion/svnversion $(top_srcdir) $(TRUNK_TRAIL_URL) || \
+	 svnversion $(top_srcdir) $(TRUNK_TRAIL_URL) ||                       \
+	 echo "unknown";                                                      \
+	) > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
 
 install-static: @INSTALL_STATIC_RULES@
 



Mime
View raw message