Changeset 8168 in project


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

Updated to new style of egg package building for Debian.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stream-ext/trunk/debian/rules

    r8091 r8168  
    1111endif
    1212
     13EGG_TREE ?= /home/chicken/chicken-eggs
     14
    1315BINARY_VERSION=$(shell basename `chicken-setup -R`)
    14 
     16EGG_TMPDIR=debian/tmp/lib/chicken/$(BINARY_VERSION)
    1517CHICKEN_EGG=stream-ext
    1618CHICKEN_EGG_DEPS=srfi-40 format-modular
     
    2022        dh_testdir
    2123        mkdir -p $(CURDIR)/debian/tmp
    22         @for DEP in $(CHICKEN_EGG_DEPS); do \
    23           if test ! -d $(CURDIR)/$$DEP; then echo directory for dependency $$DEP does not exist in $(CURDIR); exit 1; fi \
    24         done
    25         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)
    2625        touch build-stamp
    2726
     
    4241        dh_testdir
    4342        dh_testroot
    44         dh_install debian/tmp/$(CHICKEN_EGG){*.so,*.scm,*.setup-info} var/lib/chicken/$(BINARY_VERSION)
    45         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
    4645#       dh_installman
    4746#       dh_installchangelogs ChangeLog
Note: See TracChangeset for help on using the changeset viewer.