Respect with-cvs setting.
authordrepper <drepper>
Mon, 16 Feb 1998 17:40:50 +0000 (17:40 +0000)
committerdrepper <drepper>
Mon, 16 Feb 1998 17:40:50 +0000 (17:40 +0000)
posix/Makefile
stdlib/Makefile

index a055222..5927f31 100644 (file)
@@ -77,7 +77,9 @@ lib: $(objpfx)libposix.a
 testcases.h: TESTS TESTS2C.sed
        sed -f TESTS2C.sed < $< > $@T
        mv -f $@T $@
+ifeq ($(with-cvs),yes)
        test ! -d CVS || cvs $(CVSOPTS) commit -mRegenerated $@
+endif
 \f
 # Make the standalone glob/fnmatch package.
 
@@ -95,13 +97,17 @@ glob/%.h: %.h
 
 glob/configure: glob/configure.in
        cd glob; autoconf $(ACFLAGS)
+ifeq ($(with-cvs),yes)
        test ! -d CVS || cvs $(CVSOPTS) commit -m'Regenerated: autoconf $(ACFLAGS) $<' $@
+endif
 
 glob/ChangeLog: ../ChangeLog
        changelog-extract --regexp 'posix/(glob|fnmatch).*' < $< > $@.new
        chmod a-w $@.new
        mv -f $@.new $@
+ifeq ($(with-cvs),yes)
        test ! -d CVS || cvs $(CVSOPTS) commit -mRegenerated $@
+endif
 
 %.Z: %
        compress -c $< > $@-tmp
index 6db064d..85a5347 100644 (file)
@@ -113,7 +113,9 @@ $(mpn-copy): %: $(ignore gmp2glibc.sed) $(gmp-srcdir)/%; $(gmp2glibc)
 .PHONY: copy-mpn clean-mpn mpn-stuff
 mpn-stuff: $(mpn-stuff)
 copy-mpn: $(mpn-stuff)
+ifeq ($(with-cvs),yes)
        test ! -d CVS || cvs $(CVSOPTS) commit -m'Updated from $(gmp-srcdir)' $+
+endif
 clean-mpn:
        rm -f $(mpn-stuff)