Changeset 8173 in project


Ignore:
Timestamp:
02/06/08 03:32:11 (10 years ago)
Author:
iraikov
Message:

Updated to new style of egg package building for Debian.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • miscmacros/debian/rules

    r6028 r8173  
    1111endif
    1212
     13EGG_TREE ?= /home/chicken/chicken-eggs
     14
    1315BINARY_VERSION=$(shell basename `chicken-setup -R`)
     16EGG_TMPDIR=debian/tmp/lib/chicken/$(BINARY_VERSION)
     17CHICKEN_EGG=miscmacros
    1418
    15 CHICKEN_EGG=miscmacros
    1619
    1720build: build-stamp
     
    1922        dh_testdir
    2023        mkdir -p $(CURDIR)/debian/tmp
    21         chicken-setup -dont-ask -repository $(CURDIR)/debian/tmp -local $(CURDIR) $(CHICKEN_EGG)
     24        chicken-setup -dont-ask -destdir $(CURDIR)/debian/tmp -local $(EGG_TREE) $(CHICKEN_EGG)
    2225        touch build-stamp
    2326
     
    3841        dh_testdir
    3942        dh_testroot
    40         dh_install debian/tmp/$(CHICKEN_EGG){*.so,*.scm,*.setup-info,*.exports} var/lib/chicken/$(BINARY_VERSION)
    41         dh_installdocs debian/tmp/{$(CHICKEN_EGG)*.html,index.html}
     43        dh_install $(EGG_TMPDIR)/{*.so,*.scm,*.setup-info,*.exports} var/lib/chicken/$(BINARY_VERSION)
     44        dh_installdocs $(EGG_TMPDIR)/*.html
    4245#       dh_installman
    4346#       dh_installchangelogs ChangeLog
Note: See TracChangeset for help on using the changeset viewer.