Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=01dfc510a7ed1ed8f635db1f08a70bb03b0f75c6

commit 01dfc510a7ed1ed8f635db1f08a70bb03b0f75c6
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sun May 25 22:59:27 2008 +0200

include/Makefile: don't use version from /etc/frugalware-release
- git describe is nice, but it's not available in chroot

diff --git a/source/include/Makefile b/source/include/Makefile
index c5f8539..b266eb5 100644
--- a/source/include/Makefile
+++ b/source/include/Makefile
@@ -15,7 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

-FST_VERSION := $(shell git describe)
+FST_VERSION := $(shell sed 's/.* \(.*\) .*/\1/' /etc/frugalware-release)
FST_DATE := $(shell date +%Y-%m-%d)

all: $(subst .sh,.sh.3,$(wildcard *.sh)) fwmakepkg.3
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to