1AUTOMAKE_OPTIONS = gnits 2 3# src/ before po/, so wxglade can generate some translatable source 4# files first. 5SUBDIRS = src share po 6 7# Copy those directly and recursively: 8# Build system 9EXTRA_DIST = bootstrap m4/ChangeLog 10# Documentation 11EXTRA_DIST += doc 12EXTRA_DIST += BUILD COPYING.DFArc COPYING.DFArc-2.0 TRANSLATIONS.txt 13# Packaging 14EXTRA_DIST += debian freedink-dfarc.spec 15 16dist-hook: 17 find $(distdir) -name '*~' | xargs -r rm -f 18# Prepare some files with MS-DOS newlines to ship in woe releases 19# At the end of each line (doubled $), add a \r, so we get \r\n 20 cd $(distdir) && sed 's/$$/\r/' README > README.txt 21# Force inclusion of the translation template 22 -cp "$(srcdir)/po/$(GETTEXT_PACKAGE).pot" "$(builddir)/po" # avoid ../.. rule 23 $(MAKE) -C "$(builddir)/po" "$(GETTEXT_PACKAGE).pot" 24 cp "$(builddir)/po/$(GETTEXT_PACKAGE).pot" "$(distdir)/po/" 25 26ACLOCAL_AMFLAGS = -I m4 27 28version: 29 @echo $(VERSION) 30