From 7e1cdf2d5983e1d16d07f7c33ab0ec74b8097d77 Mon Sep 17 00:00:00 2001 From: John D Pell Date: Sun, 8 Aug 2021 09:36:16 +0200 Subject: [PATCH] Add definition of directory names used for building paths in common header The organisation of the file tree for storing application files depends on a number of directories with a specific name. This patch puts these names in the generated "config-paths.h" so they can be shared between WINGs and WindowMaker, and could be user-configured in the future. --- Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile.am b/Makefile.am index 94ca7117..c2521ee8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,15 @@ config-paths.h: Makefile @echo '' >> $@ @echo '/* where the global defaults are stored */' >> $@ @echo '#define DEFSDATADIR "$(defsdatadir)"' >> $@ + @echo '' >> $@ + @echo '/* where the user data root is located */' >> $@ + @echo '#define GSUSER_SUBDIR "GNUstep"' >> $@ + @echo '' >> $@ + @echo '/* where the user defaults are stored */' >> $@ + @echo '#define DEFAULTS_SUBDIR "Defaults"' >> $@ + @echo '' >> $@ + @echo '/* where the user data are stored */' >> $@ + @echo '#define USERDATA_SUBDIR "Library"' >> $@ ACLOCAL_AMFLAGS = -I m4