X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=Makefile.am;h=f8c7be90874807d5370781a7bd6c721f1d6f755a;hb=0fb72629410fb0a84045787b4078de9df753ee31;hp=6b284254bbce80755aeb8a06fef4f49e63810b0e;hpb=7a161f98fa3efba595c96577e3ae7eda15b3dec3;p=gedcom-parse.git diff --git a/Makefile.am b/Makefile.am index 6b28425..f8c7be9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,26 +1,17 @@ ## Process this file with automake to produce Makefile.in # $Id$ # $Name$ -SUBDIRS = intl ansel gedcom . t doc include po -INCLUDES = -I $(srcdir)/include +SUBDIRS = intl ansel gedcom include . t doc po pkgdata_DATA = gedcom.enc -noinst_PROGRAMS = testgedcom -testgedcom_SOURCES = standalone.c -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