rofi/Makefile.am

677 lines
16 KiB
Makefile
Raw Normal View History

2015-02-27 15:34:57 +00:00
# Specify automake version.
AUTOMAKE_OPTIONS = 1.11.3
ACLOCAL_AMFLAGS = -I subprojects/libnkutils -I subprojects/libgwater ${ACLOCAL_FLAGS}
2016-12-09 18:49:49 +00:00
AM_YFLAGS = -d
noinst_LIBRARIES =
EXTRA_DIST=
noinst_PROGRAMS=
check_PROGRAMS=
TESTS=
include $(top_srcdir)/subprojects/libnkutils/libnkutils-nolibtool.mk
include $(top_srcdir)/libgwater-xcb-nolibtool.mk
##
# PKG CONFIG file
##
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pkgconfig/rofi.pc
BUILT_SOURCES=\
lexer/theme-parser.h\
lexer/theme-parser.c\
lexer/theme-lexer.c\
resources/resources.c\
resources/resources.h
$(top_builddir)/resources/resources.c: $(top_srcdir)/resources/resources.xml
mkdir -p $(top_builddir)/resources/
$(GLIB_COMPILE_RESOURCES) $< --generate-source --target=$@ --sourcedir=$(top_srcdir)
$(top_builddir)/resources/resources.h: $(top_srcdir)/resources/resources.xml
mkdir -p $(top_builddir)/resources/
$(GLIB_COMPILE_RESOURCES) $< --generate-header --target=$@ --sourcedir=$(top_srcdir)
2017-03-26 21:19:30 +00:00
$(top_builddir)/lexer/theme-lexer.c: $(top_srcdir)/lexer/theme-lexer.l
$(top_builddir)/lexer/theme-parser.c $(top_builddir)/lexer/theme-parser.h: $(top_srcdir)/lexer/theme-parser.y
rofiincludedir=${includedir}/rofi
rofiinclude_HEADERS=\
include/mode.h\
include/mode-private.h\
include/helper.h\
include/rofi-types.h\
include/rofi-icon-fetcher.h
2014-03-18 07:59:42 +00:00
##
# Rofi the program
##
2014-03-17 17:00:09 +00:00
bin_PROGRAMS=rofi
dist_bin_SCRIPTS=\
script/rofi-sensible-terminal\
script/rofi-theme-selector
2015-08-03 18:40:01 +00:00
2016-03-12 13:00:19 +00:00
nodist_rofi_SOURCES=\
$(top_builddir)/gitconfig.h
SOURCES=\
source/rofi.c\
2016-02-06 12:06:58 +00:00
source/view.c\
2016-01-07 18:47:37 +00:00
source/mode.c\
2015-09-19 19:32:03 +00:00
source/keyb.c\
config/config.c\
2015-09-19 19:32:03 +00:00
source/helper.c\
source/timings.c\
source/history.c\
2016-12-09 18:49:49 +00:00
source/theme.c\
source/rofi-types.c\
source/rofi-icon-fetcher.c\
source/widgets/box.c\
source/widgets/container.c\
source/widgets/icon.c\
source/widgets/widget.c\
source/widgets/textbox.c\
source/widgets/listview.c\
source/widgets/scrollbar.c\
source/xrmoptions.c\
source/xcb.c\
source/css-colors.c\
source/modes/run.c\
source/modes/ssh.c\
source/modes/drun.c\
source/modes/dmenu.c\
source/modes/combi.c\
source/modes/window.c\
source/modes/script.c\
source/modes/help-keys.c\
source/modes/filebrowser.c\
2023-06-12 17:46:14 +00:00
source/modes/recursivebrowser.c\
include/display.h\
2016-03-01 17:11:55 +00:00
include/xcb.h\
include/xcb-internal.h\
include/rofi.h\
include/rofi-types.h\
include/rofi-icon-fetcher.h\
2016-01-07 18:47:37 +00:00
include/mode.h\
include/mode-private.h\
2016-01-07 15:01:56 +00:00
include/settings.h\
2015-09-19 19:32:03 +00:00
include/keyb.h\
2016-02-06 12:06:58 +00:00
include/view.h\
2016-02-06 13:56:13 +00:00
include/view-internal.h\
2015-09-19 19:32:03 +00:00
include/helper.h\
include/helper-theme.h\
include/timings.h\
include/history.h\
2016-12-09 18:49:49 +00:00
include/theme.h\
include/css-colors.h\
include/widgets/box.h\
include/widgets/container.h\
include/widgets/icon.h\
include/widgets/widget.h\
include/widgets/widget-internal.h\
include/widgets/textbox.h\
include/widgets/listview.h\
include/widgets/scrollbar.h\
include/xrmoptions.h\
include/modes/ssh.h\
include/modes/run.h\
include/modes/drun.h\
include/modes/dmenu.h\
include/modes/combi.h\
include/modes/script.h\
include/modes/window.h\
include/modes/modes.h\
include/modes/help-keys.h\
include/modes/filebrowser.h\
2023-06-12 17:46:14 +00:00
include/modes/recursivebrowser.h\
include/modes/dmenuscriptshared.h\
resources/resources.c\
resources/resources.h
rofi_SOURCES=\
lexer/theme-parser.y\
lexer/theme-lexer.l\
resources/resources.xml\
$(SOURCES)
rofi_CFLAGS=\
$(AM_CFLAGS)\
$(glib_CFLAGS)\
$(NKUTILS_CFLAGS)\
$(GW_XCB_CFLAGS)\
$(pango_CFLAGS)\
$(libsn_CFLAGS)\
$(cairo_CFLAGS)\
$(gdkpixbuf_CFLAGS)\
$(imdclient_CFLAGS)\
-DMANPAGE_PATH="\"$(mandir)/\""\
-I$(top_srcdir)/include/\
2017-05-04 19:41:38 +00:00
-I$(top_builddir)/lexer/\
-I$(top_srcdir)/lexer/\
-I$(top_builddir)/resources/\
-I$(top_srcdir)/config/\
-I$(top_builddir)/\
2016-04-01 17:51:24 +00:00
-Werror=missing-prototypes\
2017-01-01 15:32:01 +00:00
-DSYSCONFDIR=\"$(sysconfdir)\"\
-DPLUGIN_PATH=\"${libdir}/rofi\"\
-DTHEME_DIR=\"$(themedir)\"
rofi_LDADD=\
$(glib_LIBS)\
$(NKUTILS_LIBS)\
$(GW_XCB_LIBS)\
$(libsn_LIBS)\
$(pango_LIBS)\
$(cairo_LIBS)\
$(gdkpixbuf_LIBS)\
$(imdclient_LIBS)\
$(LIBS)
2014-03-17 17:00:09 +00:00
##
# Manpage
##
dist_man1_MANS=\
doc/rofi.1\
2017-11-05 14:28:17 +00:00
doc/rofi-theme-selector.1\
doc/rofi-sensible-terminal.1
2014-03-17 17:00:09 +00:00
dist_man5_MANS=\
doc/rofi-theme.5\
2022-04-11 09:19:34 +00:00
doc/rofi-debugging.5\
doc/rofi-keys.5\
2021-12-17 10:13:29 +00:00
doc/rofi-dmenu.5\
doc/rofi-script.5
EXTRA_DIST += \
doc/rofi-theme.5.markdown \
2022-04-11 09:19:34 +00:00
doc/rofi-debugging.5.markdown \
doc/rofi-script.5.markdown \
2021-12-17 10:13:29 +00:00
doc/rofi-keys.5.markdown \
doc/rofi-dmenu.5.markdown \
doc/rofi-theme-selector.1.markdown \
doc/rofi-sensible-terminal.1.markdown \
2021-11-28 15:21:36 +00:00
doc/rofi.1.markdown\
README.md
###
# Themes
###
themedir=$(pkgdatadir)/themes/
theme_DATA=\
2017-01-19 08:19:14 +00:00
themes/Adapta-Nokto.rasi\
themes/Arc.rasi\
themes/Arc-Dark.rasi\
2017-01-19 08:19:14 +00:00
themes/DarkBlue.rasi\
themes/Indego.rasi\
themes/Monokai.rasi\
themes/Paper.rasi\
themes/android_notification.rasi\
2017-01-19 17:58:07 +00:00
themes/arthur.rasi\
2017-01-19 08:19:14 +00:00
themes/blue.rasi\
themes/c64.rasi\
2017-06-05 18:31:32 +00:00
themes/dmenu.rasi\
2021-02-14 12:31:47 +00:00
themes/docu.rasi\
2017-01-19 08:19:14 +00:00
themes/glue_pro_blue.rasi\
themes/gruvbox-common.rasinc\
2017-01-19 08:19:14 +00:00
themes/gruvbox-dark-hard.rasi\
themes/gruvbox-dark-soft.rasi\
themes/gruvbox-dark.rasi\
themes/gruvbox-light-hard.rasi\
themes/gruvbox-light-soft.rasi\
themes/gruvbox-light.rasi\
themes/lb.rasi\
2017-01-19 17:58:07 +00:00
themes/paper-float.rasi\
2017-01-19 08:19:14 +00:00
themes/purple.rasi\
2017-01-19 17:58:07 +00:00
themes/sidebar.rasi\
themes/sidebar-v2.rasi\
2017-01-19 08:19:14 +00:00
themes/solarized.rasi\
2019-05-14 09:35:30 +00:00
themes/solarized_alternate.rasi\
2021-08-17 10:04:16 +00:00
themes/fancy.rasi\
2022-12-31 22:54:14 +00:00
themes/fancy2.rasi\
2021-08-17 10:04:16 +00:00
themes/iggy.rasi\
2022-12-31 22:21:03 +00:00
themes/material.rasi\
themes/fullscreen-preview.rasi\
themes/iggy.jpg
2015-12-08 07:39:18 +00:00
##
2014-03-17 17:00:09 +00:00
# Extra DIST
##
EXTRA_DIST+=\
$(markdown_FILES)\
Examples/i3_switch_workspaces.sh\
2018-11-01 08:32:00 +00:00
Examples/i3_empty_workspace.sh\
Examples/test_script_mode.sh\
Examples/rofi-file-browser.sh\
INSTALL.md\
AUTHORS\
2016-01-07 12:38:53 +00:00
doc/rofi.doxy.in\
2016-03-12 13:00:19 +00:00
script/get_git_rev.sh\
$(theme_DATA)\
doc/default_configuration.rasi\
doc/default_theme.rasi\
Changelog
##
# Indent
##
2022-04-11 09:19:34 +00:00
update-manpage: $(top_srcdir)/doc/rofi-theme-selector.1.markdown $(top_srcdir)/doc/rofi.1.markdown $(top_srcdir)/doc/rofi-theme.5.markdown $(top_srcdir)/doc/rofi-script.5.markdown ${top_srcdir}/doc/rofi-sensible-terminal.1.markdown ${top_srcdir}/doc/rofi-keys.5.markdown ${top_srcdir}/doc/rofi-dmenu.5.markdown $(top_srcdir)/doc/rofi-debugging.5.markdown
go-md2man -in $(top_srcdir)/doc/rofi.1.markdown -out $(top_srcdir)/doc/rofi.1
go-md2man -in $(top_srcdir)/doc/rofi-theme-selector.1.markdown -out $(top_srcdir)/doc/rofi-theme-selector.1
go-md2man -in $(top_srcdir)/doc/rofi-theme.5.markdown -out $(top_srcdir)/doc/rofi-theme.5
2022-04-11 09:19:34 +00:00
go-md2man -in $(top_srcdir)/doc/rofi-debugging.5.markdown -out $(top_srcdir)/doc/rofi-debugging.5
go-md2man -in $(top_srcdir)/doc/rofi-keys.5.markdown -out $(top_srcdir)/doc/rofi-keys.5
go-md2man -in $(top_srcdir)/doc/rofi-script.5.markdown -out $(top_srcdir)/doc/rofi-script.5
2021-12-17 10:13:29 +00:00
go-md2man -in $(top_srcdir)/doc/rofi-dmenu.5.markdown -out $(top_srcdir)/doc/rofi-dmenu.5
go-md2man -in $(top_srcdir)/doc/rofi-sensible-terminal.1.markdown -out $(top_srcdir)/doc/rofi-sensible-terminal.1
2014-08-29 14:24:39 +00:00
##
# Rofi test program
##
check_PROGRAMS+=\
history_test\
textbox_test\
helper_test\
helper_expand\
helper_pidfile\
helper_config_cmdline_parser\
2016-10-21 16:48:01 +00:00
widget_test\
2016-10-24 15:48:04 +00:00
box_test\
scrollbar_test
if USE_CHECK
check_PROGRAMS+=mode_test theme_parser_test helper_tokenize
endif
2016-03-21 19:27:16 +00:00
history_test_CFLAGS=\
$(AM_CFLAGS)\
$(glib_CFLAGS)\
$(NKUTILS_CFLAGS)\
2016-03-01 17:11:55 +00:00
$(libsn_CFLAGS)\
2017-04-12 15:58:32 +00:00
$(cairo_CFLAGS)\
2022-11-19 21:04:25 +00:00
$(pango_CFLAGS)\
-DTHEME_DIR=\"$(themedir)\"\
2017-04-25 09:44:13 +00:00
-DPLUGIN_PATH=\"${libdir}/rofi\"\
-I$(top_srcdir)/include/\
-I$(top_srcdir)/config/\
-I$(top_builddir)/
2016-03-21 19:27:16 +00:00
history_test_LDADD=\
$(glib_LIBS)\
2022-11-19 21:04:25 +00:00
$(pango_LIBS)\
$(NKUTILS_LIBS)
2016-03-21 19:27:16 +00:00
history_test_SOURCES=\
source/history.c\
config/config.c\
include/rofi.h\
2016-01-07 18:47:37 +00:00
include/mode.h\
include/mode-private.h\
2016-01-07 15:01:56 +00:00
include/settings.h\
include/history.h\
test/history-test.c
textbox_test_CFLAGS=\
$(AM_CFLAGS)\
$(glib_CFLAGS)\
$(pango_CFLAGS)\
$(NKUTILS_CFLAGS)\
2016-02-21 15:40:29 +00:00
$(GW_XCB_CFLAGS)\
$(cairo_CFLAGS)\
2016-03-01 17:11:55 +00:00
$(libsn_CFLAGS)\
$(gdkpixbuf_CFLAGS)\
2022-11-19 21:04:25 +00:00
$(pango_CFLAGS)\
2017-04-25 09:44:13 +00:00
-DPLUGIN_PATH=\"${libdir}/rofi\"\
-DTHEME_DIR=\"$(themedir)\"\
-I$(top_srcdir)/include/\
2017-05-04 19:41:38 +00:00
-I$(top_builddir)/lexer/\
-I$(top_srcdir)/lexer/\
-I$(top_srcdir)/config/\
-I$(top_builddir)/resources/\
-I$(top_builddir)/
textbox_test_LDADD=\
$(glib_LIBS)\
$(pango_LIBS)\
$(NKUTILS_LIBS)\
2016-02-21 15:40:29 +00:00
$(GW_XCB_LIBS)\
2016-03-01 17:11:55 +00:00
$(cairo_LIBS)\
2022-11-19 21:04:25 +00:00
$(pango_LIBS)\
2016-03-01 17:11:55 +00:00
$(libsn_LIBS)
helper_pidfile_CFLAGS=$(textbox_test_CFLAGS)
helper_pidfile_LDADD=$(textbox_test_LDADD)
helper_pidfile_SOURCES=\
config/config.c\
include/rofi.h\
include/mode.h\
include/mode-private.h\
source/helper.c\
2021-06-01 12:21:21 +00:00
source/theme.c\
source/css-colors.c\
source/rofi-types.c\
include/rofi-types.h\
include/helper.h\
include/helper-theme.h\
include/xrmoptions.h\
source/xrmoptions.c\
test/helper-pidfile.c
2016-06-01 05:57:04 +00:00
widget_test_LDADD=$(textbox_test_LDADD)
widget_test_CFLAGS=$(textbox_test_CFLAGS)
widget_test_SOURCES=\
source/widgets/widget.c\
2017-01-01 15:32:01 +00:00
source/widgets/textbox.c\
source/theme.c\
source/rofi-types.c\
include/rofi-types.h\
source/css-colors.c\
2017-01-01 15:32:01 +00:00
source/helper.c\
config/config.c\
lexer/theme-parser.y\
lexer/theme-lexer.l\
test/widget-test.c\
resources/resources.c
2016-10-21 16:48:01 +00:00
box_test_LDADD=$(textbox_test_LDADD)
box_test_CFLAGS=$(textbox_test_CFLAGS)
box_test_SOURCES=\
source/widgets/widget.c\
source/widgets/box.c\
lexer/theme-parser.y\
lexer/theme-lexer.l\
source/theme.c\
source/rofi-types.c\
include/rofi-types.h\
source/css-colors.c\
2017-01-01 16:03:42 +00:00
include/theme.h\
include/css-colors.h\
config/config.c\
resources/resources.c\
2016-10-21 16:48:01 +00:00
test/box-test.c
2016-10-24 15:48:04 +00:00
scrollbar_test_LDADD=$(textbox_test_LDADD)
scrollbar_test_CFLAGS=$(textbox_test_CFLAGS)
scrollbar_test_SOURCES=\
source/widgets/widget.c\
source/widgets/scrollbar.c\
lexer/theme-parser.y\
lexer/theme-lexer.l\
source/theme.c\
source/rofi-types.c\
include/rofi-types.h\
source/css-colors.c\
2017-01-01 16:03:42 +00:00
include/theme.h\
include/css-colors.h\
config/config.c\
test/scrollbar-test.c\
resources/resources.c
2016-10-24 15:48:04 +00:00
textbox_test_SOURCES=\
source/widgets/widget.c\
source/widgets/textbox.c\
lexer/theme-parser.y\
lexer/theme-lexer.l\
source/theme.c\
source/rofi-types.c\
include/rofi-types.h\
source/css-colors.c\
2017-01-01 15:32:01 +00:00
source/helper.c\
config/config.c\
include/keyb.h\
include/rofi.h\
2016-01-07 18:47:37 +00:00
include/mode.h\
include/mode-private.h\
2016-01-07 15:01:56 +00:00
include/settings.h\
include/widgets/widget.h\
include/widgets/widget-internal.h\
include/widgets/textbox.h\
2015-04-30 20:42:04 +00:00
include/xrmoptions.h\
include/helper.h\
include/helper-theme.h\
resources/resources.c\
test/textbox-test.c
if USE_CHECK
theme_parser_test_CFLAGS=${helper_test_CFLAGS} $(check_CFLAGS)
theme_parser_test_LDADD=${helper_test_LDADD} $(check_LIBS)
2017-04-04 06:56:19 +00:00
theme_parser_test_SOURCES=\
config/config.c\
include/rofi.h\
include/mode.h\
include/mode-private.h\
source/helper.c\
include/helper.h\
include/helper-theme.h\
include/theme.h\
include/css-colors.h\
2017-04-04 06:56:19 +00:00
include/xrmoptions.h\
source/xrmoptions.c\
lexer/theme-lexer.c\
lexer/theme-parser.c\
lexer/theme-parser.h\
source/theme.c\
source/rofi-types.c\
include/rofi-types.h\
source/css-colors.c\
resources/resources.c\
2017-04-04 06:56:19 +00:00
test/theme-parser-test.c
endif
2017-04-04 06:56:19 +00:00
helper_test_SOURCES=\
config/config.c\
include/rofi.h\
2016-01-07 18:47:37 +00:00
include/mode.h\
include/mode-private.h\
source/helper.c\
include/helper.h\
include/helper-theme.h\
2015-02-17 14:19:26 +00:00
include/xrmoptions.h\
source/xrmoptions.c\
2021-06-01 12:21:21 +00:00
source/theme.c\
source/css-colors.c\
source/rofi-types.c\
include/rofi-types.h\
test/helper-test.c
helper_test_CFLAGS=\
$(AM_CFLAGS)\
$(glib_CFLAGS)\
$(pango_CFLAGS)\
$(NKUTILS_CFLAGS)\
2016-02-28 00:21:22 +00:00
$(GW_XCB_CFLAGS)\
$(cairo_CFLAGS)\
$(gdkpixbuf_CFLAGS)\
2016-03-01 17:11:55 +00:00
$(libsn_CFLAGS)\
2017-04-25 09:44:13 +00:00
-DPLUGIN_PATH=\"${libdir}/rofi\"\
-DTHEME_DIR=\"$(themedir)\"\
-I$(top_srcdir)/include/\
2017-05-04 19:41:38 +00:00
-I$(top_builddir)/lexer/\
-I$(top_srcdir)/lexer/\
-I$(top_srcdir)/config/\
-I$(top_builddir)/resources/\
-I$(top_builddir)/
helper_test_LDADD=\
$(glib_LIBS)\
$(pango_LIBS)\
$(NKUTILS_LIBS)\
2016-02-28 00:21:22 +00:00
$(GW_XCB_LIBS)\
$(libsn_LIBS)\
$(cairo_LIBS)
2016-03-21 16:16:45 +00:00
helper_expand_SOURCES=\
config/config.c\
include/rofi.h\
include/mode.h\
include/mode-private.h\
source/helper.c\
2021-06-01 12:21:21 +00:00
source/theme.c\
source/css-colors.c\
2016-03-21 16:16:45 +00:00
include/helper.h\
include/helper-theme.h\
2016-03-21 16:16:45 +00:00
include/xrmoptions.h\
source/xrmoptions.c\
source/rofi-types.c\
include/rofi-types.h\
2016-03-21 16:16:45 +00:00
test/helper-expand.c
helper_expand_CFLAGS=${helper_test_CFLAGS}
helper_expand_LDADD=${helper_test_LDADD}
helper_config_cmdline_parser_CFLAGS=${helper_test_CFLAGS}
helper_config_cmdline_parser_LDADD=${helper_test_LDADD}
helper_config_cmdline_parser_SOURCES=\
config/config.c\
include/rofi.h\
include/mode.h\
include/mode-private.h\
source/helper.c\
2021-06-01 12:21:21 +00:00
source/theme.c\
source/css-colors.c\
source/rofi-types.c\
include/rofi-types.h\
include/helper.h\
include/helper-theme.h\
include/xrmoptions.h\
source/xrmoptions.c\
test/helper-config-cmdline-parser.c
if USE_CHECK
2017-04-29 15:51:38 +00:00
mode_test_CFLAGS=$(textbox_test_CFLAGS) $(check_CFLAGS)
mode_test_LDADD=$(textbox_test_LDADD) $(check_LIBS)
mode_test_SOURCES=\
config/config.c\
test/mode-test.c\
source/modes/help-keys.c\
source/helper.c\
2021-06-05 10:58:07 +00:00
source/theme.c\
source/css-colors.c\
source/mode.c\
source/rofi-types.c\
include/rofi-types.h\
source/xrmoptions.c\
source/keyb.c\
include/mode.h\
include/mode-private.h
helper_tokenize_CFLAGS=$(textbox_test_CFLAGS) $(check_CFLAGS)
helper_tokenize_LDADD=$(textbox_test_LDADD) $(check_LIBS)
helper_tokenize_SOURCES=\
config/config.c\
include/rofi.h\
include/mode.h\
include/mode-private.h\
source/helper.c\
2021-06-05 10:58:07 +00:00
source/theme.c\
source/css-colors.c\
source/rofi-types.c\
include/rofi-types.h\
include/helper.h\
include/helper-theme.h\
include/xrmoptions.h\
source/xrmoptions.c\
test/helper-tokenize.c
endif
TESTS+=\
2016-03-21 19:27:16 +00:00
history_test\
2016-03-21 16:16:45 +00:00
helper_test\
helper_expand\
helper_pidfile\
2016-06-01 05:57:04 +00:00
helper_config_cmdline_parser\
textbox_test\
2016-10-21 16:48:01 +00:00
widget_test\
2016-10-24 15:48:04 +00:00
box_test\
scrollbar_test
if USE_CHECK
TESTS+=theme_parser_test\
helper_tokenize\
mode_test
endif
2015-01-16 07:34:11 +00:00
.PHONY: cppcheck
cppcheck: $(rofi_SOURCES)
cppcheck --std=c99 --platform=unix64 --enable=all -Uerror_dialog --inconclusive -I $(top_srcdir)/include/ $^
2015-01-17 17:27:41 +00:00
.PHONY: ohcount
ohcount: $(rofi_SOURCES)
ohcount -i $(top_srcdir)/source/ $(top_srcdir)/include/
2016-01-05 18:49:13 +00:00
doxy: doc/rofi.doxy $(rofi_SOURCES)
doxygen $(top_builddir)/doc/rofi.doxy
2016-01-07 12:38:53 +00:00
2016-03-12 13:00:19 +00:00
clean-local:
-rm $(top_builddir)/gitconfig.h
-rm $(top_builddir)/resources/resources.h
-rm $(top_builddir)/resources/resources.c
2016-03-12 13:00:19 +00:00
$(top_builddir)/gitconfig.h: .FORCE
$(top_srcdir)/script/get_git_rev.sh $(top_srcdir) $(top_builddir)/gitconfig.h
$(rofi_SOURCES): $(top_builddir)/gitconfig.h
.PHONY: coverage
coverage: coverage/index.html
2016-10-18 20:54:38 +00:00
.PHONY: coverage-cli
coverage-cli: coverage.info
lcov -l $^
coverage.info: $(top_builddir)/test/*.gcda $(top_builddir)/source/*.gcda $(top_builddir)/source/**/*.gcda
lcov --capture --directory $(top_builddir) --output-file coverage.info
2016-10-18 20:54:38 +00:00
lcov -r $@ /usr/include/\* -o $@
coverage/index.html: coverage.info
genhtml $^ --output-directory coverage/
2016-10-18 20:54:38 +00:00
.PHONY: coverage-clean
coverage-clean:
-rm -r coverage.info coverage/
-find $(top_builddir) -name '*.gcda' | xargs rm
2016-10-18 20:54:38 +00:00
2016-03-12 13:00:19 +00:00
.PHONY: .FORCE
.FORCE:
icondir=$(datadir)/icons/hicolor/scalable/apps/
icon_DATA=\
data/rofi.svg
desktopdir=$(datadir)/applications/
desktop_DATA=\
data/rofi.desktop\
data/rofi-theme-selector.desktop
EXTRA_DIST += \
doc/meson.build \
2021-08-30 08:05:05 +00:00
subprojects/libgwater/mpd/meson.build \
subprojects/libgwater/nl/meson.build \
subprojects/libgwater/wayland/meson.build \
subprojects/libgwater/xcb/meson.build \
subprojects/libgwater/alsa-mixer/meson.build \
subprojects/libgwater/wayland-server/meson.build \
subprojects/libgwater/meson.build \
subprojects/libgwater/win/meson.build \
subprojects/libnkutils/meson.build \
subprojects/libnkutils/meson_options.txt \
2021-08-30 08:05:05 +00:00
subprojects/libgwater/wayland/libgwater-wayland.h \
subprojects/libgwater/wayland/libgwater-wayland.c \
subprojects/libgwater/wayland-server/libgwater-wayland-server.c \
subprojects/libgwater/wayland-server/libgwater-wayland-server.h \
subprojects/libgwater/mpd/libgwater-mpd.h \
subprojects/libgwater/mpd/libgwater-mpd.c \
subprojects/libgwater/nl/libgwater-nl.h \
subprojects/libgwater/nl/libgwater-nl.c \
subprojects/libgwater/alsa-mixer/libgwater-alsa-mixer.h \
subprojects/libgwater/alsa-mixer/libgwater-alsa-mixer.c \
data/rofi.png\
meson_options.txt \
meson.build
EXTRA_DIST += ${desktop_DATA}\
${icon_DATA}