debianrules
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:1k
- #!/usr/bin/perl -w
- use Shell qw(mv cp mkdir rm) ;
- use File::Find;
- use Cwd;
- $origPwd = `pwd`;
- chomp $origPwd;
- $kde_prefix = "/usr";
- $sysconfdir = "/etc";
- $kde_includedir = "$kde_prefix/include/kde";
- $infodir = "$kde_prefix/share/info";
- $mandir = "$kde_prefix/share/man";
- $qtdir = "/usr/share/qt3";
- $kde_cgidir = "$kde_prefix/lib/cgi-bin";
- $kde_confdir = "$sysconfdir/kde3";
- $kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
- if (defined $ENV{DEB_BUILD_OPTIONS} &&
- $ENV{DEB_BUILD_OPTIONS} =~ /bnostripb/) {
- $enable_debug="--enable-debug=full";
- } else {
- $enable_debug="--disable-debug";
- }
- if (@ARGV && $ARGV[0] eq 'echodirs') {
- print STDOUT "export kde_prefix=$kde_prefixn";
- print STDOUT "export sysconfdir=$sysconfdirn";
- print STDOUT "export kde_includedir=$kde_includedirn";
- print STDOUT "export infodir=$infodirn";
- print STDOUT "export mandir=$mandirn";
- print STDOUT "export qtdir=$qtdirn";
- print STDOUT "export kde_cgidir=$kde_cgidirn";
- print STDOUT "export kde_confdir=$kde_confdirn";
- print STDOUT "export kde_htmldir=$kde_htmldirn";
- print STDOUT "configkde=$enable_debug --disable-rpath --prefix=$(kde_prefix) --sysconfdir=$(sysconfdir) --includedir=$(kde_includedir) --infodir=$(infodir) --mandir=$(mandir) --with-qt-dir=$(qtdir)n";
- exit
- }