Return to Snippet

Revision: 62432
at February 22, 2013 02:13 by VictorMoral


Initial Code
# Variables
PERL_BIN=/usr/bin/perl
PERL=$(PERL_BIN) -Ilib 
DEBUILD=/usr/bin/debuild

# Targets
Build:  Build.PL
        $(PERL) Build.PL installdirs=vendor

build:  Build
        $(PERL) Build 

clean:  Build
        $(PERL) Build distclean 

test: build
        $(PERL) Build test

install: test
        $(PERL) Build install destdir=$(DESTDIR)

deb:    debian/rules
        $(DEBUILD) -rfakeroot -uc -us -sa 2>&1 | tee debuild.log

Initial URL

                                

Initial Description
This is the template for a basic project in Perl language with a minimal Debian package build.
I always use the I parameter with Perl for use the more updated version of the modules in the debug process.

Initial Title
Template for perl module with debian package

Initial Tags
perl

Initial Language
Makefile