Changeset c6e0eef for debian/rules


Ignore:
Timestamp:
Mar 3, 2007, 3:02:21 PM (15 years ago)
Author:
Sam Hartman <hartmans@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
88cbd0a
Parents:
94cb84ff
git-author:
Sam Hartman <hartmans@mit.edu> (03/03/07 14:49:50)
git-committer:
Sam Hartman <hartmans@mit.edu> (03/03/07 15:02:21)
Message:
Update to more modern debhelper.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/rules

    r94cb84ff rc6e0eef  
    66#export DH_VERBOSE=1
    77
    8 # This is the debhelper compatibility version to use.
    9 export DH_COMPAT=3
    108
    119# These are used for cross-compiling and for saving the configure script
     
    1513
    1614
    17 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
    18         CFLAGS += -g
     15ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
     16        CFLAGS += -O2
    1917endif
    2018ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
    2119        INSTALL_PROGRAM += -s
    2220endif
     21
     22        CFLAGS += -g
    2323
    2424config.status: configure
     
    5656
    5757        # Add here commands to install the package into debian/owl.
    58         # $(MAKE) install prefix=$(CURDIR)/debian/owl/usr
    59         cp owl $(CURDIR)/debian/owl/usr/bin/
     58         $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
     59
     60        dh_install --sourcedir=debian/tmp --fail-missing $(EXCLUDE)
    6061
    6162# Build architecture-independent files here.
     
    7172        dh_installexamples
    7273        dh_installmenu
    73 #       dh_installlogrotate
    74 #       dh_installemacsen
    75 #       dh_installpam
    76 #       dh_installmime
    77 #       dh_installinit
    78         dh_installcron
    79         dh_installman doc/owl.1
     74        dh_installman
    8075        dh_installinfo
    81 #       dh_undocumented
    8276        dh_installchangelogs ChangeLog
    8377        dh_link
     
    8781#       dh_makeshlibs
    8882        dh_installdeb
    89 #       dh_perl
     83        dh_perl
    9084        dh_shlibdeps
    9185        dh_gencontrol
Note: See TracChangeset for help on using the changeset viewer.