All pastes #135602 Raw Edit

Miscellany

public text v1 · immutable
#135602 ·published 2006-08-17 02:25 UTC
rendered paste body
#!/usr/bin/make -f
# This debian/rules file is provided as a template for normal perl
# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for
# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
# be used freely wherever it is useful.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# If set to a true value then MakeMaker's prompt function will
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1

PACKAGE=$(shell dh_listpackages)

ifndef PERL
PERL = /usr/bin/perl
endif

TMP     =$(CURDIR)/debian/$(PACKAGE)

build: build-stamp
build-stamp:
        dh_testdir
CFLAGS ="-Wall -02 -g"
        # Add commands to compile the package here
        #Fan
        cd Fan/ && $(PERL) Fan/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd Fan/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::Attrib
        cd Attrib/ && $(PERL) Attrib/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd Attrib/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::Cool
        cd Cool/ && $(PERL) Cool/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd Cool/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::DIR
        cd DIR/ && $(PERL) DIR/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd DIR/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::Farm
        cd Farm/ && $(PERL) Farm/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd Farm/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::FTP
        cd FTP/ && $(PERL) FTP/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd FTP/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::HTTP
        cd HTTP/ && $(PERL) HTTP/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd HTTP/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::Loader
        cd Loader/ && $(PERL) Loader/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd Loader/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::MD5
        cd MD5/ && $(PERL) MD5/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd MD5/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::Param
        cd Param/ && $(PERL) Param/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd Param/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::Scan
        cd Scan/ && $(PERL) Scan/Makefile.PL INSTALLDIRS=vendor && cd ..
        cd Scan/ && $(MAKE) $(CFLAGS) && cd ..
        #Fan::TCP