aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-03-02 13:47:47 +0000
committerFritz Elfert <felfert@to.com>2001-03-02 13:47:47 +0000
commit3ebac278eff9f4ba457a5f1ccbce9857ea00dba5 (patch)
treeb3b5c83d059c094e1e3e23a857e6db4362b5003f /conf
parent35e37bebb411b9eae41896d7b7e9142063e3d303 (diff)
downloadplptools-3ebac278eff9f4ba457a5f1ccbce9857ea00dba5.tar.gz
plptools-3ebac278eff9f4ba457a5f1ccbce9857ea00dba5.tar.bz2
plptools-3ebac278eff9f4ba457a5f1ccbce9857ea00dba5.zip
- Added KDE stuff to RPM specfile
- Added am_edit to dis-hook - Added some missing EXTRA_DISTs in KDE subdirs
Diffstat (limited to 'conf')
-rw-r--r--conf/am_edit9
1 files changed, 7 insertions, 2 deletions
diff --git a/conf/am_edit b/conf/am_edit
index bab2c27..d597c9e 100644
--- a/conf/am_edit
+++ b/conf/am_edit
@@ -128,6 +128,11 @@ while (defined ($ARGV[0]))
warn ("$thisProg doesn't exist\n") if (!(-f $thisProg));
$pathoption=1;
}
+ elsif (/^-t\s*(.+)$|^--topdir=(.+)$/)
+ {
+ $KDEtopdir = $1 if($1);
+ $KDEtopdir = $2 if($2);
+ }
elsif (/^--help$|^-h$/)
{
print STDOUT "Usage $thisProg [OPTION] ... [dir/Makefile.in]...\n",
@@ -281,7 +286,7 @@ sub processMakefile ($)
tag_ICON();
my $tmp = "force-reedit:\n";
- $tmp .= "\t$automkCall\n\tcd \$(top_srcdir) && perl $thisProg $printname\n\n";
+ $tmp .= "\t$automkCall\n\tcd \$(top_srcdir)/$KDEtopdir && perl $thisProg $printname\n\n";
appendLines($tmp);
make_meta_classes();
@@ -742,7 +747,7 @@ sub tag_AUTOMAKE ()
return 1 if ($MakefileData !~ /($lookup)/);
print STDOUT "AUTOMAKE processing <$1>\n" if ($verbose);
- my $newLine = $1."\n\tcd \$(top_srcdir) && perl $thisProg $printname";
+ my $newLine = $1."\n\tcd \$(top_srcdir)/$KDEtopdir && perl $thisProg $printname";
substituteLine ($lookup, $newLine);
$automkCall = $1;
return 0;