[Pkg-ocaml-maint-commits] r965 - packages/advi/branches/split/debian

Helge Kreutzmann kreutzm-guest@costa.debian.org
Sat, 12 Feb 2005 13:30:57 +0100


Author: kreutzm-guest
Date: 2005-02-12 13:30:56 +0100 (Sat, 12 Feb 2005)
New Revision: 965

Modified:
   packages/advi/branches/split/debian/rules
Log:
*Patch source man page to refer to the always current
 advi version


Modified: packages/advi/branches/split/debian/rules
===================================================================
--- packages/advi/branches/split/debian/rules	2005-02-12 12:11:27 UTC (rev 964)
+++ packages/advi/branches/split/debian/rules	2005-02-12 12:30:56 UTC (rev 965)
@@ -89,7 +89,8 @@
 # FIXME We need to replace $Version (because we use the src, not the build one). Should we hardcode to the one found in
 #       the pre-build version? Right now simply copy if make clean killed it (on freshly unpacked source, we use the
 #       original; in the long run make clean has to be fixed
-	if [ ! -e doc/advi.1 ]; then cp -p doc_src/advi.man doc/advi.1; fi
+	#if [ ! -e doc/advi.1 ]; then cp -p doc_src/advi.man doc/advi.1; fi
+	if [ ! -e doc/advi.1 ]; then cat doc_src/advi.man|sed 's/$$version/$(VERSION)/' > doc/advi.1; fi
 
 	cd doc && $(MAKE)