X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=Makefile.am;h=fc28a10210180bee69bb93a370331e9c4e559477;hb=3068ed1f64a96d42cdde19cfebf1468ec9169e62;hp=f3b4d3dde9e7eec3f6ffa13844bff9cdd7b110f9;hpb=15b7fc321087729ec9665b654f308a17b45dea8e;p=gedcom-parse.git diff --git a/Makefile.am b/Makefile.am index f3b4d3d..fc28a10 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in # $Id$ # $Name$ -SUBDIRS = ansel gedcom . t doc include +SUBDIRS = intl ansel gedcom include . t doc po INCLUDES = -I $(srcdir)/include pkgdata_DATA = gedcom.enc @@ -9,5 +9,18 @@ noinst_PROGRAMS = testgedcom testgedcom_SOURCES = standalone.c testgedcom_LDFLAGS = -L gedcom/.libs -lgedcom +testgedcom_LDADD = @INTLLIBS@ EXTRA_DIST = $(pkgdata_DATA) +VERSIONED_FILES = README + +dist-hook: + @cd $(distdir); \ + for file in $(VERSIONED_FILES); do \ + sed 's/\@VERSION\@/${VERSION}/' $$file > $$file.new; \ + rm $$file; \ + mv $$file.new $$file; \ + done + +clean-local: + rm -f testgedcom.out