Changeset dd48bb5 for debian/rules


Ignore:
Timestamp:
07/23/18 11:32:12 (3 years ago)
Author:
Brad Cowie <brad@…>
Branches:
develop, master
Children:
442fbd6
Parents:
31111c7
git-author:
Brad Cowie <brad@…> (07/04/18 16:31:52)
git-committer:
Brad Cowie <brad@…> (07/23/18 11:32:12)
Message:

Add debian packaging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/rules

    r78fe0d2 rdd48bb5  
    2121
    2222
    23 libtrace_backup.h:
    24         # libtrace.h is modified by the build, so back it up so it can be restored
    25         # by the clean target
    26         cp lib/libtrace.h libtrace_backup.h
    27 
    2823configure:
    2924
    30 configure-stamp: configure libtrace_backup.h
     25configure-stamp: configure
    3126        dh_testdir
    32        
     27
    3328        dh_autoreconf
    34        
     29
    3530        ./configure $(CONFFLAGS) \
    3631                   --prefix=/usr \
    3732                   --mandir=\$${prefix}/share/man \
    3833                   --infodir=\$${prefix}/share/info
    39        
     34
    4035        touch configure-stamp
    4136
     
    5853        [ ! -f Makefile ] || $(MAKE) clean
    5954        [ ! -f Makefile ] || $(MAKE) distclean
    60         [ ! -f libtrace_backup.h ] || mv libtrace_backup.h lib/libtrace.h
    6155        rm -rf docs/doxygen
    62        
     56
    6357        dh_autoreconf_clean
    64         dh_clean 
     58        dh_clean
    6559
    6660install: build
    6761        dh_testdir
    6862        dh_testroot
    69         dh_clean -k 
     63        dh_clean -k
    7064        dh_installdirs
    7165
    7266        # Add here commands to install the package into debian/tmp
    7367        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
    74 
    7568
    7669# Build architecture-independent files here.
     
    10093
    10194binary: binary-indep binary-arch
    102 .PHONY: build clean binary-indep binary-arch binary install 
     95.PHONY: build clean binary-indep binary-arch binary install
Note: See TracChangeset for help on using the changeset viewer.