aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormertz2002-03-12 15:56:24 +0000
committermertz2002-03-12 15:56:24 +0000
commit2bac9e5e11bb6a027a7257bee8320f42cf41ba81 (patch)
treeee7b27a16b15ada316434cbbf732e456683eb531
parentfbb20ee1f7306f936fc2d19c9a26676939b1db20 (diff)
downloadtkzinc-2bac9e5e11bb6a027a7257bee8320f42cf41ba81.zip
tkzinc-2bac9e5e11bb6a027a7257bee8320f42cf41ba81.tar.gz
tkzinc-2bac9e5e11bb6a027a7257bee8320f42cf41ba81.tar.bz2
tkzinc-2bac9e5e11bb6a027a7257bee8320f42cf41ba81.tar.xz
am�liorations indispensables pour l'installation des demos zinc
-rwxr-xr-xdebian/rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 9197cba..bcc5adb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
INSTALLARCHLIB=`perl -MConfig -e 'print $$Config{installarchlib}'`
+INSTALL_PERL=pure_install PREFIX=`pwd`/debian/tmp/usr
TMP=`pwd`/debian/tmp
@@ -20,7 +21,7 @@ build:
# which reserves one register; thus, without -fPIC we get more efficient
# code).
#
- $(MAKE) -f Makefile INSTALLMAN1DIR=$(TMP)/usr/man/man1 INSTALLMAN3DIR=$(TMP)/usr/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)$(INSTALLARCHLIB) tkzinc ptkzinc doc
+ $(MAKE) -f Makefile tkzinc ptkzinc doc
touch build
clean:
@@ -42,7 +43,7 @@ binary-arch: checkroot build
install -d debian/tmp
cd debian/tmp && install -d `cat ../dirs`
- $(MAKE) install prefix=`pwd`/debian/tmp/usr INSTALL_PERL=pure_install
+ $(MAKE) install prefix=`pwd`/debian/tmp/usr INSTALL_PERL=$(INSTALL_PERL)
-install -m644 test/*.tcl test/*.gif test/*.png test/*.xpm test/*.xbm debian/tmp/usr/share/doc/zinc-tk/examples
-install -m644 doc/refman/*.html doc/refman/*.png debian/tmp/usr/share/doc/zinc-tk/refman