From c40aac5ed9ff343b22f13be4004e7fe29590e191 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 19 Apr 2011 17:10:13 +0000 Subject: [PATCH] create graphviz-version during make, not by obscure graphviz-build mechanism --- Makefile.am | 5 +++++ graphviz_version.h | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) delete mode 100644 graphviz_version.h diff --git a/Makefile.am b/Makefile.am index 0e66ab51d..ae1137478 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,6 +28,11 @@ dist-hook: # rm -f ToPAS # find $(distdir) -type f -exec md5sum {} >>ToPAS \; +BUILT_SOURCES = graphviz_version.h + +graphviz_version.h: config.h + $(GREP) 'PACKAGE\|VERSION\|GVPLUGIN' config.h > graphviz_version.h + EXTRA_DIST = $(txt) $(html) graphviz.spec.in graphviz.spec \ autogen.sh config/depcomp config/config.rpath \ builddate.h ast_common.h.in compat.h \ diff --git a/graphviz_version.h b/graphviz_version.h deleted file mode 100644 index 40a2f1fcb..000000000 --- a/graphviz_version.h +++ /dev/null @@ -1 +0,0 @@ -/* This is a stub - the real one is generated during packaging */ -- 2.40.0