bug-cvs
[Top][All Lists]
Advanced

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

[PATCH] handle cvs.spec like any other


From: Alexey Mahotkin
Subject: [PATCH] handle cvs.spec like any other
Date: Tue, 7 Aug 2001 23:25:44 +0400 (MSD)

I do not think there is any need in the special-case generation of
cvs.spec.  I'm tired of cases where cvs.spec gets updated only after I
make dist.  

I hope the following patch is obviously correct:

--- ccvs/Makefile.am    Mon May 21 17:29:47 2001
+++ ccvs-fixed/Makefile.am      Tue Aug  7 11:39:14 2001
@@ -54,16 +54,6 @@
 doc:
        cd doc && $(MAKE) $(AM_MAKEFLAGS) "$@"
 
-## cvs.spec  ##
-# - cvs.spec needs to be updated only once, since it depends on
-#   configure.in, not on the results of a 'configure' run.
-# - It is guaranteed (with GNU Make) that when the version in configure.in
-#   is changed, acversion.m4 is built only after the new version number is
-#   propagated to the Makefile.  (Libtool uses the same guarantee.)
-cvs.spec: $(srcdir)/cvs.spec.in $(top_srcdir)/configure.in
-       sed 's,@VERSION\@,$(VERSION),g' $(srcdir)/cvs.spec.in >cvs.tspec
-       mv cvs.tspec $(srcdir)/cvs.spec
-
 # for backwards compatibility with the old makefiles
 .PHONY: realclean
 realclean: maintainer-clean
--- ccvs/configure.in   Tue Aug  7 11:34:47 2001
+++ ccvs-fixed/configure.in     Tue Aug  7 11:39:00 2001
@@ -381,6 +381,7 @@
 )
 
 AC_OUTPUT([Makefile \
+         cvs.spec \
          contrib/Makefile \
          contrib/clmerge \
          contrib/cln_hist \


--alexm



reply via email to

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