3 use Shell
qw(mv cp mkdir rm) ;
12 $kde_includedir = "$kde_prefix/include/kde";
13 $infodir = "$kde_prefix/share/info";
14 $mandir = "$kde_prefix/share/man";
15 $qtdir = "/usr/share/qt3";
17 $kde_cgidir = "$kde_prefix/lib/cgi-bin";
18 $kde_confdir = "$sysconfdir/kde3";
19 $kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
21 if (defined $ENV{DEB_BUILD_OPTIONS
} &&
22 $ENV{DEB_BUILD_OPTIONS
} =~ /\bnostrip\b/) {
23 $enable_debug="--enable-debug=full";
25 $enable_debug="--disable-debug";
28 if (@ARGV && $ARGV[0] eq 'echodirs') {
29 print STDOUT
"export kde_prefix=$kde_prefix\n";
30 print STDOUT
"export sysconfdir=$sysconfdir\n";
31 print STDOUT
"export kde_includedir=$kde_includedir\n";
32 print STDOUT
"export infodir=$infodir\n";
33 print STDOUT
"export mandir=$mandir\n";
34 print STDOUT
"export qtdir=$qtdir\n";
36 print STDOUT
"export kde_cgidir=$kde_cgidir\n";
37 print STDOUT
"export kde_confdir=$kde_confdir\n";
38 print STDOUT
"export kde_htmldir=$kde_htmldir\n";
40 print STDOUT
"configkde=$enable_debug --disable-rpath --prefix=\$(kde_prefix) --sysconfdir=\$(sysconfdir) --includedir=\$(kde_includedir) --infodir=\$(infodir) --mandir=\$(mandir) --with-qt-dir=\$(qtdir)\n";