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/gedcom/familia_gedcom.c \
48 bin_familia_CPPFLAGS = \
49 $(bin_familia_CFLAGS) \
50 -Wall -pedantic -Wextra \
61 bin_familia_LDFLAGS = $(LTLIBINTL)
63 localedir = $(datadir)/locale
65 DEFS = -DLOCALEDIR=\"$(localedir)\" \
66 -DDATADIR=\"$(pkgdatadir)\" \
69 all-local: doxyfile.stamp
70 test -d bin/data || mkdir bin/data
71 cp data/gui.glade bin/data/
72 cp -r data/pixmaps bin/data/
78 directory = $(top_srcdir)/doc/man/man3
82 echo Timestamp > doxyfile.stamp
84 #all-local: doxyfile.stamp
87 rm -rf $(top_srcdir)/doc/man
94 @if test x$(USE_NLS) != "xyes" ; then echo "Missing gettext. Rerun configure and check for" \
95 "'checking whether to use NLS... yes'!" ; exit 1 ; fi
97 update-po: check-gettext
98 @find $(srcdir)/src $(srcdir)/data -name '*[glade|c|h]' -type f -print | sort > $(srcdir)/po/POTFILES.in.2 ; \
99 if diff $(srcdir)/po/POTFILES.in $(srcdir)/po/POTFILES.in.2 >/dev/null 2>&1 ; then \
100 rm -f $(srcdir)/po/POTFILES.in.2 ; \
102 mv $(srcdir)/po/POTFILES.in.2 $(srcdir)/po/POTFILES.in ; \
104 cd po && $(MAKE) $(AM_MAKEFLAGS) update-po
106 update-gmo: check-gettext
107 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
109 force-update-gmo: check-gettext
111 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
113 force-update-gmo-%: check-gettext
114 @language=`echo $@ | sed s/force-update-gmo-//` ; \
115 if test ! -f po/$$language.po ; then echo "file po/$$language.po does not exist" ; exit 1 ; fi ; \
116 touch po/$$language.po ; \
117 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
119 .PHONY: check-gettext update-po update-gmo force-update-gmo