diff options
author | Fritz Elfert <felfert@to.com> | 2001-03-01 00:08:20 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-03-01 00:08:20 +0000 |
commit | d8ae774198cf180fcaa4a2512dd94b4dbfdfd72d (patch) | |
tree | 2726deb32ce6ce1cc2cbb6c19644ea4eac3b772e /conf/am_edit | |
parent | 525e42374b0d22fb5529a2c8f39d27d4b542583c (diff) | |
download | plptools-d8ae774198cf180fcaa4a2512dd94b4dbfdfd72d.tar.gz plptools-d8ae774198cf180fcaa4a2512dd94b4dbfdfd72d.tar.bz2 plptools-d8ae774198cf180fcaa4a2512dd94b4dbfdfd72d.zip |
Modified am_edit to handle GNU-gettext generated Makefiles.
Added NLS related m4 macros.
Diffstat (limited to 'conf/am_edit')
-rw-r--r-- | conf/am_edit | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/am_edit b/conf/am_edit index f400ce9..e648033 100644 --- a/conf/am_edit +++ b/conf/am_edit @@ -1237,9 +1237,10 @@ sub tag_POFILES () else { $tmp =~ s/\034/ /g; + $tmp =~ s/\@POFILES\@//g; $pofiles = $tmp; } - return 1 if (!$pofiles); # Nothing to do + return 1 if ($pofiles =~ /^[ \t]*$/); # Nothing to do handle_POFILES($pofiles, $kdelang); @@ -1701,7 +1702,7 @@ sub updateMakefile () open (FILEOUT, "> $makefile") || die "Could not create $makefile: $!\n"; - print FILEOUT "\# $progId - " . '$Revision: 1.208 $ ' . "\n"; + print FILEOUT "\# $progId - " . '$Revision: 1.1 $ ' . "\n"; $MakefileData =~ s/\034/\\\n/g; # Restore continuation lines print FILEOUT $MakefileData; close FILEOUT; |