[Rt-commit] [rtir] 01/01: Switch to using .in files
Kevin Falcone
falcone at bestpractical.com
Tue Apr 30 18:53:55 EDT 2013
This is an automated email from the git hooks/post-receive script.
falcone pushed a commit to branch 2.9/stop-inline-substitution
in repository rtir.
commit e48c2482ae7e785af38aad0acc2eb33d67103554
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Mon Apr 29 22:13:15 2013 -0400
Switch to using .in files
If you're not using /opt/rt4 for testing, inline substitution is
incredibly painful and error prone. You also always have to remember to
reset files before running 'make dist'.
---
.gitignore | 3 +++
MANIFEST.SKIP | 3 +++
Makefile.PL | 1 +
etc/{add_constituency => add_constituency.in} | 0
etc/upgrade/{upgrade.pl => upgrade.pl.in} | 0
lib/RT/IR/{Test.pm => Test.pm.in} | 0
6 files changed, 7 insertions(+)
diff --git a/.gitignore b/.gitignore
index c5a420e..8a88aff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,6 @@ blib/
pm_to_blib
t/tmp/
MYMETA.*
+/etc/add_constituency
+/etc/upgrade/upgrade.pl
+/lib/RT/IR/Test.pm
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index 97138a0..806a787 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -9,3 +9,6 @@
^\.git
^t/tmp/
^MYMETA\.*
+^etc/add_constituency
+^etc/upgrade/upgrade.pl
+^lib/RT/IR/Test.pm
diff --git a/Makefile.PL b/Makefile.PL
index 20105c1..6d9ab35 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -34,6 +34,7 @@ auto_install();
substitute( {
RT_LIB_PATH => join( ' ', $local_lib_path, $lib_path ),
},
+ { sufix => '.in' },
'etc/upgrade/upgrade.pl',
'etc/add_constituency',
'lib/RT/IR/Test.pm',
diff --git a/etc/add_constituency b/etc/add_constituency.in
similarity index 100%
rename from etc/add_constituency
rename to etc/add_constituency.in
diff --git a/etc/upgrade/upgrade.pl b/etc/upgrade/upgrade.pl.in
similarity index 100%
rename from etc/upgrade/upgrade.pl
rename to etc/upgrade/upgrade.pl.in
diff --git a/lib/RT/IR/Test.pm b/lib/RT/IR/Test.pm.in
similarity index 100%
rename from lib/RT/IR/Test.pm
rename to lib/RT/IR/Test.pm.in
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Rt-commit
mailing list