OSSP CVS Repository

ossp - Check-in [985]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 985
Date: 2001-Sep-13 15:59:51 (local)
2001-Sep-13 13:59:51 (UTC)
User:thl
Branch:
Comment: update also README on 'make new-version'
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/Makefile.in      1.23 -> 1.24     3 inserted, 1 deleted

ossp-pkg/lmtp2nntp/Makefile.in 1.23 -> 1.24

--- Makefile.in  2001/09/13 13:45:12     1.23
+++ Makefile.in  2001/09/13 13:59:51     1.24
@@ -110,7 +110,9 @@
         -rm -f shtool
 
 new-version:
-        $(SHTOOL) version -lc -n lmtp2nntp -p lmtp2nntp_ -e version.c
+        @$(SHTOOL) version -lc -n lmtp2nntp -p lmtp2nntp_ -e version.c; \
+        V=`$(SHTOOL) version -lc -dlong version.c`; \
+        sed -e "s/Version .*(.*)/Version $$V/g" <README >README.n && mv README.n README
 
 dist: distclean
         @$(SHTOOL) fixperm -v .; \

CVSTrac 2.0.1