summaryrefslogtreecommitdiff
path: root/share/mk/bsd.xorg.mk
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 13:53:46 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 13:53:46 +0000
commit12937a9e3a3ca6fbfc3820667cb8fd7cd1516801 (patch)
tree73c8cd2b62e927efa7d7a590619765f23f80b9b3 /share/mk/bsd.xorg.mk
parent5fee90746227554e6f8451bb51d8911148a5c88c (diff)
Cleanups: remove useless DIST and AUTOGEN variables
Diffstat (limited to 'share/mk/bsd.xorg.mk')
-rw-r--r--share/mk/bsd.xorg.mk12
1 files changed, 4 insertions, 8 deletions
diff --git a/share/mk/bsd.xorg.mk b/share/mk/bsd.xorg.mk
index 81d1f57ec..69c21fadb 100644
--- a/share/mk/bsd.xorg.mk
+++ b/share/mk/bsd.xorg.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.xorg.mk,v 1.2 2006/11/26 12:58:32 matthieu Exp $ -*- makefile -*-
+# $OpenBSD: bsd.xorg.mk,v 1.3 2006/11/26 13:53:45 matthieu Exp $ -*- makefile -*-
#
# Copyright © 2006 Matthieu Herrb
#
@@ -40,10 +40,6 @@ MANDIR= ${X11BASE}/man/cat
PKG_CONFIG_PATH= ${X11BASE}/lib/pkgconfig
-DIST?= ${.CURDIR}
-
-AUTOGEN= ${DIST}/autogen.sh
-
_cache= --cache-file=${XENOCARA_TOP}/xorg-config.cache.${MACHINE}
MAKE_ENV+= AUTOMAKE_VERSION="$(AUTOMAKE_VERSION)" \
@@ -85,7 +81,7 @@ config.status:
.else
config.status:
PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" \
- ${CONFIGURE_ENV} ${DIST}/configure --prefix=${X11BASE} \
+ ${CONFIGURE_ENV} ${.CURDIR}/configure --prefix=${X11BASE} \
--sysconfdir=/etc \
--mandir=${X11BASE}/man \
${_cache} \
@@ -98,9 +94,9 @@ depend:
@echo "no dependencies here yet"
.endif
-.if exists($(DIST)/.git)
+.if exists($(.CURDIR)/.git)
update:
- cd $(DIST); git pull
+ cd $(.CURDIR); git pull
.else
update:
@echo "no git repository to pull"