diff options
author | markt <markt> | 2006-06-23 00:31:08 (GMT) |
---|---|---|
committer | markt <markt> | 2006-06-23 00:31:08 (GMT) |
commit | 5fc5ec3374ad903cdf6a2c6b30ce7d8de54d087b (patch) | |
tree | 17b83d474590815da1e23f3e8843c6faf8112e98 | |
parent | dedbd7e46816ebce6628d9357cc7feee7a61ab57 (diff) | |
download | fluxbox_pavel-5fc5ec3374ad903cdf6a2c6b30ce7d8de54d087b.zip fluxbox_pavel-5fc5ec3374ad903cdf6a2c6b30ce7d8de54d087b.tar.bz2 |
Make startfluxbox aware of --program-prefix and --program-suffix
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.in | 3 | ||||
-rw-r--r-- | util/Makefile.am | 5 | ||||
-rwxr-xr-x | util/startfluxbox.in | 8 |
4 files changed, 15 insertions, 4 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc2: | 2 | Changes for 1.0rc2: |
3 | *06/06/23: | ||
4 | * Make startfluxbox aware of --program-prefix and --program-suffix (Mark) | ||
5 | configure.in util/Makefile.am util/startfluxbox.in | ||
3 | *06/06/22: | 6 | *06/06/22: |
4 | * new Resource: session.modKey: <modkey> (thanks Jim Ramsay i dot am at jimramsay dot com) | 7 | * new Resource: session.modKey: <modkey> (thanks Jim Ramsay i dot am at jimramsay dot com) |
5 | new Command: SetModKey <modkey> | 8 | new Command: SetModKey <modkey> |
diff --git a/configure.in b/configure.in index 54e8a12..7b32edc 100644 --- a/configure.in +++ b/configure.in | |||
@@ -592,6 +592,9 @@ AC_ARG_WITH( | |||
592 | AC_DEFINE_UNQUOTED(LOCALEPATH, "$LOCALE_PATH", "location for nls files") | 592 | AC_DEFINE_UNQUOTED(LOCALEPATH, "$LOCALE_PATH", "location for nls files") |
593 | AC_SUBST(LOCALE_PATH) | 593 | AC_SUBST(LOCALE_PATH) |
594 | 594 | ||
595 | AC_SUBST(program_prefix) | ||
596 | AC_SUBST(program_suffix) | ||
597 | |||
595 | dnl Determine the return type of signal handlers | 598 | dnl Determine the return type of signal handlers |
596 | AC_TYPE_SIGNAL | 599 | AC_TYPE_SIGNAL |
597 | 600 | ||
diff --git a/util/Makefile.am b/util/Makefile.am index 58a232f..53a61d7 100644 --- a/util/Makefile.am +++ b/util/Makefile.am | |||
@@ -11,6 +11,9 @@ MAINTAINERCLEANFILES= Makefile.in | |||
11 | EXTRA_DIST= fbsetbg fluxbox-generate_menu.in \ | 11 | EXTRA_DIST= fbsetbg fluxbox-generate_menu.in \ |
12 | startfluxbox.in | 12 | startfluxbox.in |
13 | 13 | ||
14 | PROGRAM_PREFIX=@program_prefix@ | ||
15 | PROGRAM_SUFFIX=@program_suffix@ | ||
16 | |||
14 | all-local: startfluxbox | 17 | all-local: startfluxbox |
15 | 18 | ||
16 | clean-local: | 19 | clean-local: |
@@ -22,6 +25,8 @@ fbsetroot.o: fbsetroot.cc ../config.h $(srcdir)/fbsetroot.hh \ | |||
22 | startfluxbox: startfluxbox.in | 25 | startfluxbox: startfluxbox.in |
23 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" \ | 26 | @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir),g" \ |
24 | -e "s,@pkgbindir@,$(bindir),g" \ | 27 | -e "s,@pkgbindir@,$(bindir),g" \ |
28 | -e "s,@pkgprefix@,$(PROGRAM_PREFIX:NONE=),g" \ | ||
29 | -e "s,@pkgsuffix@,$(PROGRAM_SUFFIX:NONE=),g" \ | ||
25 | $(srcdir)/startfluxbox.in > startfluxbox | 30 | $(srcdir)/startfluxbox.in > startfluxbox |
26 | -chmod 755 startfluxbox | 31 | -chmod 755 startfluxbox |
27 | 32 | ||
diff --git a/util/startfluxbox.in b/util/startfluxbox.in index c17304b..4209be9 100755 --- a/util/startfluxbox.in +++ b/util/startfluxbox.in | |||
@@ -44,10 +44,10 @@ else | |||
44 | # | 44 | # |
45 | # This sets a black background | 45 | # This sets a black background |
46 | 46 | ||
47 | @pkgbindir@/fbsetroot -solid black | 47 | @pkgbindir@/@pkgprefix@fbsetroot@pkgsuffix@ -solid black |
48 | 48 | ||
49 | # This shows the fluxbox-splash-screen | 49 | # This shows the fluxbox-splash-screen |
50 | # fbsetbg -C @pkgdatadir@/splash.jpg | 50 | # @pkgprefix@fbsetbg@pkgsuffix@ -C @pkgdatadir@/splash.jpg |
51 | 51 | ||
52 | # Other examples. Check man xset for details. | 52 | # Other examples. Check man xset for details. |
53 | # | 53 | # |
@@ -79,9 +79,9 @@ else | |||
79 | # And last but not least we start fluxbox. | 79 | # And last but not least we start fluxbox. |
80 | # Because it is the last app you have to run it with ''exec'' before it. | 80 | # Because it is the last app you have to run it with ''exec'' before it. |
81 | 81 | ||
82 | exec @pkgbindir@/fluxbox | 82 | exec @pkgbindir@/@pkgprefix@fluxbox@pkgsuffix@ |
83 | # or if you want to keep a log: | 83 | # or if you want to keep a log: |
84 | # exec @pkgbindir@/fluxbox -log "$HOME/.fluxbox/log" | 84 | # exec @pkgbindir@/@pkgprefix@fluxbox@pkgsuffix@ -log "$HOME/.fluxbox/log" |
85 | EOF | 85 | EOF |
86 | ) > "$startup" | 86 | ) > "$startup" |
87 | fi | 87 | fi |