mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
Generate rem2pdf/bin/rem2pdf so we can embed VERSION
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user