Ignore:
Timestamp:
Jan 26, 2009, 10:09:45 PM (16 years ago)
Author:
katerina
Message:

Fix problem building deb package (ticket #135).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.deb-light.in

    r79 r209  
    1212
    1313# This is the debhelper compatability version to use.
    14 export DH_COMPAT=1
     14export DH_COMPAT=4
    1515
    1616package=@install_name@
     
    4242        dh_installdirs
    4343
    44         $(MAKE) install-light install-boot DESTDIR=`pwd`/debian/tmp
     44        $(MAKE) install-light install-boot DESTDIR=`pwd`/debian/@install_name@
     45        # $(MAKE) install-light install-boot DESTDIR=`pwd`/debian/tmp
    4546
    4647        # However, remove the rc.d links
     
    6465        dh_installmenu
    6566        dh_installinit -- defaults 19
    66         [ -f debian/postinst.debhelper ] && \
     67        [ -f debian/@install_name@.postinst.debhelper ] && \
    6768                cd debian && \
    68                 cat postinst.debhelper | \
     69                cat @install_name@.postinst.debhelper | \
    6970                    sed 's%/etc/init.d/@install_name@ start%:%' > postinst.tmp && \
    70                     mv postinst.tmp postinst.debhelper
    71         [ -f debian/postinst.debhelper ] && \
     71                    mv postinst.tmp @install_name@.postinst.debhelper
     72        [ -f debian/@install_name@.postinst.debhelper ] && \
    7273                cd debian && \
    73                 cat postinst.debhelper | \
     74                cat @install_name@.postinst.debhelper | \
    7475                    sed 's%invoke-rc.d @install_name@ start%:%' > postinst.tmp && \
    75                     mv postinst.tmp postinst.debhelper
    76         [ -f debian/prerm.debhelper ] && \
     76                    mv postinst.tmp @install_name@.postinst.debhelper
     77        [ -f debian/@install_name@.prerm.debhelper ] && \
    7778                cd debian && \
    78                 cat prerm.debhelper | \
     79                cat @install_name@.prerm.debhelper | \
    7980                    sed 's%/etc/init.d/@install_name@ stop%/etc/init.d/@install_name@ stop || echo service @install_name@ already stopped%' > prerm.tmp && \
    80                     mv prerm.tmp prerm.debhelper
    81         [ -f debian/prerm.debhelper ] && \
     81                    mv prerm.tmp @install_name@.prerm.debhelper
     82        [ -f debian/@install_name@.prerm.debhelper ] && \
    8283                cd debian && \
    83                 cat prerm.debhelper | \
     84                cat @install_name@.prerm.debhelper | \
    8485                    sed 's%invoke-rc.d @install_name@ stop%invoke-rc.d @install_name@ stop || echo service @install_name@ already stopped%' > prerm.tmp && \
    85                     mv prerm.tmp prerm.debhelper
     86                    mv prerm.tmp @install_name@.prerm.debhelper
    8687        # dh_installmanpages
    8788        # dh_installchangelogs @top_srcdir@/docs/Changelog
Note: See TracChangeset for help on using the changeset viewer.