summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2004-12-21 02:14:41 +0000
committerTom Lane2004-12-21 02:14:41 +0000
commitf0cbfcd39984ecd19dddd688f1abd853e0ff3c86 (patch)
tree3fccb0003487b8e97459cbc41cced392d8e7895e
parentc20d6062a39bf08a601d3f8e009aa491bd04318b (diff)
Patch to make libpq.rc be a built-for-distribution file was a few
bricks shy of a load.
-rw-r--r--src/interfaces/libpq/.cvsignore1
-rw-r--r--src/interfaces/libpq/Makefile6
2 files changed, 4 insertions, 3 deletions
diff --git a/src/interfaces/libpq/.cvsignore b/src/interfaces/libpq/.cvsignore
index eda1a6d3f6..aa2b04ec7e 100644
--- a/src/interfaces/libpq/.cvsignore
+++ b/src/interfaces/libpq/.cvsignore
@@ -1,3 +1,4 @@
libpqdll.def
libpqddll.def
blibpqdll.def
+libpq.rc
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index deaedf7375..54d67dfa80 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.123 2004/12/19 02:16:24 momjian Exp $
+# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.124 2004/12/21 02:14:41 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -88,7 +88,7 @@ encnames.c wchar.c : % : $(backend_src)/utils/mb/%
# Since we can't assume that Windows boxes will have sed, the .DEF files are
# always built and included in distribution tarballs.
-distprep: def-files
+distprep: def-files $(srcdir)/libpq.rc
.PHONY: def-files
@@ -148,4 +148,4 @@ clean distclean: clean-lib
rm -f $(OBJS) crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c md5.c ip.c encnames.c wchar.c pthread.h
maintainer-clean: distclean
- rm -f $(srcdir)/libpqdll.def $(srcdir)/libpqddll.def $(srcdir)/blibpqdll.def
+ rm -f $(srcdir)/libpqdll.def $(srcdir)/libpqddll.def $(srcdir)/blibpqdll.def $(srcdir)/libpq.rc