/usr/share/perl5/Debian/Debhelper/Buildsystem/rebar.pm is in dh-rebar 0.0.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | # Copyright: © 2012 Enrico Tassi <gareuselesinge@debian.org>
# Copyright: 2013 Nobuhiro iwamatsu <iwamatsu@debian.org>
# License: MIT/X
# Strongly based on the ruby build systems. Thanks Lucas!
package Debian::Debhelper::Buildsystem::rebar;
use strict;
use base 'Debian::Debhelper::Buildsystem';
my $DH_REBAR_MAKEFILE="/usr/share/dh-rebar/make/dh-rebar.Makefile";
sub DESCRIPTION { "rebar" }
sub check_auto_buildable { return 0 }
sub new {
my $class=shift;
my $this=$class->SUPER::new(@_);
$this->enforce_in_source_building();
return $this;
}
sub configure {
my $this=shift;
$this->doit_in_sourcedir("make", "--no-print-directory", "-f", $DH_REBAR_MAKEFILE, "configure", @_);
}
sub build {
my $this=shift;
$this->doit_in_sourcedir("make", "--no-print-directory", "-f", $DH_REBAR_MAKEFILE, "build", @_);
}
sub test {
my $this=shift;
$this->doit_in_sourcedir("make", "--no-print-directory", "-f", $DH_REBAR_MAKEFILE, "test", @_);
}
sub install {
my $this=shift;
$this->doit_in_sourcedir("make", "--no-print-directory", "-f", $DH_REBAR_MAKEFILE, "install", @_);
}
sub clean {
my $this=shift;
$this->doit_in_sourcedir("make", "--no-print-directory", "-f", $DH_REBAR_MAKEFILE, "clean", @_);
}
1
|