Skip to content
Browse files

Rename `Makefile` to `Makefile.in`

Rename `Makefile` to `Makefile.in` and change C<Makefile.PL` so that it
creates `Makefile` from `Makefile.in`. This is so that `Makefile` is no longer
changed in-place, which could get annoying when doing development.
  • Loading branch information...
1 parent 220c923 commit 2947179ea8c9ba5634a7d788761d70be35f9eaf2 @theory theory committed
Showing with 12 additions and 5 deletions.
  1. +2 −4 Makefile.PL
  2. +1 −0 Makefile → Makefile.in
  3. +9 −1 lib/Bric/Changes.pod
View
6 Makefile.PL
@@ -5,8 +5,8 @@ use warnings;
use Config;
use File::Copy;
-my $old = 'Makefile';
-my $new = 'Makefile.new';
+my $old = 'Makefile.in';
+my $new = 'Makefile';
open OLD, "<", $old or die "Unable to open $old: $!\n";
open NEW, ">", $new or die "Unable to open $new: $!\n";
@@ -24,5 +24,3 @@ while (<OLD>) {
close OLD;
close NEW;
-
-move $new, $old;
View
1 Makefile → Makefile.in
@@ -317,5 +317,6 @@ clean :
-rm -rf inst/db_tmp
cd bin ; $(PERL) Makefile.PL ; $(MAKE) clean
-rm -rf bin/Makefile.old
+ -rm Makefile
.PHONY : clean
View
10 lib/Bric/Changes.pod
@@ -171,7 +171,15 @@ Added a throbber to category completion in New Story and Story Profile. [Scott]
=item *
-Added 'Bricolage events feed generator' (F<contrib/bric_events_rss>) to contribs. Generates RSS output for all system events. [Greg Heo]
+Added 'Bricolage events feed generator' (F<contrib/bric_events_rss>) to
+contribs. Generates RSS output for all system events. [Greg Heo]
+
+=item *
+
+Renamed F<Makefile> to F<Makefile.in> and changed C<Makefile.PL> so that it
+creates F<Makefile> from F<Makefile.in>. This is so that F<Makefile> is no
+longer changed in-place, which could get annoying when doing development.
+[David]
=back

0 comments on commit 2947179

Please sign in to comment.
Something went wrong with that request. Please try again.