Shared admin folder
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

debianrules 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/usr/bin/perl -w
  2. use Shell qw(mv cp mkdir rm) ;
  3. use File::Find;
  4. use Cwd;
  5. $origPwd = `pwd`;
  6. chomp $origPwd;
  7. $kde_prefix = "/usr";
  8. $sysconfdir = "/etc";
  9. $kde_includedir = "$kde_prefix/include/tde";
  10. $infodir = "$kde_prefix/share/info";
  11. $mandir = "$kde_prefix/share/man";
  12. $tqtdir = "/usr/share/tqt3";
  13. $kde_cgidir = "$kde_prefix/lib/cgi-bin";
  14. $kde_confdir = "$sysconfdir/trinity";
  15. $kde_htmldir = "$kde_prefix/share/doc/tde/HTML";
  16. if (defined $ENV{DEB_BUILD_OPTIONS} &&
  17. $ENV{DEB_BUILD_OPTIONS} =~ /\bnostrip\b/) {
  18. $enable_debug="--enable-debug=full";
  19. } else {
  20. $enable_debug="--disable-debug";
  21. }
  22. if (@ARGV && $ARGV[0] eq 'echodirs') {
  23. print STDOUT "export kde_prefix=$kde_prefix\n";
  24. print STDOUT "export sysconfdir=$sysconfdir\n";
  25. print STDOUT "export kde_includedir=$kde_includedir\n";
  26. print STDOUT "export infodir=$infodir\n";
  27. print STDOUT "export mandir=$mandir\n";
  28. print STDOUT "export tqtdir=$tqtdir\n";
  29. print STDOUT "export kde_cgidir=$kde_cgidir\n";
  30. print STDOUT "export kde_confdir=$kde_confdir\n";
  31. print STDOUT "export kde_htmldir=$kde_htmldir\n";
  32. print STDOUT "configkde=$enable_debug --disable-rpath --prefix=\$(kde_prefix) --sysconfdir=\$(sysconfdir) --includedir=\$(kde_includedir) --infodir=\$(infodir) --mandir=\$(mandir) --with-tqt-dir=\$(tqtdir)\n";
  33. exit
  34. }