1 AUTOMAKE_OPTIONS = gnu subdir-objects
2 ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
11 MAINTAINERCLEANFILES = \
30 bin_PROGRAMS = bin/familia
31 noinst_HEADERS = src/i18n.h
32 dist_noinst_SCRIPTS = autogen.sh
34 bin_familia_SOURCES = \
35 src/dialogs/about_dialog.c \
36 src/dialogs/openfile_dialog.c \
37 src/viewport/drawing_area.c \
38 src/storage/storage.c \
39 src/storage/individual.c \
40 src/storage/family.c \
41 src/storage/positions.c \
42 src/math/positions.c \
43 src/gedcom/familia_gedcom.c \
50 bin_familia_CPPFLAGS = \
51 $(bin_familia_CFLAGS) \
52 -Wall -pedantic -Wextra \
63 bin_familia_LDFLAGS = $(LTLIBINTL)
65 localedir = $(datadir)/locale
67 DEFS = -DLOCALEDIR=\"$(localedir)\" \
68 -DDATADIR=\"$(pkgdatadir)\" \
71 all-local: doxyfile.stamp
72 test -d bin/data || mkdir bin/data
73 cp data/gui.glade bin/data/
74 cp -r data/pixmaps bin/data/
80 directory = $(top_srcdir)/doc/man/man3
84 echo Timestamp > doxyfile.stamp
86 #all-local: doxyfile.stamp
89 rm -rf $(top_srcdir)/doc/man
96 @if test x$(USE_NLS) != "xyes" ; then echo "Missing gettext. Rerun configure and check for" \
97 "'checking whether to use NLS... yes'!" ; exit 1 ; fi
99 update-po: check-gettext
100 @find $(srcdir)/src $(srcdir)/data -name '*[glade|c|h]' -type f -print | sort > $(srcdir)/po/POTFILES.in.2 ; \
101 if diff $(srcdir)/po/POTFILES.in $(srcdir)/po/POTFILES.in.2 >/dev/null 2>&1 ; then \
102 rm -f $(srcdir)/po/POTFILES.in.2 ; \
104 mv $(srcdir)/po/POTFILES.in.2 $(srcdir)/po/POTFILES.in ; \
106 cd po && $(MAKE) $(AM_MAKEFLAGS) update-po
108 update-gmo: check-gettext
109 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
111 force-update-gmo: check-gettext
113 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
115 force-update-gmo-%: check-gettext
116 @language=`echo $@ | sed s/force-update-gmo-//` ; \
117 if test ! -f po/$$language.po ; then echo "file po/$$language.po does not exist" ; exit 1 ; fi ; \
118 touch po/$$language.po ; \
119 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
121 .PHONY: check-gettext update-po update-gmo force-update-gmo