debian/rules
changeset 42 f3c6f1f69e7d
parent 19 d31157fe5358
equal deleted inserted replaced
41:044834f7b19f 42:f3c6f1f69e7d
    23 endif
    23 endif
    24 
    24 
    25 configure: configure-stamp
    25 configure: configure-stamp
    26 configure-stamp:
    26 configure-stamp:
    27 	dh_testdir
    27 	dh_testdir
       
    28 	perl Build.PL --installdirs=vendor --destdir=$(r)
    28 	touch configure-stamp
    29 	touch configure-stamp
    29 
    30 
    30 
    31 
    31 build: build-stamp
    32 build: build-stamp
    32 
    33 
    33 build-stamp: configure-stamp 
    34 build-stamp: configure-stamp 
    34 	dh_testdir
    35 	dh_testdir
    35 	$(MAKE) prefix=$(r)/usr
    36 	./Build
    36 	touch $@
    37 	touch $@
    37 
    38 
    38 clean:
    39 clean:
    39 	dh_testdir
    40 	dh_testdir
    40 	dh_testroot
    41 	dh_testroot
    41 	rm -f build-stamp configure-stamp
    42 	rm -f build-stamp configure-stamp
    42 	-$(MAKE) clean
    43 	-./Build distclean
    43 
    44 
    44 	dh_clean 
    45 	dh_clean 
    45 
    46 
    46 install: build
    47 install: build
    47 	dh_testdir
    48 	dh_testdir
    48 	dh_testroot
    49 	dh_testroot
    49 	dh_clean -k 
    50 	dh_clean -k 
    50 	dh_installdirs
    51 	dh_installdirs
    51 
    52 
    52 	# Add here commands to install the package into debian/exiacl.
    53 	# Add here commands to install the package into debian/exiacl.
    53 	install -d $(r)/usr/bin
    54 	./Build fakeinstall
    54 	$(MAKE) install DESTDIR=$(r) prefix=$(r)/usr
       
    55 
    55 
    56 
    56 
    57 # Build architecture-independent files here.
    57 # Build architecture-independent files here.
    58 binary-indep: build install
    58 binary-indep: build install
    59 # We have nothing to do by default.
    59 # We have nothing to do by default.