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/ui/drawing_area.c \
39 src/storage/storage.c \
40 src/storage/individual.c \
41 src/storage/family.c \
42 src/storage/positions.c \
43 src/math/positions.c \
45 src/graphics/individual.c \
46 src/graphics/family.c \
47 src/gedcom/familia_gedcom.c \
54 bin_familia_CPPFLAGS = \
55 $(bin_familia_CFLAGS) \
56 -Wall -pedantic -Wextra \
68 bin_familia_LDFLAGS = $(LTLIBINTL)
70 localedir = $(datadir)/locale
72 DEFS = -DLOCALEDIR=\"$(localedir)\" \
73 -DDATADIR=\"$(pkgdatadir)\" \
76 all-local: doxyfile.stamp
77 test -d bin/data || mkdir bin/data
78 cp data/gui.glade bin/data/
79 cp -r data/pixmaps bin/data/
85 directory = $(top_srcdir)/doc/man/man3
89 echo Timestamp > doxyfile.stamp
91 #all-local: doxyfile.stamp
94 rm -rf $(top_srcdir)/doc/man
101 @if test x$(USE_NLS) != "xyes" ; then echo "Missing gettext. Rerun configure and check for" \
102 "'checking whether to use NLS... yes'!" ; exit 1 ; fi
104 update-po: check-gettext
105 @find $(srcdir)/src $(srcdir)/data -name '*[glade|c|h]' -type f -print | sort > $(srcdir)/po/POTFILES.in.2 ; \
106 if diff $(srcdir)/po/POTFILES.in $(srcdir)/po/POTFILES.in.2 >/dev/null 2>&1 ; then \
107 rm -f $(srcdir)/po/POTFILES.in.2 ; \
109 mv $(srcdir)/po/POTFILES.in.2 $(srcdir)/po/POTFILES.in ; \
111 cd po && $(MAKE) $(AM_MAKEFLAGS) update-po
113 update-gmo: check-gettext
114 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
116 force-update-gmo: check-gettext
118 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
120 force-update-gmo-%: check-gettext
121 @language=`echo $@ | sed s/force-update-gmo-//` ; \
122 if test ! -f po/$$language.po ; then echo "file po/$$language.po does not exist" ; exit 1 ; fi ; \
123 touch po/$$language.po ; \
124 cd po && $(MAKE) $(AM_MAKEFLAGS) update-gmo
126 .PHONY: check-gettext update-po update-gmo force-update-gmo