2015-02-27 15:34:57 +00:00
|
|
|
# Specify automake version.
|
2015-03-01 19:17:30 +00:00
|
|
|
AUTOMAKE_OPTIONS = 1.11.3
|
2014-08-29 11:06:40 +00:00
|
|
|
|
2016-02-19 21:43:53 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I libgwater ${ACLOCAL_FLAGS}
|
|
|
|
|
|
|
|
noinst_LIBRARIES =
|
|
|
|
include $(top_srcdir)/libgwater-xcb-nolibtool.mk
|
|
|
|
|
2014-03-18 07:59:42 +00:00
|
|
|
##
|
|
|
|
# Rofi the program
|
|
|
|
##
|
2014-03-17 17:00:09 +00:00
|
|
|
bin_PROGRAMS=rofi
|
|
|
|
|
2015-08-03 18:40:01 +00:00
|
|
|
dist_bin_SCRIPTS=script/rofi-sensible-terminal
|
|
|
|
|
2016-03-12 13:00:19 +00:00
|
|
|
nodist_rofi_SOURCES=\
|
|
|
|
$(top_builddir)/gitconfig.h
|
|
|
|
|
2014-03-17 17:00:09 +00:00
|
|
|
rofi_SOURCES=\
|
2016-02-16 10:12:58 +00:00
|
|
|
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\
|
2016-02-16 10:12:58 +00:00
|
|
|
config/config.c\
|
2015-09-19 19:32:03 +00:00
|
|
|
source/helper.c\
|
2016-01-09 15:22:09 +00:00
|
|
|
source/widget.c\
|
2016-02-16 10:12:58 +00:00
|
|
|
source/textbox.c\
|
2015-11-14 12:47:45 +00:00
|
|
|
source/timings.c\
|
2016-02-16 10:12:58 +00:00
|
|
|
source/history.c\
|
|
|
|
source/scrollbar.c\
|
2015-09-19 19:32:03 +00:00
|
|
|
source/i3-support.c\
|
2016-02-16 10:12:58 +00:00
|
|
|
source/xrmoptions.c\
|
2015-02-13 07:26:23 +00:00
|
|
|
source/x11-helper.c\
|
2016-02-16 10:12:58 +00:00
|
|
|
source/dialogs/run.c\
|
|
|
|
source/dialogs/ssh.c\
|
|
|
|
source/dialogs/drun.c\
|
|
|
|
source/dialogs/dmenu.c\
|
|
|
|
source/dialogs/combi.c\
|
|
|
|
source/dialogs/window.c\
|
|
|
|
source/dialogs/script.c\
|
2016-03-01 17:11:55 +00:00
|
|
|
include/xcb.h\
|
|
|
|
include/xcb-internal.h\
|
2016-02-16 10:12:58 +00:00
|
|
|
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\
|
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\
|
2015-11-14 12:47:45 +00:00
|
|
|
include/timings.h\
|
2016-02-16 10:12:58 +00:00
|
|
|
include/history.h\
|
2016-01-09 15:22:09 +00:00
|
|
|
include/widget.h\
|
2016-02-16 10:12:58 +00:00
|
|
|
include/textbox.h\
|
|
|
|
include/scrollbar.h\
|
|
|
|
include/xrmoptions.h\
|
|
|
|
include/i3-support.h\
|
2015-02-12 21:26:28 +00:00
|
|
|
include/x11-helper.h\
|
2016-02-16 10:12:58 +00:00
|
|
|
include/dialogs/ssh.h\
|
|
|
|
include/dialogs/run.h\
|
|
|
|
include/dialogs/drun.h\
|
|
|
|
include/dialogs/dmenu.h\
|
|
|
|
include/dialogs/combi.h\
|
|
|
|
include/dialogs/script.h\
|
|
|
|
include/dialogs/window.h\
|
2016-02-21 16:14:02 +00:00
|
|
|
include/dialogs/dialogs.h\
|
|
|
|
include/xkb.h\
|
|
|
|
include/xkb-internal.h
|
2016-02-16 10:12:58 +00:00
|
|
|
|
|
|
|
rofi_CFLAGS=\
|
|
|
|
$(AM_CFLAGS)\
|
|
|
|
$(glib_CFLAGS)\
|
2016-02-19 21:43:53 +00:00
|
|
|
$(GW_XCB_CFLAGS)\
|
2016-02-16 10:12:58 +00:00
|
|
|
$(x11_CFLAGS)\
|
|
|
|
$(xinerama_CFLAGS)\
|
|
|
|
$(pango_CFLAGS)\
|
|
|
|
$(libsn_CFLAGS)\
|
|
|
|
$(cairo_CFLAGS)\
|
|
|
|
-DMANPAGE_PATH="\"$(mandir)/\""\
|
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/\
|
2016-04-01 17:51:24 +00:00
|
|
|
-Werror=missing-prototypes\
|
|
|
|
-DSYSCONFDIR=\"$(sysconfdir)\"
|
2016-02-16 10:12:58 +00:00
|
|
|
|
|
|
|
rofi_LDADD=\
|
|
|
|
$(glib_LIBS)\
|
2016-02-19 21:43:53 +00:00
|
|
|
$(GW_XCB_LIBS)\
|
2016-02-16 10:12:58 +00:00
|
|
|
$(x11_LIBS)\
|
|
|
|
$(xinerama_LIBS)\
|
|
|
|
$(libsn_LIBS)\
|
|
|
|
$(pango_LIBS)\
|
|
|
|
$(cairo_LIBS)\
|
|
|
|
$(LIBS)
|
2014-03-17 17:00:09 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
# Manpage
|
|
|
|
##
|
2016-02-16 10:12:58 +00:00
|
|
|
dist_man1_MANS=\
|
|
|
|
doc/rofi.1\
|
2015-09-15 05:54:48 +00:00
|
|
|
doc/rofi-sensible-terminal.1
|
2014-03-17 17:00:09 +00:00
|
|
|
|
2014-03-18 07:40:23 +00:00
|
|
|
##
|
|
|
|
# Readme.md
|
|
|
|
##
|
2014-03-20 07:51:54 +00:00
|
|
|
markdown_SC_FILES=\
|
2016-02-16 10:12:58 +00:00
|
|
|
README.md
|
2014-03-18 07:40:23 +00:00
|
|
|
|
2014-03-20 07:51:54 +00:00
|
|
|
# want the html to show up in release.
|
|
|
|
md_verbose = $(md_verbose_@AM_V@)
|
|
|
|
md_verbose_ = $(md_verbose_@AM_DEFAULT_V@)
|
|
|
|
md_verbose_0 = @echo " MD" $@;
|
|
|
|
|
|
|
|
markdown_FILES=\
|
2016-02-16 10:12:58 +00:00
|
|
|
README.html
|
2014-03-20 07:51:54 +00:00
|
|
|
|
2014-04-15 15:16:55 +00:00
|
|
|
README.html: README.md
|
2014-03-20 07:51:54 +00:00
|
|
|
$(md_verbose) markdown $< > $@
|
2015-12-08 07:39:18 +00:00
|
|
|
##
|
2014-03-17 17:00:09 +00:00
|
|
|
# Extra DIST
|
|
|
|
##
|
|
|
|
EXTRA_DIST=\
|
2016-02-16 10:12:58 +00:00
|
|
|
$(markdown_FILES)\
|
|
|
|
$(markdown_SC_FILES)\
|
|
|
|
Examples/i3_switch_workspaces.sh\
|
|
|
|
INSTALL.md\
|
2015-01-25 09:11:44 +00:00
|
|
|
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\
|
2015-01-25 09:11:44 +00:00
|
|
|
Changelog
|
2014-05-24 08:18:36 +00:00
|
|
|
|
|
|
|
##
|
|
|
|
# Indent
|
|
|
|
##
|
|
|
|
|
|
|
|
|
2016-02-16 10:12:58 +00:00
|
|
|
update-manpage: $(top_srcdir)/doc/rofi-manpage.markdown
|
|
|
|
ronn --roff --pipe $^ > $(top_srcdir)/doc/rofi.1
|
2014-08-29 14:24:39 +00:00
|
|
|
|
2014-11-26 18:40:49 +00:00
|
|
|
##
|
|
|
|
# Rofi test program
|
|
|
|
##
|
2016-03-22 09:43:42 +00:00
|
|
|
check_PROGRAMS=history_test textbox_test helper_test helper_expand helper_config_cmdline_parser
|
2014-11-26 18:40:49 +00:00
|
|
|
|
2016-03-21 19:27:16 +00:00
|
|
|
history_test_CFLAGS=\
|
2016-02-21 11:57:30 +00:00
|
|
|
$(AM_CFLAGS)\
|
|
|
|
$(glib_CFLAGS)\
|
2016-03-01 17:11:55 +00:00
|
|
|
$(libsn_CFLAGS)\
|
2016-02-21 11:57:30 +00:00
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/
|
|
|
|
|
2016-03-21 19:27:16 +00:00
|
|
|
history_test_LDADD=\
|
2016-02-21 11:57:30 +00:00
|
|
|
$(glib_LIBS)
|
|
|
|
|
2014-11-26 18:40:49 +00:00
|
|
|
|
2016-03-21 19:27:16 +00:00
|
|
|
history_test_SOURCES=\
|
2016-02-16 10:12:58 +00:00
|
|
|
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\
|
2016-02-16 10:12:58 +00:00
|
|
|
include/history.h\
|
2014-11-26 18:40:49 +00:00
|
|
|
test/history-test.c
|
|
|
|
|
2016-02-21 11:57:30 +00:00
|
|
|
textbox_test_CFLAGS=\
|
|
|
|
$(AM_CFLAGS)\
|
|
|
|
$(glib_CFLAGS)\
|
|
|
|
$(pango_CFLAGS)\
|
|
|
|
$(x11_CFLAGS)\
|
|
|
|
$(xinerama_CFLAGS)\
|
2016-02-21 15:40:29 +00:00
|
|
|
$(GW_XCB_CFLAGS)\
|
2016-02-21 11:57:30 +00:00
|
|
|
$(cairo_CFLAGS)\
|
2016-03-01 17:11:55 +00:00
|
|
|
$(libsn_CFLAGS)\
|
2016-02-21 11:57:30 +00:00
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/
|
|
|
|
|
|
|
|
textbox_test_LDADD=\
|
|
|
|
$(glib_LIBS)\
|
|
|
|
$(pango_LIBS)\
|
|
|
|
$(x11_LIBS)\
|
|
|
|
$(xinerama_LIBS)\
|
2016-02-21 15:40:29 +00:00
|
|
|
$(GW_XCB_LIBS)\
|
2016-03-01 17:11:55 +00:00
|
|
|
$(cairo_LIBS)\
|
|
|
|
$(libsn_LIBS)
|
2016-02-21 11:57:30 +00:00
|
|
|
|
2014-11-26 18:40:49 +00:00
|
|
|
textbox_test_SOURCES=\
|
2016-01-09 15:22:09 +00:00
|
|
|
source/widget.c\
|
2016-02-16 10:12:58 +00:00
|
|
|
source/textbox.c\
|
|
|
|
config/config.c\
|
2015-04-30 19:47:32 +00:00
|
|
|
include/keyb.h\
|
2016-02-16 10:12:58 +00:00
|
|
|
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\
|
2016-01-09 15:22:09 +00:00
|
|
|
include/widget.h\
|
2016-02-16 10:12:58 +00:00
|
|
|
include/textbox.h\
|
2016-01-09 15:22:09 +00:00
|
|
|
include/widget.h\
|
2015-04-30 20:42:04 +00:00
|
|
|
include/xrmoptions.h\
|
|
|
|
include/helper.h\
|
2014-11-26 18:40:49 +00:00
|
|
|
test/textbox-test.c
|
|
|
|
|
|
|
|
helper_test_SOURCES=\
|
2016-02-16 10:12:58 +00:00
|
|
|
config/config.c\
|
|
|
|
include/rofi.h\
|
2016-01-07 18:47:37 +00:00
|
|
|
include/mode.h\
|
|
|
|
include/mode-private.h\
|
2016-02-16 10:12:58 +00:00
|
|
|
source/helper.c\
|
|
|
|
include/helper.h\
|
2015-02-17 14:19:26 +00:00
|
|
|
include/xrmoptions.h\
|
2015-02-17 09:31:59 +00:00
|
|
|
source/xrmoptions.c\
|
2016-02-28 00:21:22 +00:00
|
|
|
source/x11-helper.c\
|
2016-02-16 10:12:58 +00:00
|
|
|
test/helper-test.c
|
2014-11-26 18:40:49 +00:00
|
|
|
|
2016-02-21 11:57:30 +00:00
|
|
|
helper_test_CFLAGS=\
|
|
|
|
$(AM_CFLAGS)\
|
|
|
|
$(glib_CFLAGS)\
|
|
|
|
$(pango_CFLAGS)\
|
|
|
|
$(x11_CFLAGS)\
|
|
|
|
$(xinerama_CFLAGS)\
|
2016-02-28 00:21:22 +00:00
|
|
|
$(GW_XCB_CFLAGS)\
|
2016-02-21 11:57:30 +00:00
|
|
|
$(cairo_CFLAGS)\
|
2016-03-01 17:11:55 +00:00
|
|
|
$(libsn_CFLAGS)\
|
2016-02-21 11:57:30 +00:00
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/
|
|
|
|
|
|
|
|
helper_test_LDADD=\
|
|
|
|
$(glib_LIBS)\
|
|
|
|
$(pango_LIBS)\
|
|
|
|
$(x11_LIBS)\
|
2016-02-28 00:21:22 +00:00
|
|
|
$(GW_XCB_LIBS)\
|
2016-02-21 11:57:30 +00:00
|
|
|
$(xinerama_LIBS)\
|
2016-03-04 16:03:24 +00:00
|
|
|
$(libsn_LIBS)\
|
2016-02-21 11:57:30 +00:00
|
|
|
$(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\
|
|
|
|
include/helper.h\
|
|
|
|
include/xrmoptions.h\
|
|
|
|
source/xrmoptions.c\
|
|
|
|
source/x11-helper.c\
|
|
|
|
test/helper-expand.c
|
|
|
|
|
|
|
|
helper_expand_CFLAGS=${helper_test_CFLAGS}
|
|
|
|
|
|
|
|
helper_expand_LDADD=${helper_test_LDADD}
|
|
|
|
|
2016-03-22 09:43:42 +00:00
|
|
|
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\
|
|
|
|
include/helper.h\
|
|
|
|
include/xrmoptions.h\
|
|
|
|
source/xrmoptions.c\
|
|
|
|
source/x11-helper.c\
|
|
|
|
test/helper-config-cmdline-parser.c
|
|
|
|
|
2016-02-16 10:12:58 +00:00
|
|
|
TESTS=\
|
2016-03-21 19:27:16 +00:00
|
|
|
history_test\
|
2016-03-21 16:16:45 +00:00
|
|
|
helper_test\
|
2016-03-22 09:43:42 +00:00
|
|
|
helper_expand\
|
|
|
|
helper_config_cmdline_parser
|
2015-03-03 21:11:17 +00:00
|
|
|
|
|
|
|
.PHONY: test-x
|
2016-02-21 12:15:17 +00:00
|
|
|
test-x: $(bin_PROGRAMS) textbox_test
|
2015-12-08 07:39:18 +00:00
|
|
|
echo "Test 1"
|
2015-10-31 17:04:55 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 123 $(top_builddir)/textbox_test $(top_builddir)
|
2015-09-04 18:46:13 +00:00
|
|
|
echo "Test 2"
|
2015-10-31 17:04:55 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 200 $(top_srcdir)/test/run_errormsg_test.sh $(top_builddir)
|
2015-09-04 18:46:13 +00:00
|
|
|
echo "Test 3"
|
2015-10-31 17:04:55 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 201 $(top_srcdir)/test/run_switchdialog_test.sh $(top_builddir)
|
2015-09-04 18:46:13 +00:00
|
|
|
echo "Test 4"
|
2015-10-31 17:04:55 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 202 $(top_srcdir)/test/run_dmenu_test.sh $(top_builddir)
|
2015-09-04 18:46:13 +00:00
|
|
|
echo "Test 5"
|
2015-10-31 17:04:55 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 203 $(top_srcdir)/test/run_dmenu_custom_test.sh $(top_builddir)
|
2015-09-04 18:46:13 +00:00
|
|
|
echo "Test 6"
|
2015-10-31 17:04:55 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 204 $(top_srcdir)/test/run_run_test.sh $(top_builddir)
|
2015-09-04 18:46:13 +00:00
|
|
|
echo "Test 7"
|
2015-10-31 17:04:55 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 205 $(top_srcdir)/test/run_script_test.sh $(top_builddir)
|
|
|
|
echo "Issue 256"
|
2015-12-08 07:39:18 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 206 $(top_srcdir)/test/run_issue_256.sh $(top_builddir)
|
2015-11-20 10:15:34 +00:00
|
|
|
echo "Issue 275"
|
|
|
|
$(top_srcdir)/test/run_test.sh 207 $(top_srcdir)/test/run_issue_275.sh $(top_builddir)
|
2015-12-02 08:46:13 +00:00
|
|
|
echo "Crash empty list"
|
|
|
|
$(top_srcdir)/test/run_test.sh 208 $(top_srcdir)/test/run_dmenu_empty.sh $(top_builddir)
|
2015-12-04 21:13:30 +00:00
|
|
|
echo "Test multiple select"
|
|
|
|
$(top_srcdir)/test/run_test.sh 209 $(top_srcdir)/test/run_dmenu_issue_292.sh $(top_builddir)
|
2015-12-31 20:55:15 +00:00
|
|
|
echo "Test screenshot"
|
|
|
|
$(top_srcdir)/test/run_test.sh 210 $(top_srcdir)/test/run_screenshot_test.sh $(top_builddir)
|
2015-12-31 21:45:36 +00:00
|
|
|
echo "Test xr dump"
|
2016-01-04 17:26:18 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 212 $(top_srcdir)/test/xr_dump_test.sh $(top_builddir) $(top_srcdir)
|
2015-12-31 22:14:38 +00:00
|
|
|
echo "Test drun"
|
|
|
|
$(top_srcdir)/test/run_test.sh 213 $(top_srcdir)/test/run_drun_test.sh $(top_builddir)
|
2015-12-31 22:27:06 +00:00
|
|
|
echo "Test combi"
|
|
|
|
$(top_srcdir)/test/run_test.sh 214 $(top_srcdir)/test/run_combi_test.sh $(top_builddir)
|
2016-01-01 10:31:29 +00:00
|
|
|
echo "Test dmenu regex"
|
|
|
|
$(top_srcdir)/test/run_test.sh 215 $(top_srcdir)/test/run_regex_test.sh $(top_builddir)
|
|
|
|
echo "Test dmenu glob"
|
|
|
|
$(top_srcdir)/test/run_test.sh 216 $(top_srcdir)/test/run_glob_test.sh $(top_builddir)
|
2016-01-04 17:04:15 +00:00
|
|
|
echo "Test dmenu fuzzy"
|
|
|
|
$(top_srcdir)/test/run_test.sh 217 $(top_srcdir)/test/run_fuzzy_test.sh $(top_builddir)
|
2016-01-03 17:13:41 +00:00
|
|
|
echo "Test config dump"
|
2016-01-04 17:26:18 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 218 $(top_srcdir)/test/xr_config_test.sh $(top_builddir) $(top_srcdir)
|
2016-02-03 08:01:13 +00:00
|
|
|
echo "Test issue 333"
|
2016-02-05 07:12:36 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 221 $(top_srcdir)/test/run_issue333_test.sh $(top_builddir)
|
2016-01-04 20:51:08 +00:00
|
|
|
|
2016-02-16 10:12:58 +00:00
|
|
|
test-x1: $(bin_PROGRAMS)
|
2016-01-04 17:26:18 +00:00
|
|
|
echo "Test dmenu-normal-window"
|
|
|
|
$(top_srcdir)/test/run_test.sh 219 $(top_srcdir)/test/run_dmenu_normal_window_test.sh $(top_builddir)
|
2016-01-04 19:46:34 +00:00
|
|
|
echo "Test window"
|
2016-02-16 10:12:58 +00:00
|
|
|
$(top_srcdir)/test/run_test.sh 220 $(top_srcdir)/test/run_window_test.sh $(top_builddir) $(top_srcdir)
|
2015-09-04 18:56:11 +00:00
|
|
|
echo "End tests"
|
2015-01-16 07:34:11 +00:00
|
|
|
|
|
|
|
|
2015-07-28 20:14:21 +00:00
|
|
|
.PHONY: indent
|
2016-03-21 19:27:16 +00:00
|
|
|
indent: $(rofi_SOURCES) $(helper_test_SOURCES) $(textbox_test_SOURCES) $(history_test_SOURCES) $(helper_expand_SOURCES)
|
2016-02-16 10:12:58 +00:00
|
|
|
uncrustify -c $(top_srcdir)/data/uncrustify.cfg --replace $^
|
2015-07-28 20:14:21 +00:00
|
|
|
|
2015-01-16 07:34:11 +00:00
|
|
|
.PHONY: cppcheck
|
|
|
|
|
2016-02-16 10:12:58 +00:00
|
|
|
cppcheck: $(rofi_SOURCES)
|
2016-03-05 10:08:32 +00:00
|
|
|
cppcheck --std=c99 --platform=unix64 --enable=all -Uerror_dialog --inconclusive -I $(top_srcdir)/include/ $^
|
2015-01-17 17:27:41 +00:00
|
|
|
|
|
|
|
.PHONY: ohcount
|
|
|
|
|
2016-02-16 10:12:58 +00:00
|
|
|
ohcount: $(rofi_SOURCES)
|
|
|
|
ohcount -i $(top_srcdir)/source/ $(top_srcdir)/include/
|
2016-01-05 18:49:13 +00:00
|
|
|
|
2016-02-16 10:12:58 +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
|
|
|
|
|
|
|
|
$(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: .FORCE
|
|
|
|
.FORCE:
|