Skip to content

Commit

Permalink
add license banner in generated xs code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongxu Ma committed Feb 22, 2011
1 parent c3fb3ff commit 9824598
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PerlQt/script/gen_xscode_mk.pl
Expand Up @@ -50,7 +50,7 @@ sub main {
# no need to include classname.function
# which has member function implementations
my @deps =
grep { not m/\.(?:function|protected|typedef|friend)$/io }
grep { not m/\.(?:function|protected|friend)$/io }
glob(File::Spec::->catfile(
$in_xscode_dir, $classname. ".*"));
push @deps, File::Spec::->catfile(
Expand Down Expand Up @@ -126,7 +126,7 @@ sub main {

=head1 COPYRIGHT AND LICENSE
Copyright (C) 2007 - 2008 by Dongxu Ma <dongxu@cpan.org>
Copyright (C) 2007 - 2011 by Dongxu Ma <dongxu@cpan.org>
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
Expand Down
6 changes: 6 additions & 0 deletions PerlQt/template/include.tt2
@@ -1 +1,7 @@
################################################################
# THE FOLLOWING CODE IS AUTOMATED, ANY MODIFICATION WILL BE LOST!
# This library is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
# See http://dev.perl.org/licenses/artistic.html
################################################################
#include [% my_module.remove('::') %]/[% my_file %].h

0 comments on commit 9824598

Please sign in to comment.