automatically fill in the currently used release of OpenBSD before
installing .fvmwrc (it's affecting the pager). help & ok matthieu@
This commit is contained in:
parent
47f81ecd81
commit
8da46d9539
@ -1,15 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2006/12/02 16:28:48 matthieu Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2007/03/25 19:35:56 aanriot Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
NOOBJ=Yes
|
||||
OSRELEASE=`/sbin/sysctl -n kern.osrelease 2>&1`
|
||||
RM?=rm
|
||||
|
||||
depend:
|
||||
|
||||
all:
|
||||
@sed -e "s,__osrelease__,${OSRELEASE}," \
|
||||
${.CURDIR}/system.fvwmrc > .fvwmrc
|
||||
|
||||
install:
|
||||
${INSTALL} ${INSTALL_COPY} ${.CURDIR}/system.fvwmrc \
|
||||
${INSTALL} ${INSTALL_COPY} .fvwmrc \
|
||||
${DESTDIR}${FVWMLIBDIR}/.fvwmrc
|
||||
${INSTALL} ${INSTALL_COPY} ${.CURDIR}/system.fvwm2rc \
|
||||
${DESTDIR}${FVWMLIBDIR}
|
||||
@ -23,6 +27,7 @@ install:
|
||||
${DESTDIR}${FVWMLIBDIR}
|
||||
|
||||
clean:
|
||||
${RM} -f .fvwmrc
|
||||
|
||||
cleandir:
|
||||
|
||||
|
@ -351,7 +351,7 @@ Key F8 A M CirculateDown
|
||||
*FvwmPagerFore white
|
||||
*FvwmPagerHilight #2d2d2d
|
||||
*FvwmPagerGeometry 80x60-1-1
|
||||
*FvwmPagerLabel 0 "OpenBSD 4.1"
|
||||
*FvwmPagerLabel 0 "OpenBSD __osrelease__"
|
||||
*FvwmPagerLabel 1 Maker
|
||||
*FvwmPagerLabel 2 Mail
|
||||
*FvwmPagerLabel 3 Matlab
|
||||
|
Loading…
Reference in New Issue
Block a user