Commit 81d40df6 authored by Alastair McKinstry's avatar Alastair McKinstry

Package autoconf'd by Christian Persch

parent 7d591c0c
*.gz
*.bz2
stamp-h
stamp-h.in
stamp-h1
.*.swp
configure
config.*
aclocal.m4
Makefile
Makefile.in
*.cache
mkinstalldirs
iso-codes.pc
missing
install-sh
This diff is collapsed.
SUBDIRS = iso_639 iso_3166 iso_4217 notes
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = iso-codes.pc
EXTRA_DIST = \
$(pkgconfig_DATA) \
README \
TODO \
rules.make \
iso2pot.py \
iso2tab.py \
tab2h.pl \
debian/changelog \
debian/control \
debian/copyright \
debian/rules \
debian/watch
DISTCLEANFILES = $(pkgconfig_DATA)
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
topdir=`pwd`
cd $srcdir
aclocal
autoconf
automake --add-missing --foreign --force --copy
cd $topdir
$srcdir/configure $@
dnl Copyright (c) 2003, 2004 Christian Persch
dnl
dnl This program is free software; you can redistribute it and/or modify it
dnl under the terms of the GNU General Public License as published by the
dnl Free Software Foundation; either version 2 of the License, or (at your
dnl option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License along
dnl with this program; if not, write to the Free Software Foundation, Inc.,
dnl 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl
dnl $Id$
AC_INIT([ISO Codes],[0.42pre1],[],[iso-codes])
AC_REVISION([$Revision$])
AC_PREREQ([2.59])
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
AC_SUBST([ACLOCAL_AMFLAGS], ["\${ACLOCAL_FLAGS}"])
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PATH_PROG([MSGFMT],[msgfmt])
DOMAINS="iso_3166 iso_639 iso_4217 iso_3166_2"
AC_SUBST([DOMAINS])
AC_CONFIG_FILES([
Makefile
iso-codes.pc
iso_639/Makefile
iso_3166/Makefile
iso_3166/iso_3166_2/Makefile
iso_4217/Makefile
notes/Makefile
])
AC_OUTPUT
......@@ -16,8 +16,9 @@ iso-codes (0.42-1) UNRELEASED; urgency=low
- rw.po: Kinyarwanda by Steve Murphy.
* iso_4217
- rw.po: Kinyarwanda by Steve Murphy.
* Package autoconf'd by Christian Persch.
-- Alastair McKinstry <mckinstry@debian.org> Sat, 8 Jan 2005 16:03:23 +0000
-- Alastair McKinstry <mckinstry@debian.org> Sat, 8 Jan 2005 18:06:23 +0000
iso-codes (0.41-1) unstable; urgency=low
......
prefix=@PREFIX@
prefix=@prefix@
domains=@DOMAINS@
Name: iso-codes
......
......@@ -47,7 +47,7 @@ p.setErrorHandler(saxutils.ErrorPrinter())
try:
dh = printLines(ofile)
p.setContentHandler(dh)
p.parse('iso_3166.xml')
p.parse(sys.argv[1])
except IOError,e:
print in_sysID+": "+str(e)
except saxlib.SAXException,e:
......
This diff is collapsed.
%.pot: %.xml
$(top_srcdir)/iso2pot.py --is-version $(VERSION) --comments iso_639_2T_code \
--fields name $< $@
%.mo: %.po
$(MSGFMT) --verbose --check $< -o $@
localedir = $(datadir)/locale
install-data-hook: $(mofiles)
$(mkinstalldirs) $(DESTDIR)$(datadir)
$(mkinstalldirs) $(DESTDIR)$(localedir)
catalogs='$(mofiles)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed 's/\.mo$$//'`; \
dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
$(INSTALL_DATA) -D $$cat $$dir/$(DOMAIN).mo; \
done
uninstall-hook:
catalogs='$(mofiles)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed 's/\.mo$$//'`; \
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo; \
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment