diff options
author | Fritz Elfert <felfert@to.com> | 2001-03-01 01:23:48 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-03-01 01:23:48 +0000 |
commit | 752d994eb55eda612349f37954d83f4e8bd4a2ac (patch) | |
tree | 854c34d773e570923b31d1f9a676bc0b59d72f92 | |
parent | 92b0a8d887e2d70ad917342fd3e4450e01bb8c1d (diff) | |
download | plptools-752d994eb55eda612349f37954d83f4e8bd4a2ac.tar.gz plptools-752d994eb55eda612349f37954d83f4e8bd4a2ac.tar.bz2 plptools-752d994eb55eda612349f37954d83f4e8bd4a2ac.zip |
am_edit: Added auto-generation of DISTFILES for icons.
Added missing dist files.
Added ChangeLog, required by gettext standard setup
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | conf/am_edit | 9 | ||||
-rw-r--r-- | po/ChangeLog | 1 | ||||
-rw-r--r-- | po/de.po | 3 |
4 files changed, 12 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 2a302e2..73cbc0f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ KDESUB = endif SUBDIRS = intl po lib ncpd plpnfsd plpftp plpbackup $(KDESUB) doc -EXTRA_DIST = CHANGES COPYING README TODO INSTALL README.mjg ABOUT-NLS include/*.h* etc/*magic etc/*.in patches +EXTRA_DIST = CHANGES COPYING README TODO INSTALL README.mjg ABOUT-NLS include/*.h* etc/*magic etc/*.in patches conf/m4/kde/*.m4 conf/m4/plptools/*.m4 conf/[a-l]* conf/missing conf/mkinstalldirs DISTCLEANFILES = etc/psion AUTOMAKE_OPTIONS = foreign diff --git a/conf/am_edit b/conf/am_edit index e648033..bab2c27 100644 --- a/conf/am_edit +++ b/conf/am_edit @@ -982,6 +982,7 @@ sub tag_ICON() my $lookup = '([^\s]*)_ICON\s*=\s*([^\n]*)'; my $install = ""; my $uninstall = ""; + my $distfiles_icons = ""; while ($MakefileData =~ /\n$lookup/g) { my $destdir; @@ -1024,6 +1025,7 @@ sub tag_ICON() foreach $file (@files) { + $distfiles_icons .= "\\\n\t$file "; my $newfile = $file; my $prefix = $file; $prefix =~ s/\.(png|xpm)$//; @@ -1099,6 +1101,13 @@ sub tag_ICON() } } + if (length($distfiles_icons)) { + $lookup = 'DISTFILES\s*=\s*(.*)'; + if ($MakefileData =~ /\n$lookup\n/) { + $tmp = "DISTFILES = $1 $distfiles_icons"; + substituteLine ($lookup, $tmp); + } + } if (length($install)) { $target_adds{"install-data-am"} .= "install-kde-icons "; $target_adds{"uninstall-am"} .= "uninstall-kde-icons "; diff --git a/po/ChangeLog b/po/ChangeLog new file mode 100644 index 0000000..2209cf3 --- /dev/null +++ b/po/ChangeLog @@ -0,0 +1 @@ +Start of NLS support @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-02-28 02:15+0100\n" +"POT-Creation-Date: 2001-03-01 01:24+0100\n" "PO-Revision-Date: 2001-02-28 02:44CET\n" "Last-Translator: Fritz Elfert <felfert@to.com>\n" "Language-Team: Deutsch <de@li.org>\n" @@ -925,4 +925,3 @@ msgstr "Kein solcher Prozess" #: plpftp/ftp.cc:966 msgid "syntax error. Try \"help\"" msgstr "Syntaxfehler. Probieren Sie \"help\"" - |