groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff ChangeLog Makefile.in Makefile.sub


From: Werner LEMBERG
Subject: [Groff-commit] groff ChangeLog Makefile.in Makefile.sub
Date: Fri, 15 Oct 2004 01:28:58 -0400

CVSROOT:        /cvsroot/groff
Module name:    groff
Branch:         
Changes by:     Werner LEMBERG <address@hidden> 04/10/15 05:21:55

Modified files:
        .              : ChangeLog Makefile.in Makefile.sub 

Log message:
        * Makefile.in (check): Depend on `site.exp' and `docheck'.
        (docheck): Run dejagnu's `runtest' if it exists.
        (site.exp): Create dejagnu configuration file.
        
        * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/ChangeLog.diff?tr1=1.752&tr2=1.753&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/Makefile.in.diff?tr1=1.77&tr2=1.78&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/groff/groff/Makefile.sub.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.752 groff/ChangeLog:1.753
--- groff/ChangeLog:1.752       Fri Oct 15 05:08:35 2004
+++ groff/ChangeLog     Fri Oct 15 05:21:55 2004
@@ -1,3 +1,11 @@
+2004-10-14  Werner LEMBERG  <address@hidden>
+
+       * Makefile.in (check): Depend on `site.exp' and `docheck'.
+       (docheck): Run dejagnu's `runtest' if it exists.
+       (site.exp): Create dejagnu configuration file.
+
+       * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
+
 2004-10-13  Werner LEMBERG  <address@hidden>
 
        * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
Index: groff/Makefile.in
diff -u groff/Makefile.in:1.77 groff/Makefile.in:1.78
--- groff/Makefile.in:1.77      Thu Oct  7 10:59:38 2004
+++ groff/Makefile.in   Fri Oct 15 05:21:55 2004
@@ -713,8 +713,32 @@
          $(exampledir) $(htmldocdir) $(docdir) \
          $(libprogramdir) $(libdir)
 
-.PHONY: check
-check:
+.PHONY: check docheck
+check: site.exp docheck
+
+docheck:
+       if $(SHELL) -c "runtest --version" > /dev/null 2>&1; then \
+         runtest; \
+       else \
+         echo "WARNING: could not find \`runtest'" 1>&2; \
+       fi
+
+# This snippet has been taken from the automake package.
+
+site.exp:
+       @echo "Making a new site.exp file..."
+       @echo "## these variables are automatically generated by make ##" 
>site.tmp
+       @echo "# Do not edit here.  If you wish to override these values" 
>>site.tmp
+       @echo "# edit the last section" >>site.tmp
+       @echo "set tool groff" >>site.tmp
+       @echo "set srcdir $(srcdir)/testsuite" >>site.tmp
+       @echo "set objdir `pwd`" >> site.tmp
+       @echo "## All variables above are generated by configure.  Do not edit! 
##" >> site.tmp
+       @test ! -f site.exp \
+         || sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
+       @-rm -f site.bak
+       @test ! -f site.exp || mv site.exp site.bak
+       @mv site.tmp site.exp
 
 FORCE:
 
Index: groff/Makefile.sub
diff -u groff/Makefile.sub:1.10 groff/Makefile.sub:1.11
--- groff/Makefile.sub:1.10     Thu Jun 10 04:47:44 2004
+++ groff/Makefile.sub  Fri Oct 15 05:21:55 2004
@@ -5,7 +5,11 @@
   stamp-h \
   Makefile \
   test-groff \
-  src/include/config.h
+  src/include/config.h \
+  site.exp \
+  site.bak \
+  groff.sum \
+  groff.log
 CLEANADD=Makefile.cfg conftest*
 
 distfiles: configure




reply via email to

[Prev in Thread] Current Thread [Next in Thread]