$NetBSD: patch-ah,v 1.8 2003/02/16 23:08:58 seb Exp $ --- contrib/trytime/Makefile.in.orig Tue Feb 4 14:44:49 2003 +++ contrib/trytime/Makefile.in @@ -87,9 +87,9 @@ VERSION = @VERSION@ ZLIB_CFLAGS = @ZLIB_CFLAGS@ ZLIB_LIB_DIR = @ZLIB_LIB_DIR@ -INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/gd1.3 +INCLUDES = -I$(top_srcdir)/src EXTRA_DIST = trytime.c -contribdir = $(prefix)/contrib/trytime +contribdir = $(prefix)/share/rrdtool/contrib/trytime contrib_DATA = README trytime.c bin_PROGRAMS = trytime trytime_SOURCES = trytime.c @@ -121,7 +121,7 @@ PACKAGE = @PACKAGE@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best SOURCES = $(trytime_SOURCES) OBJECTS = $(trytime_OBJECTS) @@ -130,7 +130,7 @@ all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .lo .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps contrib/trytime/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps contrib/trytime/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ @@ -260,17 +260,13 @@ distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + cp -pr $$/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -trytime.o: trytime.c ../../src/getopt.h ../../src/rrd_tool.h \ - ../../config/config.h ../../src/rrd.h ../../src/rrd_format.h \ - ../../gd1.3/gd.h - info-am: info: info-am dvi-am: