Add make targets replacing the running awesome
Presuming we are running awesome on this screen, and this is screen 0, * we replace the running awesome instance by a freshly compiled one with the "restart-uninstalled" target, * we replace the running awesome instance by the last installed one with the "restart-installed" target. Note this can render your running X11 screen unusable. A little bit of test magic starting Xnest should make more confined tests possible with less serious failure modes. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a9d7a08c2e
commit
f1e4ad09a1
11
Makefile.am
11
Makefile.am
|
@ -251,3 +251,14 @@ doc: doc/html/index.html
|
|||
doc/html/index.html: awesome.doxygen$(DOXYGEN_SEGFAULT) $(awesome_SOURCES) $(awesome_client_SOURCES)
|
||||
$(DOXYGEN) awesome.doxygen$(DOXYGEN_SEGFAULT)
|
||||
endif
|
||||
|
||||
|
||||
# Presuming we are running awesome on this screen, and this is screen 0, ...
|
||||
# ...we replace the running awesome instance by a freshly compiled one.
|
||||
restart-uninstalled: awesome awesome-client
|
||||
echo 0 exec "$${PWD}/awesome" | "$${PWD}/awesome-client"
|
||||
|
||||
# ...we replace the running awesome instance by the last installed one.
|
||||
restart-installed:
|
||||
echo 0 exec "$(DESTDIR)$(bindir)/awesome" | "$(DESTDIR)$(bindir)/awesome-client"
|
||||
|
||||
|
|
Loading…
Reference in New Issue