Touch files that would be modified by autotools to avoid un-needed
calls to automake and autoconf. Code stolen from ports tree. suggested by espie@. Tested by todd@.
This commit is contained in:
parent
cd6282e78f
commit
62b9503840
35
share/mk/automake.dep
Normal file
35
share/mk/automake.dep
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# $OpenBSD: automake.dep,v 1.1 2007/03/17 19:32:42 matthieu Exp $
|
||||||
|
configure configure.ac
|
||||||
|
configure configure.in
|
||||||
|
/Makefile.in /Makefile.am
|
||||||
|
/Makefile.in configure.in
|
||||||
|
/Makefile.in configure.ac
|
||||||
|
/Makefile.in aclocal.m4
|
||||||
|
aclocal.m4 configure.in
|
||||||
|
aclocal.m4 configure.ac
|
||||||
|
aclocal.m4 acinclude.m4
|
||||||
|
/config.h.in configure.in
|
||||||
|
/config.h.in configure.ac
|
||||||
|
/config.h.in aclocal.m4
|
||||||
|
configure configure.in
|
||||||
|
configure configure.ac
|
||||||
|
configure aclocal.m4
|
||||||
|
stamp-h.in configure.in
|
||||||
|
stamp-h.in configure.ac
|
||||||
|
stamp-h.in aclocal.m4
|
||||||
|
stamp-h.in acconfig.h
|
||||||
|
# kde files
|
||||||
|
acinclude.m4 admin/cvs.sh
|
||||||
|
configure.in admin/cvs.sh
|
||||||
|
/Makefile.am admin/cvs.sh
|
||||||
|
subdirs admin/cvs.sh
|
||||||
|
/Makefile.am subdirs
|
||||||
|
/Makefile.am /Makefile.am.in
|
||||||
|
subdirs /Makefile.am.in
|
||||||
|
configure.files subdirs
|
||||||
|
configure.files /configure.in.in
|
||||||
|
configure.files admin/configure.in.min
|
||||||
|
configure.in configure.files
|
||||||
|
acinclude.m4 admin/libtool.m4.in
|
||||||
|
acinclude.m4 admin/acinclude.m4.in
|
||||||
|
acinclude.m4 libltdl/ltdl.m4
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: bsd.xorg.mk,v 1.12 2007/02/04 23:15:27 matthieu Exp $ -*- makefile -*-
|
# $OpenBSD: bsd.xorg.mk,v 1.13 2007/03/17 19:32:41 matthieu Exp $ -*- makefile -*-
|
||||||
#
|
#
|
||||||
# Copyright © 2006 Matthieu Herrb
|
# Copyright © 2006 Matthieu Herrb
|
||||||
#
|
#
|
||||||
@ -67,10 +67,28 @@ all: config.status
|
|||||||
${MAKE_ENV} ${MAKE} ${_lt_libs}
|
${MAKE_ENV} ${MAKE} ${_lt_libs}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
||||||
|
REORDER_DEPENDENCIES += ${X11BASE}/share/mk/automake.dep
|
||||||
|
|
||||||
.if !target(config.status)
|
.if !target(config.status)
|
||||||
config.status:
|
config.status:
|
||||||
.if defined(XENOCARA_RERUN_AUTOCONF) && ${XENOCARA_RERUN_AUTOCONF:L} == "yes"
|
.if defined(XENOCARA_RERUN_AUTOCONF) && ${XENOCARA_RERUN_AUTOCONF:L} == "yes"
|
||||||
cd ${.CURDIR}; ${MAKE_ENV} autoreconf -v --install --force
|
cd ${.CURDIR}; ${MAKE_ENV} autoreconf -v --install --force
|
||||||
|
.else
|
||||||
|
@sed -e '/^#/d' ${REORDER_DEPENDENCIES} | \
|
||||||
|
tsort -r|while read f; do \
|
||||||
|
cd ${.CURDIR}; \
|
||||||
|
case $$f in \
|
||||||
|
/*) \
|
||||||
|
find . -name $${f#/} -print| while read i; \
|
||||||
|
do echo "Touching $$i"; touch $$i; done \
|
||||||
|
;; \
|
||||||
|
*) \
|
||||||
|
if test -e $$f ; then \
|
||||||
|
echo "Touching $$f"; touch $$f; \
|
||||||
|
fi \
|
||||||
|
;; \
|
||||||
|
esac; done
|
||||||
.endif
|
.endif
|
||||||
PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" CFLAGS="$(CFLAGS:C/ *$//)" \
|
PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" CFLAGS="$(CFLAGS:C/ *$//)" \
|
||||||
${CONFIGURE_ENV} ${.CURDIR}/configure --prefix=${X11BASE} \
|
${CONFIGURE_ENV} ${.CURDIR}/configure --prefix=${X11BASE} \
|
||||||
|
Loading…
Reference in New Issue
Block a user