user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH] move executables to script/ directory
Date: Sat, 27 Feb 2016 21:59:47 +0000	[thread overview]
Message-ID: <20160227215947.17510-1-e@80x24.org> (raw)

This seems to match more closely with what is expected of Perl
packages based on how blib is used.  Hopefully makes the top-level
source tree less cluttered and things easier-to-find.
---
 Makefile.PL                                     | 2 +-
 public-inbox-httpd => script/public-inbox-httpd | 0
 public-inbox-index => script/public-inbox-index | 0
 public-inbox-init => script/public-inbox-init   | 0
 public-inbox-learn => script/public-inbox-learn | 0
 public-inbox-mda => script/public-inbox-mda     | 0
 public-inbox-nntpd => script/public-inbox-nntpd | 0
 public-inbox.cgi => script/public-inbox.cgi     | 0
 8 files changed, 1 insertion(+), 1 deletion(-)
 rename public-inbox-httpd => script/public-inbox-httpd (100%)
 mode change 100644 => 100755
 rename public-inbox-index => script/public-inbox-index (100%)
 rename public-inbox-init => script/public-inbox-init (100%)
 rename public-inbox-learn => script/public-inbox-learn (100%)
 rename public-inbox-mda => script/public-inbox-mda (100%)
 rename public-inbox-nntpd => script/public-inbox-nntpd (100%)
 rename public-inbox.cgi => script/public-inbox.cgi (100%)

diff --git a/Makefile.PL b/Makefile.PL
index 621baf6..8582203 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -3,7 +3,7 @@
 # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt)
 use strict;
 use ExtUtils::MakeMaker;
-my @EXE_FILES = split("\n", `git ls-files 'public-inbox*' 2>/dev/null`);
+my @EXE_FILES = split("\n", `git ls-files 'script/*' 2>/dev/null`);
 my $PM_FILES = `git ls-files lib '*.pm' 2>/dev/null`;
 $PM_FILES =~ tr/\n/ /;
 
diff --git a/public-inbox-httpd b/script/public-inbox-httpd
old mode 100644
new mode 100755
similarity index 100%
rename from public-inbox-httpd
rename to script/public-inbox-httpd
diff --git a/public-inbox-index b/script/public-inbox-index
similarity index 100%
rename from public-inbox-index
rename to script/public-inbox-index
diff --git a/public-inbox-init b/script/public-inbox-init
similarity index 100%
rename from public-inbox-init
rename to script/public-inbox-init
diff --git a/public-inbox-learn b/script/public-inbox-learn
similarity index 100%
rename from public-inbox-learn
rename to script/public-inbox-learn
diff --git a/public-inbox-mda b/script/public-inbox-mda
similarity index 100%
rename from public-inbox-mda
rename to script/public-inbox-mda
diff --git a/public-inbox-nntpd b/script/public-inbox-nntpd
similarity index 100%
rename from public-inbox-nntpd
rename to script/public-inbox-nntpd
diff --git a/public-inbox.cgi b/script/public-inbox.cgi
similarity index 100%
rename from public-inbox.cgi
rename to script/public-inbox.cgi
-- 
EW


                 reply	other threads:[~2016-02-27 21:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160227215947.17510-1-e@80x24.org \
    --to=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).