aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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