Cleanups: remove useless DIST and AUTOGEN variables

This commit is contained in:
matthieu 2006-11-26 13:53:45 +00:00
parent e5ca1d526f
commit 6a52ae0868

View File

@ -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 # Copyright © 2006 Matthieu Herrb
# #
@ -40,10 +40,6 @@ MANDIR= ${X11BASE}/man/cat
PKG_CONFIG_PATH= ${X11BASE}/lib/pkgconfig PKG_CONFIG_PATH= ${X11BASE}/lib/pkgconfig
DIST?= ${.CURDIR}
AUTOGEN= ${DIST}/autogen.sh
_cache= --cache-file=${XENOCARA_TOP}/xorg-config.cache.${MACHINE} _cache= --cache-file=${XENOCARA_TOP}/xorg-config.cache.${MACHINE}
MAKE_ENV+= AUTOMAKE_VERSION="$(AUTOMAKE_VERSION)" \ MAKE_ENV+= AUTOMAKE_VERSION="$(AUTOMAKE_VERSION)" \
@ -85,7 +81,7 @@ config.status:
.else .else
config.status: config.status:
PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" \ PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" \
${CONFIGURE_ENV} ${DIST}/configure --prefix=${X11BASE} \ ${CONFIGURE_ENV} ${.CURDIR}/configure --prefix=${X11BASE} \
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=${X11BASE}/man \ --mandir=${X11BASE}/man \
${_cache} \ ${_cache} \
@ -98,9 +94,9 @@ depend:
@echo "no dependencies here yet" @echo "no dependencies here yet"
.endif .endif
.if exists($(DIST)/.git) .if exists($(.CURDIR)/.git)
update: update:
cd $(DIST); git pull cd $(.CURDIR); git pull
.else .else
update: update:
@echo "no git repository to pull" @echo "no git repository to pull"