X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=debian%2Frules;h=8bf2ae62a4b8de8dc9059be25c3e29018c9b71b7;hb=d0ff74ece5ebc093f663becb5d7513692c891222;hp=43b2a53eb99f19aef7996b0f4d279d13de76a2ac;hpb=a1ac2b7a40898eaf094178dee7bfcc93e9a3e049;p=ir-tcl-moved-to-github.git diff --git a/debian/rules b/debian/rules index 43b2a53..8bf2ae6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,5 @@ #!/usr/bin/make -f # -# Script for building Zebra from source to .deb-packages. -# # Created by Adam Dickmeiss, based on script by # Morten Hendriksen and from Joey Hess. @@ -31,7 +29,7 @@ configure: configure.in stamp-configure: configure dh_testdir - ./configure $(CONFIG_FLAGS) --with-build-root=$(IRTCLDIR)/debian/tmp + ./configure $(CONFIG_FLAGS) --prefix=/usr touch stamp-configure build: stamp-build @@ -40,7 +38,6 @@ stamp-build: stamp-configure # Add here commands to compile the package. $(MAKE) $(MCFLAGS) - cd doc; $(MAKE) $(MCFLAGS) touch stamp-build @@ -62,8 +59,7 @@ stamp-install: stamp-build # Add here commands to install the package into debian/tmp. -mkdirhier debian/tmp/usr - $(MAKE) install - # $(MAKE) install prefix=`pwd`/debian/tmp/usr + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp touch stamp-install @@ -71,7 +67,7 @@ stamp-install: stamp-build binary-indep: build install dh_testdir dh_testroot - dh_installdocs -p ir-tcl-doc doc/*.html doc/*.txt doc/*.ps + dh_installdocs -p ir-tcl-doc doc/*.html doc/*.ps dh_installchangelogs -p ir-tcl-doc dh_link -p ir-tcl-doc dh_strip -p ir-tcl-doc