Move distribution-supporting scripts to `dist`.
authorDavid E. Wheeler <david@justatheory.com>
Wed, 24 Oct 2012 23:52:14 +0000 (16:52 -0700)
committerDavid E. Wheeler <david@justatheory.com>
Wed, 24 Oct 2012 23:52:14 +0000 (16:52 -0700)
dist/README [new file with mode: 0644]
dist/bucardo.init [moved from scripts/bucardo.init with 100% similarity]
dist/bucardo.rc [moved from scripts/bucardo.rc with 100% similarity]
dist/bucardo.spec [moved from scripts/bucardo.spec with 100% similarity]
scripts/README
t/01-basic.t

diff --git a/dist/README b/dist/README
new file mode 100644 (file)
index 0000000..15c61b9
--- /dev/null
@@ -0,0 +1,15 @@
+This directory contains various distribution configuration files,
+patches, and start scripts.
+
+* bucardo.rc
+
+Sample BSD rc file for controlling Bucardo
+
+* bucardo.init
+
+Sample chkconfig-style start script for controlling Bucardo
+
+* bucardo.spec
+
+RPM spec file.
+
similarity index 100%
rename from scripts/bucardo.init
rename to dist/bucardo.init
similarity index 100%
rename from scripts/bucardo.rc
rename to dist/bucardo.rc
similarity index 100%
rename from scripts/bucardo.spec
rename to dist/bucardo.spec
index 9c7ab1136f51711485ae0ca0f3d9ac14d06969e7..7b1dba34b6a83ecbdc4e3eb2097db7940fcb657d 100644 (file)
@@ -1,9 +1,5 @@
 This directory contains various helper scripts.
 
-* bucardo.rc
-
-Sample rc file for controlling Bucardo
-
 * bucardo-report
 
 Web-based report on Bucardo activity
index 3273b5c718768b71da578c6007bbf3d8ca042692..cfc670db2dd478c7af86d7760310aefa6e9f71b0 100644 (file)
@@ -18,7 +18,7 @@ my @test_files = grep { /\.t$/ } readdir $dh;
 closedir $dh or warn qq{Could not close the 't' directory: $!\n};
 
 opendir $dh, 'scripts' or die qq{Could not open the 'scripts' directory};
-my @script_files = grep { /^[a-z]/ and ! /\.(?:rc|init|spec)$/ } readdir $dh;
+my @script_files = grep { /^[a-z]/ } readdir $dh;
 closedir $dh or warn qq{Could not close the 'scripts' directory: $!\n};
 
 plan tests => @important_files + @test_files + @script_files;