X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=Makefile.am;h=fd2524ab4358a54d3cc8c4b4c317c7dc429c7a34;hb=fe2dc3978893f5ef76c12b96947d756c36361b63;hp=fc28a10210180bee69bb93a370331e9c4e559477;hpb=8c92a223c34fbd674f26520fb990c64a7b2f9147;p=gedcom-parse.git diff --git a/Makefile.am b/Makefile.am index fc28a10..fd2524a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,24 +3,23 @@ # $Name$ SUBDIRS = intl ansel gedcom include . t doc po INCLUDES = -I $(srcdir)/include +CFLAGS = -g -O2 pkgdata_DATA = gedcom.enc noinst_PROGRAMS = testgedcom -testgedcom_SOURCES = standalone.c +testgedcom_SOURCES = standalone.c utf8-locale.c +noinst_HEADERS = utf8-locale.h testgedcom_LDFLAGS = -L gedcom/.libs -lgedcom testgedcom_LDADD = @INTLLIBS@ -EXTRA_DIST = $(pkgdata_DATA) +EXTRA_DIST = $(pkgdata_DATA) Makefile.inc VERSIONED_FILES = README +include $(top_srcdir)/Makefile.inc + dist-hook: - @cd $(distdir); \ - for file in $(VERSIONED_FILES); do \ - sed 's/\@VERSION\@/${VERSION}/' $$file > $$file.new; \ - rm $$file; \ - mv $$file.new $$file; \ - done + $(replace-VERSION) clean-local: rm -f testgedcom.out