Changeset 9100 in project


Ignore:
Timestamp:
02/28/08 14:52:42 (12 years ago)
Author:
Ivan Raikov
Message:

Fixed build rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/srfi-29/trunk/debian/rules

    r8942 r9100  
    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=srfi-29
    16 CHICKEN_EGG_DEPS=misc-extn locale lookup-table miscmacros
    1718
    1819build: build-stamp
     
    2021        dh_testdir
    2122        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)
     23        chicken-setup -dont-ask -destdir $(CURDIR)/debian/tmp -local $(EGG_TREE) $(CHICKEN_EGG)
    2624        touch build-stamp
    2725
     
    3129        rm -f build-stamp
    3230        rm -rf debian/tmp
    33         rm -rf *.egg *.egg.dir
     31        rm -rf *.egg *.egg-dir *.exports *.so
    3432        dh_clean
    3533
     
    4240        dh_testdir
    4341        dh_testroot
    44         dh_install debian/tmp/$(CHICKEN_EGG){*.so,*.scm,*.setup-info} var/lib/chicken/$(BINARY_VERSION)
    45         dh_installdirs var/lib/chicken/$(BINARY_VERSION)/srfi-29-bundles
    46         dh_installdocs debian/tmp/{$(CHICKEN_EGG)*.html,index.html}
     42        dh_install $(EGG_TMPDIR)/{*.so,*.scm,*.setup-info,*.exports} var/lib/chicken/$(BINARY_VERSION)
     43        dh_installdocs $(EGG_TMPDIR)/*.html
     44        dh_installdirs $(EGG_TMPDIR)/srfi-29-bundles
    4745#       dh_installman
    4846#       dh_installchangelogs ChangeLog
Note: See TracChangeset for help on using the changeset viewer.