Makefile 1.1 KB

12345678910111213141516171819202122232425262728
  1. #-------------------------------------------------------------------------
  2. #
  3. # Makefile for src/include/catalog
  4. #
  5. # Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  6. # Portions Copyright (c) 1994, Regents of the University of California
  7. #
  8. # src/include/catalog/Makefile
  9. #
  10. #-------------------------------------------------------------------------
  11. subdir = src/include/catalog
  12. top_builddir = ../../..
  13. include $(top_builddir)/src/Makefile.global
  14. # 'make reformat-dat-files' is a convenience target for rewriting the
  15. # catalog data files in our standard format. This includes collapsing
  16. # out any entries that are redundant with a BKI_DEFAULT annotation.
  17. reformat-dat-files:
  18. $(PERL) $(srcdir)/reformat_dat_file.pl --output $(srcdir) $(srcdir)/pg_*.dat
  19. # 'make expand-dat-files' is a convenience target for expanding out all
  20. # default values in the catalog data files. This should be run before
  21. # altering or removing any BKI_DEFAULT annotation.
  22. expand-dat-files:
  23. $(PERL) $(srcdir)/reformat_dat_file.pl --output $(srcdir) $(srcdir)/pg_*.dat --full-tuples
  24. .PHONY: reformat-dat-files expand-dat-files