Changeset 1083 in ProjectBuilder for pbconf


Ignore:
Timestamp:
Aug 9, 2010, 2:37:04 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • Other fixes for lintian in project-builder
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pbconf/devel/project-builder/deb/rules

    r918 r1083  
    1010#export DH_VERBOSE=1
    1111
     12# If set to a true value then MakeMaker's prompt function will
     13# always return the default without waiting for user input.
     14export PERL_MM_USE_DEFAULT=1
     15
     16ifndef PERL
     17PERL = /usr/bin/perl
     18endif
     19
    1220# Define package name variable for a one-stop change.
    1321PACKAGE_NAME = PBPKG
    14 
    15 # These are used for cross-compiling and for saving the configure script
    16 # from having to guess our platform (since we know it already)
    17 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
    18 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
    19 
    20 CFLAGS = -Wall -g
    21 
    22 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    23     CFLAGS += -O0
    24 else
    25     CFLAGS += -O2
    26 endif
    27 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
    28     INSTALL_PROGRAM += -s
    29 endif
    3022
    3123build: build-stamp
     
    3527
    3628        # Add here commands to compile the package.
    37         perl Makefile.PL
     29        $(PERL) Makefile.PL INSTALLDIRS=vendor PBKEYWORD=$(CURDIR)/PBFINALDIR MANDIR=/usr/share/man
    3830        $(MAKE)
    3931        touch $@
     
    5850        $(MAKE) install DESTDIR=$(CURDIR)/debian/PBPKG
    5951
     52# Build architecture-dependent files here.
     53binary-arch: build install
     54    # We have nothing to do by default.
     55    #
    6056# Build architecture-independent files here.
    6157binary-indep: build install
    62     # We have nothing to do by default.
    63 
    64 # Build architecture-dependent files here.
    65 binary-arch: build install
    6658            dh_testdir
    6759            dh_testroot
    6860            dh_installchangelogs ChangeLog
    6961            dh_installdocs
    70             dh_installexamples
    71                 #       dh_install
    72                 #       dh_installmenu
    73                 #       dh_installdebconf
    74                 #       dh_installlogrotate
    75                 #       dh_installemacsen
    76                 #       dh_installpam
    77                 #       dh_installmime
    78                 #       dh_python
    79                 #       dh_installinit
    80                 #       dh_installcron
    81                 #       dh_installinfo
     62            #       dh_installexamples
     63            #       dh_install
     64            #       dh_installmenu
     65            #       dh_installdebconf
     66            #       dh_installlogrotate
     67            #       dh_installemacsen
     68            #       dh_installpam
     69            #       dh_installmime
     70            #       dh_python
     71            #       dh_installinit
     72            #       dh_installcron
     73            #       dh_installinfo
    8274            dh_installman
     75            dh_perl
    8376            dh_strip
    8477            dh_compress
    8578            dh_fixperms
    86                                 #       dh_perl
    87                                 #       dh_makeshlibs
     79            #       dh_makeshlibs
    8880            dh_installdeb
    89             dh_shlibdeps
     81            #       dh_shlibdeps
    9082            dh_gencontrol
    9183            dh_md5sums
Note: See TracChangeset for help on using the changeset viewer.