]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
- better check VERSION - don't need install rc-script, bsp in builder
authorareq <areq@pld-linux.org>
Fri, 8 Aug 2003 14:09:14 +0000 (14:09 +0000)
committerareq <areq@pld-linux.org>
Fri, 8 Aug 2003 14:09:14 +0000 (14:09 +0000)
svn-id: @1272

Makefile

index 1e688aace4c169421b6d5302b834a2a5a30ff316..13633f614107d363f7ca958d9217b3bae674d0c4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION=$(shell ./geninitrd --version 2>/dev/null|awk '{print $$3}')
+VERSION=$(shell awk '/^RCSID=/ {print $$3}' geninitrd)
 FILES=Makefile geninitrd.sysconfig geninitrd geninitrd.8 geninitrd.8.xml
 BUILDROOT=$(DESTDIR)
 
This page took 0.744544 seconds and 4 git commands to generate.