+MANIFEST.bak
test.cfg
INSTALL.html
INSTALL.txt
site/util/bse_session_clean.pl
site/util/bse_storage.pl
site/util/bse_thumb.pl
+site/util/bse_versiondeps.pl
site/util/bseaddimages.pl
site/util/bsexlsprod.pl
site/util/check_versions.pl
\.gitignore$
^\.svn/
/\.svn/
+^\.git/
^test\.cfg$
^test-.*cfg$
^nswfitc\.cfg$
DISTTGZ=$(DISTTAR).gz
WEBBASE=/home/httpd/html/bse
-MODULES=$(shell grep cgi-bin/.*\.pm MANIFEST | sed -e '/^\#/d' -e 's/[ \t].*// -e /^site\/cgi-bin\/modules\/BSE\/Modules\.pm$/d' )
+MODULES=$(shell grep cgi-bin/.*\.pm MANIFEST | sed -e '/^\#/d' -e 's/[ \t].*//' -e '/^site\/cgi-bin\/modules\/BSE\/\(Modules\|Version\)\.pm/d' )
+VERSIONDEPS=$(shell perl site/util/bse_versiondeps.pl MANIFEST)
help:
@echo make dist - build the tar.gz file and copy to distribution directory
version: site/cgi-bin/modules/BSE/Version.pm
-site/cgi-bin/modules/BSE/Version.pm: Makefile
+site/cgi-bin/modules/BSE/Version.pm: $(VERSIONDEPS)
perl site/util/bse_mkgitversion.pl $(VERSION) site/cgi-bin/modules/BSE/Version.pm
modversion: site/cgi-bin/modules/BSE/Modules.pm
--- /dev/null
+#!perl -l
+use strict;
+use ExtUtils::Manifest qw(maniread);
+
+my $mani_name = shift || "MANIFEST";
+
+my $mani = maniread($mani_name);
+
+for (sort { lc $a cmp lc $b } keys %$mani) {
+ /(Version|Modules)\.pm$/ and next;
+ /::/ and next;
+ print;
+}
+
+-d ".git" and print ".git";
my @check = `git status -s`;
chomp @check;
@check = sort grep /cgi-bin\/.*\.pm$/, @check;
-@check = grep !m(BSE/Modules\.pm), @check;
+@check = grep !m(BSE/(Modules|Version)\.pm), @check;
my @errors;
for my $check (@check) {
$check =~ /^D/ and next;