projects
/
ir-tcl-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use DESTDIR instead of built-root
[ir-tcl-moved-to-github.git]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index
8c6ed54
..
8bf2ae6
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-1,7
+1,5
@@
#!/usr/bin/make -f
#
#!/usr/bin/make -f
#
-# Script for building Zebra from source to .deb-packages.
-#
# Created by Adam Dickmeiss, based on script by
# Morten Hendriksen <mgh@dbc.dk> and from Joey Hess.
# Created by Adam Dickmeiss, based on script by
# Morten Hendriksen <mgh@dbc.dk> and from Joey Hess.
@@
-20,11
+18,7
@@
else
MCFLAGS=
endif
MCFLAGS=
endif
-IRTCL_VERSION=1.4
IRTCLDIR?=$(shell pwd)
IRTCLDIR?=$(shell pwd)
-# If this is not IndexData's release, then it is a cvs-checkout. Go cheat!
-# YAZ_VERSION:=$(YAZ_VERSION)-$(shell date -r$(YAZSRCDIR)/CVS +"CVS%Y%m%d")
-export IRTCL_VERSION
# Local library path for linking with right dependencies
LOCAL_LINK=-ldebian/ir-tcl/usr/lib
# Local library path for linking with right dependencies
LOCAL_LINK=-ldebian/ir-tcl/usr/lib
@@
-35,7
+29,7
@@
configure: configure.in
stamp-configure: configure
dh_testdir
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
touch stamp-configure
build: stamp-build
@@
-44,7
+38,6
@@
stamp-build: stamp-configure
# Add here commands to compile the package.
$(MAKE) $(MCFLAGS)
# Add here commands to compile the package.
$(MAKE) $(MCFLAGS)
- cd doc; $(MAKE) $(MCFLAGS)
touch stamp-build
touch stamp-build
@@
-66,8
+59,7
@@
stamp-install: stamp-build
# Add here commands to install the package into debian/tmp.
-mkdirhier debian/tmp/usr
# 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
touch stamp-install
@@
-75,7
+67,7
@@
stamp-install: stamp-build
binary-indep: build install
dh_testdir
dh_testroot
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
dh_installchangelogs -p ir-tcl-doc
dh_link -p ir-tcl-doc
dh_strip -p ir-tcl-doc
@@
-92,7
+84,7
@@
binary-arch: build install
dh_testroot
dh_movefiles -p ir-tcl usr/lib/irtcl usr/bin
dh_testroot
dh_movefiles -p ir-tcl usr/lib/irtcl usr/bin
- cp CHANGELOG changelog
+ cp NEWS changelog
cp LICENSE debian/copyright
dh_installdocs --all README changelog debian/copyright
cp LICENSE debian/copyright
dh_installdocs --all README changelog debian/copyright