diff options
Diffstat (limited to 'share/postgresql-setup')
-rw-r--r-- | share/postgresql-setup/.gitignore | 1 | ||||
-rw-r--r-- | share/postgresql-setup/Makefile.inc | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/share/postgresql-setup/.gitignore b/share/postgresql-setup/.gitignore new file mode 100644 index 0000000..d9c09a5 --- /dev/null +++ b/share/postgresql-setup/.gitignore @@ -0,0 +1 @@ +upgrade.conf diff --git a/share/postgresql-setup/Makefile.inc b/share/postgresql-setup/Makefile.inc new file mode 100644 index 0000000..d202fc6 --- /dev/null +++ b/share/postgresql-setup/Makefile.inc @@ -0,0 +1,16 @@ +upgrade_config = %D%/upgrade.conf + +rawpkgdatadir = $(datadir)/postgresql-setup +rawpkgdata_DATA = \ + $(upgrade_config) + +$(UPGRADE_CONFIG_LIST): + @echo " error: config file '$@' does not exist" && false + +$(upgrade_config): $(UPGRADE_CONFIG_LIST) $(c_s) + $(INSTANTIATE_CONV) \ + && $(config_builder) "$(UPGRADE_CONFIG_LIST)" > $@ + +GENERATED_FILES += $(upgrade_config) + +# vim: ft=automake noet |