Update of /cvsroot/mahogany/M/redhat
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23977/redhat

Modified Files:
        M.spec 
Log Message:
test for Mdocs.tar.gz existence if we don't have the tools to regenerate it (bug 874)

Index: M.spec
===================================================================
RCS file: /cvsroot/mahogany/M/redhat/M.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -b -u -2 -r1.34 -r1.35
--- M.spec      9 Jul 2004 12:50:14 -0000       1.34
+++ M.spec      9 Jul 2004 12:55:50 -0000       1.35
@@ -73,4 +73,13 @@
 fi
 
+# also check if we have everything we need to build the docs (bug 874)
+if [ $(echo @MAKE_HAVE_DOCTOOLS@ | \
+        sed `grep MAKE_HAVE_DOCTOOLS config.status`) = "no" ]; then
+    if [ ! -f doc/Mdocs-%{VERSION}.tar.gz ]; then
+        echo "Please download Mdocs-%{VERSION}.tar.gz file or install "\
+             "the missing tools required for the docs generation!"
+        exit 1
+fi
+
 # we have to fix M_PREFIX in config.h because the package will be later
 # installed in just %prefix, so fallback paths hardcoded into the binary



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to