bail out compilation when meinproc fails

Dirk Mueller mueller at kde.org
Thu Jan 23 19:08:49 GMT 2003


Hi, 

currently there seem to be several documentations which do not compile 
properly. However, this doesn't stop the build process. I think thats a 
fault, because otherwise nobody will ever get around fixing them. 

The tarballs have pregenerated caches, so it is not a problem for users as 
long as all docbooks properly compile. 

comments?


-- 
Dirk (received 618 mails today)
-------------- next part --------------
Index: am_edit
===================================================================
RCS file: /home/kde/kde-common/admin/am_edit,v
retrieving revision 1.355
diff -u -5 -d -p -r1.355 am_edit
--- am_edit	3 Jan 2003 03:02:42 -0000	1.355
+++ am_edit	23 Jan 2003 19:08:45 -0000
@@ -1650,11 +1650,11 @@ sub tag_DOCFILES ()
         $lines .= "KDE_XSL_STYLESHEET=/\$(kde_datadir)/ksgmltools2/customization/kde-chunk.xsl\n";
       }
       $lookup = '\nindex.cache.bz2:';
       if ($MakefileData !~ /\n($lookup)/) {
          $lines .= "index.cache.bz2: \$(srcdir)/index.docbook \$(KDE_XSL_STYLESHEET) $files\n";
-         $lines .= "\t\@if test -n \"\$(MEINPROC)\"; then echo \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook || true; fi\n";
+         $lines .= "\t\@if test -n \"\$(MEINPROC)\"; then echo \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; fi\n";
          $lines .= "\n";
       }
 
       $lines .= "docs-am: index.cache.bz2\n";
       $lines .= "\n";


More information about the kde-core-devel mailing list