diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-09-18 15:44:45 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2005-09-18 15:44:45 +0000 |
commit | 194280dcd24f09375eeea8592f984152f7119b9c (patch) | |
tree | c54ac8cacb58533deca51421caf51b71b846c98b /Makefile.in | |
parent | c2feb3d567ee5500e2ac8d085d1aabc039ea8042 (diff) | |
download | quilt-194280dcd24f09375eeea8592f984152f7119b9c.tar.gz |
- Fix a few things in po/quilt.pot generation.
- Always create the mta symlink in compat/. Replace "@MTA@" with
"mta" in scripts. Replace mta check in configure.ac with
QUILT_COMPAT_PROG_PATH.
- quilt/main.in: Add a User-Agent header.
- Update the German translation.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index e3dc5b2..6fcee0c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -35,8 +35,8 @@ DIFFSTAT := @DIFFSTAT@ RPMBUILD := @RPMBUILD@ MTA := @MTA@ -COMPAT_SYMLINKS := @COMPAT_SYMLINKS@ -COMPAT_PROGRAMS := @COMPAT_PROGRAMS@ +COMPAT_SYMLINKS := @COMPAT_SYMLINKS@ +COMPAT_PROGRAMS := @COMPAT_PROGRAMS@ default: all @@ -145,15 +145,16 @@ rpm rpmbuild : $(PACKAGE)-$(VERSION).tar.gz po/quilt.pot: $(filter-out debian/control.in doc/quilt.1.in doc/README.in, \ $(wildcard */*.in)) - rm -f quilt.pot; touch quilt.pot + rm -f po/quilt.pot; touch po/quilt.pot for file in $+ ; do \ - if head $$file | grep -q '@BASH@'; then \ + if test -n "`$(SED) -ne '1{ /@BASH''@/p }' $$file`"; then \ bash --dump-po-strings $$file ; \ - elif head $$file | grep -q '@PERL@'; then \ + elif test -n "`$(SED) -ne '1{ /@PERL''@/p }' $$file`"; then \ xgettext --from-code=UTF-8 --omit-header --language=Perl \ --keyword=_ -o - $$file; \ else \ echo "Don't know how to handle $$file" >&2 ; \ + exit 1; \ fi \ done \ |msguniq \ |