Updated translation template
svn: r1584
This commit is contained in:
parent
8e21af4a49
commit
e114982c82
@ -115,7 +115,7 @@ SUBDIRS = docgen filters plugins data po calendars
|
|||||||
GVFSINC = @GPREF@
|
GVFSINC = @GPREF@
|
||||||
CFLAGS = -fPIC -shared -O @GNOMEINC@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
|
CFLAGS = -fPIC -shared -O @GNOMEINC@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
|
||||||
LDFLAGS = @GNOMELIB@ @LDFLAGS@ -L@libdir@ @LIBS@
|
LDFLAGS = @GNOMELIB@ @LDFLAGS@ -L@libdir@ @LIBS@
|
||||||
CLEANFILES = ${INTLLIBS} grampslib.so
|
CLEANFILES = $(INTLLIBS) grampslib.so
|
||||||
MOSTLYCLEANFILES =
|
MOSTLYCLEANFILES =
|
||||||
|
|
||||||
|
|
||||||
@ -203,8 +203,9 @@ pkgpython_PYTHON = \
|
|||||||
WriteXML.py
|
WriteXML.py
|
||||||
|
|
||||||
|
|
||||||
# Use GNU make's ':=' syntax for nice wildcard use.
|
# Could use GNU make's ':=' syntax for nice wildcard use.
|
||||||
# If not using GNU make, then list all files individually
|
# If not using GNU make, then list all files individually
|
||||||
|
# The latter is more portable and POSIX-friendly :)
|
||||||
GLADEFILES = \
|
GLADEFILES = \
|
||||||
config.glade\
|
config.glade\
|
||||||
dialog.glade\
|
dialog.glade\
|
||||||
@ -242,17 +243,16 @@ GRAPHICS = \
|
|||||||
|
|
||||||
|
|
||||||
# Other stuff that we need to install
|
# Other stuff that we need to install
|
||||||
pkgdata_DATA = ${INTLLIBS} ${GLADEFILES} ${GRAPHICS} gramps.desktop grampslib.so
|
dist_pkgdata_DATA = $(GLADEFILES) $(GRAPHICS) gramps.desktop
|
||||||
|
nodist_pkgdata_DATA = grampslib.so $(INTLLIBS)
|
||||||
|
|
||||||
EXTRA_DIST = grampslib.i
|
EXTRA_DIST = grampslib.i intl.c grampslib_wrap.c
|
||||||
|
|
||||||
DIST_SOURCES = intl.c grampslib_wrap.c
|
|
||||||
dist_pkgdata_DATA = ${pkgdata_DATA}
|
|
||||||
subdir = src
|
subdir = src
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_CLEAN_FILES = const.py
|
CONFIG_CLEAN_FILES = const.py
|
||||||
|
DIST_SOURCES =
|
||||||
py_compile = $(top_srcdir)/py-compile
|
py_compile = $(top_srcdir)/py-compile
|
||||||
DATA = $(dist_pkgdata_DATA) $(pkgdata_DATA)
|
DATA = $(dist_pkgdata_DATA) $(nodist_pkgdata_DATA)
|
||||||
|
|
||||||
|
|
||||||
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||||
@ -313,20 +313,20 @@ uninstall-dist_pkgdataDATA:
|
|||||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||||
done
|
done
|
||||||
pkgdataDATA_INSTALL = $(INSTALL_DATA)
|
nodist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
|
||||||
install-pkgdataDATA: $(pkgdata_DATA)
|
install-nodist_pkgdataDATA: $(nodist_pkgdata_DATA)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
@list='$(nodist_pkgdata_DATA)'; for p in $$list; do \
|
||||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||||
echo " $(pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
echo " $(nodist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||||
$(pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
$(nodist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||||
done
|
done
|
||||||
|
|
||||||
uninstall-pkgdataDATA:
|
uninstall-nodist_pkgdataDATA:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(pkgdata_DATA)'; for p in $$list; do \
|
@list='$(nodist_pkgdata_DATA)'; for p in $$list; do \
|
||||||
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||||
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
|
||||||
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
|
||||||
@ -468,7 +468,7 @@ distdir: $(DISTFILES)
|
|||||||
done
|
done
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
check: check-recursive
|
check: check-recursive
|
||||||
all-am: Makefile $(DATA)
|
all-am: Makefile $(DATA) all-local
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
installdirs-am:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pkgpythondir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgdatadir)
|
$(mkinstalldirs) $(DESTDIR)$(pkgpythondir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgdatadir)
|
||||||
@ -516,7 +516,7 @@ info: info-recursive
|
|||||||
info-am:
|
info-am:
|
||||||
|
|
||||||
install-data-am: install-data-local install-dist_pkgdataDATA \
|
install-data-am: install-data-local install-dist_pkgdataDATA \
|
||||||
install-pkgdataDATA install-pkgpythonPYTHON
|
install-nodist_pkgdataDATA install-pkgpythonPYTHON
|
||||||
|
|
||||||
install-exec-am:
|
install-exec-am:
|
||||||
|
|
||||||
@ -535,58 +535,65 @@ mostlyclean: mostlyclean-recursive
|
|||||||
mostlyclean-am: mostlyclean-generic
|
mostlyclean-am: mostlyclean-generic
|
||||||
|
|
||||||
uninstall-am: uninstall-dist_pkgdataDATA uninstall-info-am \
|
uninstall-am: uninstall-dist_pkgdataDATA uninstall-info-am \
|
||||||
uninstall-local uninstall-pkgdataDATA uninstall-pkgpythonPYTHON
|
uninstall-local uninstall-nodist_pkgdataDATA \
|
||||||
|
uninstall-pkgpythonPYTHON
|
||||||
|
|
||||||
uninstall-info: uninstall-info-recursive
|
uninstall-info: uninstall-info-recursive
|
||||||
|
|
||||||
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
|
||||||
clean-generic clean-recursive distclean distclean-generic \
|
clean clean-generic clean-recursive distclean distclean-generic \
|
||||||
distclean-recursive distclean-tags distdir dvi dvi-am \
|
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||||
dvi-recursive info info-am info-recursive install install-am \
|
dvi-recursive info info-am info-recursive install install-am \
|
||||||
install-data install-data-am install-data-local \
|
install-data install-data-am install-data-local \
|
||||||
install-data-recursive install-dist_pkgdataDATA install-exec \
|
install-data-recursive install-dist_pkgdataDATA install-exec \
|
||||||
install-exec-am install-exec-recursive install-info \
|
install-exec-am install-exec-recursive install-info \
|
||||||
install-info-am install-info-recursive install-man \
|
install-info-am install-info-recursive install-man \
|
||||||
install-pkgdataDATA install-pkgpythonPYTHON install-recursive \
|
install-nodist_pkgdataDATA install-pkgpythonPYTHON \
|
||||||
install-strip installcheck installcheck-am installdirs \
|
install-recursive install-strip installcheck installcheck-am \
|
||||||
installdirs-am installdirs-recursive maintainer-clean \
|
installdirs installdirs-am installdirs-recursive \
|
||||||
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
maintainer-clean maintainer-clean-generic \
|
||||||
mostlyclean-generic mostlyclean-recursive tags tags-recursive \
|
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||||
uninstall uninstall-am uninstall-dist_pkgdataDATA \
|
mostlyclean-recursive tags tags-recursive uninstall \
|
||||||
uninstall-info-am uninstall-info-recursive uninstall-local \
|
uninstall-am uninstall-dist_pkgdataDATA uninstall-info-am \
|
||||||
uninstall-pkgdataDATA uninstall-pkgpythonPYTHON \
|
uninstall-info-recursive uninstall-local \
|
||||||
|
uninstall-nodist_pkgdataDATA uninstall-pkgpythonPYTHON \
|
||||||
uninstall-recursive
|
uninstall-recursive
|
||||||
|
|
||||||
|
|
||||||
all: ${INTLLIBS} grampslib.so
|
all-local: $(INTLLIBS) grampslib.so
|
||||||
|
|
||||||
# These can prbably be done in a better or more elegant/generic way
|
# These can probably be done in a better or more elegant/generic way
|
||||||
# eventually (libtool?), but this works.
|
# eventually (libtool?), but this works.
|
||||||
intl22.so: intl.c
|
intl22.so: $(srcdir)/intl.c
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) @P22_INCLUDES@ -DVER22 -o $@ intl.c
|
$(CC) $(CFLAGS) $(LDFLAGS) @P22_INCLUDES@ -DVER22 -o $@ $(srcdir)/intl.c
|
||||||
|
|
||||||
grampslib.so: grampslib_wrap.c
|
grampslib.so: $(srcdir)/grampslib_wrap.c
|
||||||
$(CC) $(CFLAGS) @P22_INCLUDES@ -o $@ grampslib_wrap.c $(LDFLAGS)
|
$(CC) $(CFLAGS) @P22_INCLUDES@ -o $@ $(srcdir)/grampslib_wrap.c $(LDFLAGS)
|
||||||
|
|
||||||
# In principle the following rule slightly violates the automake/autoconf
|
# In principle the following rule slightly violates the automake/autoconf
|
||||||
# spirit of keeping each subdirectory as a separate entity unto itself.
|
# spirit of keeping each subdirectory as a separate entity unto itself.
|
||||||
# But, since the template depends on everything from here, we allow this
|
# But, since the template depends on everything from here, we allow this
|
||||||
# one exception.
|
# one exception.
|
||||||
trans: po/template.po
|
# Build po/template.po.
|
||||||
|
.PHONY: trans
|
||||||
|
trans:
|
||||||
./build_po
|
./build_po
|
||||||
|
|
||||||
check:
|
pycheck:
|
||||||
|
for d in $(SUBDIRS) ; do \
|
||||||
|
(cd $$d; make pycheck); \
|
||||||
|
done;
|
||||||
pychecker $(pkgpython_PYTHON)
|
pychecker $(pkgpython_PYTHON)
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
${INSTALL} -d ${prefix}/share/pixmaps
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/pixmaps
|
||||||
${INSTALL_DATA} gramps.png ${prefix}/share/pixmaps
|
$(INSTALL_DATA) $(srcdir)/gramps.png $(DESTDIR)$(prefix)/share/pixmaps
|
||||||
${INSTALL} -d ${prefix}/share/gnome/apps/Applications
|
$(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
||||||
${INSTALL_DATA} gramps.desktop ${prefix}/share/gnome/apps/Applications
|
$(INSTALL_DATA) $(srcdir)/gramps.desktop $(DESTDIR)$(prefix)/share/gnome/apps/Applications
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
-rm ${prefix}/share/pixmaps/gramps.png
|
-rm $(DESTDIR)$(prefix)/share/pixmaps/gramps.png
|
||||||
-rm ${prefix}/share/gnome/apps/Applications/gramps.desktop
|
-rm $(DESTDIR)$(prefix)/share/gnome/apps/Applications/gramps.desktop
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
@ -15,6 +15,8 @@ pkgpython_PYTHON = \
|
|||||||
DetDescendantReport.py\
|
DetDescendantReport.py\
|
||||||
EventCmp.py\
|
EventCmp.py\
|
||||||
FamilyGroup.py\
|
FamilyGroup.py\
|
||||||
|
FtmStyleAncestors.py\
|
||||||
|
FtmStyleDescendants.py\
|
||||||
FilterEditor.py\
|
FilterEditor.py\
|
||||||
GraphViz.py\
|
GraphViz.py\
|
||||||
IndivComplete.py\
|
IndivComplete.py\
|
||||||
@ -31,7 +33,9 @@ pkgpython_PYTHON = \
|
|||||||
Verify.py\
|
Verify.py\
|
||||||
WebPage.py\
|
WebPage.py\
|
||||||
WriteGedcom.py\
|
WriteGedcom.py\
|
||||||
WritePkg.py
|
WritePkg.py\
|
||||||
|
eval.py\
|
||||||
|
leak.py
|
||||||
|
|
||||||
pkgpyexecdir = @pkgpyexecdir@/plugins
|
pkgpyexecdir = @pkgpyexecdir@/plugins
|
||||||
pkgpythondir = @pkgpythondir@/plugins
|
pkgpythondir = @pkgpythondir@/plugins
|
||||||
|
2517
src/po/template.po
2517
src/po/template.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user