[rkward-cvs] rkward/rkward/plugins makemakefileam.php,NONE,1.1 Makefile.am,1.8,1.9

Thomas Friedrichsmeier tfry at users.sourceforge.net
Fri Apr 15 14:52:52 UTC 2005


Update of /cvsroot/rkward/rkward/rkward/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6239

Modified Files:
	Makefile.am 
Added Files:
	makemakefileam.php 
Log Message:
Regenerated Makefile.am for plugins-dir and adding generation script to CVS

--- NEW FILE: makemakefileam.php ---
#!/usr/bin/php
<?

# filthy script to generate a Makefile.am for the plugins-directory, installing all plugins as found.
# usage: (in plugins dir)
# ./makemakefileam.php > Makefile.am

readsubs ("", "plugins");

function readsubs ($dir, $prefix) {
	if ($dir == "") {
		$thisdir = opendir (".");
		$ndir = "";
	} else {
		$thisdir = opendir ($dir);
		$ndir = $dir . "/";
	}
	$subdirs = array ();
	$files = array ();
	
	echo (strtr ($prefix, "/", "X") . "dir = $(kde_datadir)/rkward/" . $dir . "\n");
	
	while (false !== ($file = readdir($thisdir))) {
		if (!is_dir ($ndir . $file)) {
			if (($file == "description.xml") || ($file == "code.php")) {
				array_push ($files, $file);
			}
		}  else {
			if (($file != ".") && ($file != "..") && ($file != "CVS")) {
				array_push ($subdirs, $file);
			} 
		}
	}

	if (count ($files)) {
		echo ("dist_" . strtr ($prefix, "/", "X") . "_DATA =");
		
		foreach ($files as $item) {
			echo (" \\\n\t" . $ndir . $item);
		}
		echo ("\n\n");
	}
	
	foreach ($subdirs as $sub) {
		readsubs ($ndir . $sub, $prefix . "/" . strtr ($sub, "_.", "UD"));
	}
	
	closedir ($thisdir);
}
?>
Index: Makefile.am
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Makefile.am	15 Aug 2004 20:06:20 -0000	1.8
--- Makefile.am	15 Apr 2005 14:52:50 -0000	1.9
***************
*** 1,51 ****
! pluginsdir = $(kde_datadir)/rkward/plugins
  dist_plugins_DATA = \
  	description.xml
  
! pluginsX20descriptivedir = $(kde_datadir)/rkward/plugins/20descriptive
! dist_pluginsX20descriptive_DATA = \
! 	20descriptive/code.php \
! 	20descriptive/description.xml
! 
! pluginsXcorr_matrixdir = $(kde_datadir)/rkward/plugins/corr_matrix
! dist_pluginsXcorr_matrix_DATA = \
! 	corr_matrix/code.php \
! 	corr_matrix/description.xml
! 
! pluginsXsimple_anovadir = $(kde_datadir)/rkward/plugins/simple_anova
! dist_pluginsXsimple_anova_DATA = \
! 	simple_anova/code.php \
! 	simple_anova/description.xml
! 
! pluginsX00meansdir = $(kde_datadir)/rkward/plugins/00means
  dist_pluginsX00means_DATA = \
  	00means/description.xml
  
! pluginsX00meansX00ttestsdir = $(kde_datadir)/rkward/plugins/00means/00ttests
  dist_pluginsX00meansX00ttests_DATA = \
  	00means/00ttests/description.xml
  
! pluginsX00meansX00ttestsX00independent_samplesdir = $(kde_datadir)/rkward/plugins/00means/00ttests/00independent_samples
! dist_pluginsX00meansX00ttestsX00independent_samples_DATA = \
! 	00means/00ttests/00independent_samples/description.xml \
! 	00means/00ttests/00independent_samples/code.php
! 
! pluginsX00meansX00ttestsX10fictionaldir = $(kde_datadir)/rkward/plugins/00means/00ttests/10fictional
  dist_pluginsX00meansX00ttestsX10fictional_DATA = \
! 	00means/00ttests/10fictional/description.xml \
! 	00means/00ttests/10fictional/code.php
  
! pluginsX00meansX51pseudotestdir = $(kde_datadir)/rkward/plugins/00means/51pseudotest
  dist_pluginsX00meansX51pseudotest_DATA = \
! 	00means/51pseudotest/description.xml \
! 	00means/51pseudotest/code.php
  
! pluginsX10frequencydir = $(kde_datadir)/rkward/plugins/10frequency
  dist_pluginsX10frequency_DATA = \
  	10frequency/description.xml
  
! pluginsX10frequencyX00peudotestdir = $(kde_datadir)/rkward/plugins/10frequency/00peudotest
  dist_pluginsX10frequencyX00peudotest_DATA = \
! 	10frequency/00peudotest/description.xml \
! 	10frequency/00peudotest/code.php
  
--- 1,117 ----
! pluginsdir = $(kde_datadir)/rkward/
  dist_plugins_DATA = \
  	description.xml
  
! pluginsX00meansdir = $(kde_datadir)/rkward/00means
  dist_pluginsX00means_DATA = \
  	00means/description.xml
  
! pluginsX00meansX00ttestsdir = $(kde_datadir)/rkward/00means/00ttests
  dist_pluginsX00meansX00ttests_DATA = \
  	00means/00ttests/description.xml
  
