1
0
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:
Martin Dietze
2009-08-24 10:10:03 +02:00
committed by Carlos R. Mafra
parent ba027149bd
commit 3f6ae395ce
6 changed files with 26 additions and 10 deletions

View File

@@ -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) {