On Sat, 2004-05-29 at 01:31, Matthew T. O'Connor wrote: > Having no response from my email to hackers yesterday, I will assume > (hope) that no news is good news and proceed onwards. > > As outlined in my email, step 1 is to move pg_autovacuum from contrib to > src/bin. Attached is a patch that modifies src/bin/Makefile and the > pg_autovacuum Makefile which will be in src/bin/pg_autovacuum/Makefile > once the pg_autovacuum directory is moved. > > If there is anything else I can to to facilitate this move, let me know > and I'll do it.
Actually attaching the patch might be something else I could do :-) Anyway, here is the patch for real this time.... Matthew
*** ./contrib/Makefile.orig 2004-05-29 01:51:03.563930838 -0400 --- ./contrib/Makefile 2004-05-29 01:51:27.771276875 -0400 *************** *** 24,30 **** miscutil \ noupdate \ oid2name \ - pg_autovacuum \ pg_dumplo \ pg_logger \ pgbench \ --- 24,29 ---- *** ./src/bin/Makefile.orig 2004-05-29 01:22:42.524548016 -0400 --- ./src/bin/Makefile 2004-05-29 01:11:23.286137305 -0400 *************** *** 14,20 **** include $(top_builddir)/src/Makefile.global DIRS := initdb initlocation ipcclean pg_ctl pg_dump \ ! psql scripts pg_config pg_controldata pg_resetxlog all install installdirs uninstall depend distprep: @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done --- 14,20 ---- include $(top_builddir)/src/Makefile.global DIRS := initdb initlocation ipcclean pg_ctl pg_dump \ ! psql scripts pg_config pg_controldata pg_resetxlog pg_autovacuum all install installdirs uninstall depend distprep: @for dir in $(DIRS); do $(MAKE) -C $$dir $@ || exit; done *** ./src/bin/pg_autovacuum/Makefile.orig 2004-05-29 01:11:58.808236097 -0400 --- ./src/bin/pg_autovacuum/Makefile 2004-05-29 01:14:35.739001769 -0400 *************** *** 1,14 **** ! subdir = contrib/pg_autovacuum ! top_builddir = ../.. include $(top_builddir)/src/Makefile.global ! PROGRAM = pg_autovacuum ! OBJS = pg_autovacuum.o ! PG_CPPFLAGS = -I$(libpq_srcdir) ! PG_LIBS = $(libpq) ! DOCS = README.pg_autovacuum ! include $(top_srcdir)/contrib/contrib-global.mk --- 1,43 ---- + #------------------------------------------------------------------------- + # + # Makefile for src/bin/pg_autovacuum + # + #------------------------------------------------------------------------- ! subdir = src/bin/pg_autovacuum ! top_builddir = ../../.. include $(top_builddir)/src/Makefile.global ! override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) -DFRONTEND ! #OBJS= pg_autovacuum.o ! #PG_DUMPALL_OBJS = $(filter exec.o, $(LIBOBJS)) ! #EXTRA_OBJS = $(top_builddir)/src/backend/parser/keywords.o ! ! all: pg_autovacuum ! ! pg_autovacuum: pg_autovacuum.o ! $(CC) $(CFLAGS) pg_autovacuum.o $(libpq) $(LDFLAGS) $(LIBS) -o [EMAIL PROTECTED](X) ! ! # We need our own build of exec.c so it gets made with -DFRONTEND ! #exec.c: % : $(top_srcdir)/src/port/% ! # rm -f $@ && $(LN_S) $< . ! ! #.PHONY: submake-backend ! #submake-backend: ! # $(MAKE) -C $(top_builddir)/src/backend/parser keywords.o ! ! ! install: all installdirs ! $(INSTALL_PROGRAM) pg_autovacuum$(X) $(DESTDIR)$(bindir)/pg_autovacuum$(X) ! ! installdirs: ! $(mkinstalldirs) $(DESTDIR)$(bindir) ! ! uninstall: ! rm -f $(addprefix $(DESTDIR)$(bindir)/, pg_autovacuum$(X) ) ! ! clean distclean maintainer-clean: ! rm -f pg_autovacuum$(X) $(OBJS) pg_autovacuum.o
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])