! pluginsX00meansX00ttestsX10fictionaldir = $(kde_datadir)/rkward/00means/00ttests/10fictional
  dist_pluginsX00meansX00ttestsX10fictional_DATA = \
! 	00means/00ttests/10fictional/code.php \
! 	00means/00ttests/10fictional/description.xml
  
! pluginsX00meansX00ttestsX00independentUsamplesdir = $(kde_datadir)/rkward/00means/00ttests/00independent_samples
! dist_pluginsX00meansX00ttestsX00independentUsamples_DATA = \
! 	00means/00ttests/00independent_samples/code.php \
! 	00means/00ttests/00independent_samples/description.xml
! 
! pluginsX00meansX51pseudotestdir = $(kde_datadir)/rkward/00means/51pseudotest
  dist_pluginsX00meansX51pseudotest_DATA = \
! 	00means/51pseudotest/code.php \
! 	00means/51pseudotest/description.xml
  
! pluginsX00saveloaddir = $(kde_datadir)/rkward/00saveload
! dist_pluginsX00saveload_DATA = \
! 	00saveload/description.xml
! 
! pluginsX00saveloadXloaddir = $(kde_datadir)/rkward/00saveload/load
! dist_pluginsX00saveloadXload_DATA = \
! 	00saveload/load/description.xml
! 
! pluginsX00saveloadXloadXloaddir = $(kde_datadir)/rkward/00saveload/load/load
! dist_pluginsX00saveloadXloadXload_DATA = \
! 	00saveload/load/load/code.php \
! 	00saveload/load/load/description.xml
! 
! pluginsX00saveloadXloadXreadtabledir = $(kde_datadir)/rkward/00saveload/load/readtable
! dist_pluginsX00saveloadXloadXreadtable_DATA = \
! 	00saveload/load/readtable/code.php \
! 	00saveload/load/readtable/description.xml
! 
! pluginsX00saveloadXloadXsourcedir = $(kde_datadir)/rkward/00saveload/load/source
! dist_pluginsX00saveloadXloadXsource_DATA = \
! 	00saveload/load/source/code.php \
! 	00saveload/load/source/description.xml
! 
! pluginsX00saveloadXsavedir = $(kde_datadir)/rkward/00saveload/save
! dist_pluginsX00saveloadXsave_DATA = \
! 	00saveload/save/description.xml
! 
! pluginsX00saveloadXsaveXsavedir = $(kde_datadir)/rkward/00saveload/save/save
! dist_pluginsX00saveloadXsaveXsave_DATA = \
! 	00saveload/save/save/code.php \
! 	00saveload/save/save/description.xml
! 
! pluginsX00saveloadXsaveXskeletondir = $(kde_datadir)/rkward/00saveload/save/skeleton
! dist_pluginsX00saveloadXsaveXskeleton_DATA = \
! 	00saveload/save/skeleton/code.php \
! 	00saveload/save/skeleton/description.xml
! 
! pluginsX00saveloadXsaveXwritedir = $(kde_datadir)/rkward/00saveload/save/write
! dist_pluginsX00saveloadXsaveXwrite_DATA = \
! 	00saveload/save/write/code.php \
! 	00saveload/save/write/description.xml
! 
! pluginsX02plotsdir = $(kde_datadir)/rkward/02plots
! dist_pluginsX02plots_DATA = \
! 	02plots/description.xml
! 
! pluginsX02plotsXscatterplotdir = $(kde_datadir)/rkward/02plots/scatterplot
! dist_pluginsX02plotsXscatterplot_DATA = \
! 	02plots/scatterplot/code.php \
! 	02plots/scatterplot/description.xml
! 
! pluginsX10frequencydir = $(kde_datadir)/rkward/10frequency
  dist_pluginsX10frequency_DATA = \
  	10frequency/description.xml
  
! pluginsX10frequencyX00peudotestdir = $(kde_datadir)/rkward/10frequency/00peudotest
  dist_pluginsX10frequencyX00peudotest_DATA = \
! 	10frequency/00peudotest/code.php \
! 	10frequency/00peudotest/description.xml
! 
! pluginsX20descriptivedir = $(kde_datadir)/rkward/20descriptive
! dist_pluginsX20descriptive_DATA = \
! 	20descriptive/code.php \
! 	20descriptive/description.xml
! 
! pluginsXcorrUmatrixdir = $(kde_datadir)/rkward/corr_matrix
! dist_pluginsXcorrUmatrix_DATA = \
! 	corr_matrix/code.php \
! 	corr_matrix/description.xml
! 
! pluginsXreadtabledir = $(kde_datadir)/rkward/readtable
! dist_pluginsXreadtable_DATA = \
! 	readtable/code.php \
! 	readtable/description.xml
! 
! pluginsXsimpleUanovadir = $(kde_datadir)/rkward/simple_anova
! dist_pluginsXsimpleUanova_DATA = \
! 	simple_anova/code.php \
! 	simple_anova/description.xml
! 
! pluginsXuni1D2dir = $(kde_datadir)/rkward/uni1.2
! dist_pluginsXuni1D2_DATA = \
! 	uni1.2/code.php \
! 	uni1.2/description.xml
! 
! pluginsXwritetabledir = $(kde_datadir)/rkward/writetable
! dist_pluginsXwritetable_DATA = \
! 	writetable/code.php \
! 	writetable/description.xml
  





More information about the rkward-tracker mailing list