Generate rem2pdf/bin/rem2pdf so we can embed VERSION

This commit is contained in:
Dianne Skoll
2022-01-28 11:15:07 -05:00
parent 949156f77c
commit 927e260f5b
4 changed files with 8 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/env perl
#!@PERL@
use strict;
use warnings;
@@ -7,6 +7,8 @@ use Cairo;
use Pango;
use Getopt::Long;
my $VERSION = '@VERSION@';
use Remind::PDF;
my $media_to_size = {
@@ -62,7 +64,7 @@ $me =~ s/^.*\///;
sub usage
{
print <<"EOF";
$me: Convert Remind -pp output to a PDF calendar.
$me (version $VERSION): Convert Remind -pp output to a PDF calendar.
Usage: remind -pp [options] filename | $me [options] > out.pdf