mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Add GLOBAL_DEFAULTS_SUBDIR and fix a syntax error in wmlib/Makefile.am
This commit is contained in:
committed by
Carlos R. Mafra
parent
ba027149bd
commit
3f6ae395ce
@@ -54,6 +54,10 @@
|
||||
|
||||
#include <WINGs/WUtil.h>
|
||||
|
||||
#ifndef GLOBAL_DEFAULTS_SUBDIR
|
||||
#define GLOBAL_DEFAULTS_SUBDIR "WindowMaker"
|
||||
#endif
|
||||
|
||||
/****** Global Variables ******/
|
||||
|
||||
/* general info */
|
||||
@@ -610,7 +614,7 @@ static int real_main(int argc, char **argv)
|
||||
printf("Window Maker %s\n", VERSION);
|
||||
exit(0);
|
||||
} else if (strcmp(argv[i], "--global_defaults_path") == 0) {
|
||||
printf("%s/WindowMaker\n", SYSCONFDIR);
|
||||
printf("%s/%s\n", SYSCONFDIR, GLOBAL_DEFAULTS_SUBDIR);
|
||||
exit(0);
|
||||
#ifdef DEBUG
|
||||
} else if (strcmp(argv[i], "--synchronous") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user