changeset: 1909:8a96c0a396c3
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Feb 19 16:39:48 2007 -0500
summary: Fix config.mk version nastiness.
diff -r 76dc977b6281 -r 8a96c0a396c3 Makefile
--- a/Makefile Mon Feb 19 20:55:59 2007 +0100
+++ b/Makefile Mon Feb 19 16:39:48 2007 -0500
@@ -56,9 +56,9 @@ install: all
done
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
- @sed 's/VERSION/${VERSION}/g; s|CONFPREFIX|${CONFPREFIX}|g' < wmii.1 > ${DESTDIR}${MANPREFIX}/man1/wmii.1
- @sed 's/VERSION/${VERSION}/g' < wmiir.1 > ${DESTDIR}${MANPREFIX}/man1/wmiir.1
- @sed 's/VERSION/${VERSION}/g' < wmiiwm.1 > ${DESTDIR}${MANPREFIX}/man1/wmiiwm.1
+ @sed "s/VERSION/${VERSION}/g; s|CONFPREFIX|${CONFPREFIX}|g" < wmii.1 > ${DESTDIR}${MANPREFIX}/man1/wmii.1
+ @sed "s/VERSION/${VERSION}/g" < wmiir.1 > ${DESTDIR}${MANPREFIX}/man1/wmiir.1
+ @sed "s/VERSION/${VERSION}/g" < wmiiwm.1 > ${DESTDIR}${MANPREFIX}/man1/wmiiwm.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/wmii.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/wmiir.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/wmiiwm.1
diff -r 76dc977b6281 -r 8a96c0a396c3 config.mk
--- a/config.mk Mon Feb 19 20:55:59 2007 +0100
+++ b/config.mk Mon Feb 19 16:39:48 2007 -0500
@@ -1,5 +1,5 @@
# wmii version
-VERSION != hg tip | awk -F '[: ]+' '/^changeset:/ { print "hg" $$2 }'
+VERSION = $$(hg tip | awk -F '[: ]+' '/^changeset:/ { print "hg" $$2 }')
CONFVERSION = 3.5
# Customize below to fit your system
Received on Mon Feb 19 2007 - 22:43:46 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:31 UTC