From 5425262bc651626fedbdb8d4a12c820b22414c17 Mon Sep 17 00:00:00 2001 From: ellson Date: Sat, 26 Mar 2005 18:49:00 +0000 Subject: [PATCH] Add graphviz-perl, graphviz-python, graphviz-ruby rpm to graphviz.spec.in Clean up top source directory a bit by moving config_ruby.rb, etc to config/ --- Makefile.am | 4 +++- config_perl.pl | 14 -------------- config_python.py | 12 ------------ config_ruby.rb | 16 ---------------- config_tcl.tcl | 0 5 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 config_perl.pl delete mode 100644 config_python.py delete mode 100644 config_ruby.rb delete mode 100644 config_tcl.tcl diff --git a/Makefile.am b/Makefile.am index 4bccc4115..0e200312f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,6 +25,8 @@ EXTRA_DIST = $(txt) $(html) graphviz.spec.in graphviz.spec graphviz.cvt \ Makefile.old Config.mk configure.old INSTALL.old \ Makeargs config.h.old compat_getopt.h iffe \ m4/README m4/iconv.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 \ - makearch features awk windows config_ruby.rb + makearch features awk windows \ + config/config_perl.pl config/config_python.py \ + config/config_ruby.rb config/config_tcl.tcl DISTCLEANFILES = ast_common.h FEATURE/* graphviz-@VERSION@* diff --git a/config_perl.pl b/config_perl.pl deleted file mode 100644 index a54ecc530..000000000 --- a/config_perl.pl +++ /dev/null @@ -1,14 +0,0 @@ -use Config; - -$archlib = $Config{archlib}; - -print $archlib, "\n"; - -# if sys.argv[1] == "archlib": -# print sysconfig.get_python_lib(1,1) -# elif sys.argv[1] == "lib": -# print sysconfig.get_python_lib(0,1) -# elif sys.argv[1] == "archsitelib": -# print sysconfig.get_python_lib(1,0) -# elif sys.argv[1] == "sitelib": -# print sysconfig.get_python_lib(0,0) diff --git a/config_python.py b/config_python.py deleted file mode 100644 index b74704583..000000000 --- a/config_python.py +++ /dev/null @@ -1,12 +0,0 @@ -import sys -from distutils import sysconfig - -if sys.argv[1] == "archlib": - print sysconfig.get_python_lib(1,1) -elif sys.argv[1] == "lib": - print sysconfig.get_python_lib(0,1) -elif sys.argv[1] == "archsitelib": - print sysconfig.get_python_lib(1,0) -elif sys.argv[1] == "sitelib": - print sysconfig.get_python_lib(0,0) - diff --git a/config_ruby.rb b/config_ruby.rb deleted file mode 100644 index 9211cdd43..000000000 --- a/config_ruby.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'rbconfig' - -CONFIG = Config::MAKEFILE_CONFIG - - -case ARGV[0] -when "INCLUDES" - puts Config::expand(CONFIG["archdir"]) -when "lib" - puts Config::expand(CONFIG["libdir"]) -when "archsitelib" - puts Config::expand(CONFIG["sitearchdir"]) -when "sitelib" - puts Config::expand(CONFIG["sitedir"]) -end - diff --git a/config_tcl.tcl b/config_tcl.tcl deleted file mode 100644 index e69de29bb..000000000 -- 2.40.0