From d78bef2a27bb3f0db3accb0aeaa7ba963a6df9bb Mon Sep 17 00:00:00 2001 From: Brice Goglin Date: Thu, 23 Jan 2014 15:54:20 +0100 Subject: [PATCH] dist: don't automatically rebuild doxygen on each make dist Warn if the doc doesn't exist, or just use what's already there. contrib/dist/make_dist_tarball takes care of removing/recreating the doc, and the doc is already correctly rebuilt in most cases, it is built by make dist when not already available. No need to keep complex rules for always rebuilding the doc just in case somebody ever builds a tarball manually and ends up containing an outdated doc for some reason. Remove --enable-doxygen from make distcheck now that things are simple. --- Makefile.am | 5 +--- config/distscript.csh | 58 ++++--------------------------------------- 2 files changed, 6 insertions(+), 57 deletions(-) diff --git a/Makefile.am b/Makefile.am index 119c1e97..45915252 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# Copyright © 2009 inria. All rights reserved. +# Copyright © 2009-2014 Inria. All rights reserved. # Copyright © 2009 Université Bordeaux 1 # Copyright © 2009-2010 Cisco Systems, Inc. All rights reserved. # See COPYING in top-level directory. @@ -44,9 +44,6 @@ EXTRA_DIST = \ if HWLOC_BUILD_STANDALONE dist-hook: csh "$(top_srcdir)/config/distscript.csh" "$(top_srcdir)" "$(distdir)" "$(HWLOC_VERSION)" - -# make sure configure/make-dist during distcheck gets doxygen force-enabled -AM_DISTCHECK_CONFIGURE_FLAGS = --enable-doxygen endif HWLOC_BUILD_STANDALONE # diff --git a/config/distscript.csh b/config/distscript.csh index e5282238..ce1e6d69 100755 --- a/config/distscript.csh +++ b/config/distscript.csh @@ -10,7 +10,7 @@ # University of Stuttgart. All rights reserved. # Copyright (c) 2004-2005 The Regents of the University of California. # All rights reserved. -# Copyright © 2010 inria. All rights reserved. +# Copyright © 2010-2014 Inria. All rights reserved. # Copyright © 2009-2013 Cisco Systems, Inc. All rights reserved. # $COPYRIGHT$ # @@ -39,14 +39,6 @@ endif #======================================================================== -if ("$srcdir" != "$builddir") then - set vpath=1 - set vpath_msg=yes -else - set vpath=0 - set vpath_msg=no -endif - set start=`date` cat <