mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-27 08:52:30 +01:00
configure: Add option to specify global defaults directory.
Previously, this was only (partially) possible by redefining the macro GLOBAL_DEFAULTS_SUBDIR. This told Window Maker to look for the global config files in a particular subdirectory of SYSCONFDIR. However: * This is undocumented. * GLOBAL_DEFAULTS_SUBDIR is ignored when installing the config files. They are always installed to SYSCONFDIR/WindowMaker. To solve these issues, we add a "--with-defsdatadir" option to configure which allows a user to specify the global defaults directory.
This commit is contained in:
committed by
Carlos R. Mafra
parent
ac92f1a844
commit
6fa1c0c009
@@ -21,8 +21,8 @@ config-paths.h: Makefile
|
||||
@echo '/* where shared data is stored */' >> $@
|
||||
@echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
|
||||
@echo '' >> $@
|
||||
@echo '/* where the configuration is stored */' >> $@
|
||||
@echo '#define SYSCONFDIR "$(sysconfdir)"' >> $@
|
||||
@echo '/* where the global defaults are stored */' >> $@
|
||||
@echo '#define DEFSDATADIR "$(defsdatadir)"' >> $@
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user