#-------------------------------------------------------------------------
#
# Makefile for src/include/catalog
#
# 'make reformat-dat-files' is a convenience target for rewriting the
# catalog data files in a standard format.
#
# Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# src/include/catalog/Makefile
#
#-------------------------------------------------------------------------

subdir = src/include/catalog
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

# location of Catalog.pm
catalogdir = $(top_srcdir)/src/backend/catalog

reformat-dat-files:
	$(PERL) -I $(catalogdir) reformat_dat_files.pl pg_*.dat

.PHONY: reformat-dat-files
