Changeset 8171 in project


Ignore:
Timestamp:
02/06/08 03:31:31 (12 years ago)
Author:
Ivan Raikov
Message:

Updated to new style of egg package building for Debian.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc-extn/trunk/debian/rules

    r6031 r8171  
    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=misc-extn
    1618
     
    1921        dh_testdir
    2022        mkdir -p $(CURDIR)/debian/tmp
    21         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)
    2224        touch build-stamp
    2325
     
    3840        dh_testdir
    3941        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}
     42        dh_install $(EGG_TMPDIR)/{*.so,*.scm,*.setup-info,*.exports} var/lib/chicken/$(BINARY_VERSION)
     43        dh_installdocs $(EGG_TMPDIR)/*.html
    4244#       dh_installman
    4345#       dh_installchangelogs ChangeLog
Note: See TracChangeset for help on using the changeset viewer.