Author: wyoung
Date: Sun Mar 23 06:39:43 2008
New Revision: 2258

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2258&view=rev
Log:
Leaving doc subdir out of dist tarball if bootstrapped in nodoc mode

Modified:
    trunk/mysql++.bkl

Modified: trunk/mysql++.bkl
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/mysql%2B%2B.bkl?rev=2258&r1=2257&r2=2258&view=diff
==============================================================================
--- trunk/mysql++.bkl (original)
+++ trunk/mysql++.bkl Sun Mar 23 06:39:43 2008
@@ -438,25 +438,27 @@
             <command>cp config/*.m4 $(PKGNAME)/config</command>
 
             <!-- doc subdir -->
-                       <command>
-                               cp -RL doc/README* doc/pdf doc/ssqls-pretty 
$(PKGNAME)/doc
-                       </command>
-                       <command>
-                               for f in LICENSE.txt Makefile mktxt README.txt 
\*.{dbx,in,xsl} ; \
-                               do \
-                                       cp doc/userman/$(DDF) 
$(PKGNAME)/doc/userman ; \
-                               done
-                       </command>
-                       <command>
-                               for d in refman userman ; do \
-                                       for f in *.{css,html} ; do \
-                                               cp doc/html/$(DDD)/$(DDF) 
$(PKGNAME)/doc/html/$(DDD) ; \
-                                       done ; \
-                               done
-                       </command>
-                       <command>
-                               cp doc/html/refman/*.png 
$(PKGNAME)/doc/html/refman
-                       </command>
+            <if cond="BUILDDOCS=='yes'">
+                               <command>
+                                       cp -RL doc/README* doc/pdf 
doc/ssqls-pretty $(PKGNAME)/doc
+                               </command>
+                               <command>
+                                       for f in LICENSE.txt Makefile mktxt 
README.txt \*.{dbx,in,xsl} ; \
+                                       do \
+                                               cp doc/userman/$(DDF) 
$(PKGNAME)/doc/userman ; \
+                                       done
+                               </command>
+                               <command>
+                                       for d in refman userman ; do \
+                                               for f in *.{css,html} ; do \
+                                                       cp 
doc/html/$(DDD)/$(DDF) $(PKGNAME)/doc/html/$(DDD) ; \
+                                               done ; \
+                                       done
+                               </command>
+                               <command>
+                                       cp doc/html/refman/*.png 
$(PKGNAME)/doc/html/refman
+                               </command>
+                       </if>
 
             <!-- examples subdir -->
             <command>


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to