2014-03-18 03:59:42 -04:00
|
|
|
##
|
|
|
|
# Rofi the program
|
|
|
|
##
|
2014-03-17 13:00:09 -04:00
|
|
|
bin_PROGRAMS=rofi
|
|
|
|
|
|
|
|
LIBS=\
|
|
|
|
@xft_LIBS@\
|
|
|
|
@x11_LIBS@\
|
|
|
|
@xdgbasedir_LIBS@\
|
|
|
|
@xinerama_LIBS@
|
|
|
|
|
|
|
|
AM_CFLAGS=\
|
|
|
|
@xft_CFLAGS@\
|
|
|
|
@x11_CFLAGS@\
|
|
|
|
@xdgbasedir_CFLAGS@\
|
|
|
|
@xinerama_CFLAGS@\
|
2014-03-17 14:15:42 -04:00
|
|
|
-DMANPAGE_PATH="\"$(mandir)/man1/rofi.1\""\
|
2014-03-17 13:00:09 -04:00
|
|
|
-I$(top_srcdir)/include/\
|
|
|
|
-I$(top_srcdir)/config/\
|
|
|
|
-I$(top_builddir)/
|
|
|
|
|
|
|
|
rofi_SOURCES=\
|
|
|
|
source/rofi.c\
|
|
|
|
source/textbox.c\
|
|
|
|
source/xrmoptions.c\
|
|
|
|
source/dmenu-dialog.c\
|
|
|
|
source/run-dialog.c\
|
|
|
|
source/ssh-dialog.c\
|
2014-05-13 04:45:59 -04:00
|
|
|
source/history.c\
|
2014-03-17 14:15:42 -04:00
|
|
|
config/config.c\
|
2014-03-17 13:00:09 -04:00
|
|
|
include/rofi.h\
|
|
|
|
include/run-dialog.h\
|
|
|
|
include/ssh-dialog.h\
|
|
|
|
include/dmenu-dialog.h\
|
|
|
|
include/xrmoptions.h\
|
2014-05-13 04:45:59 -04:00
|
|
|
include/history.h\
|
2014-03-17 13:00:09 -04:00
|
|
|
include/textbox.h
|
|
|
|
|
|
|
|
##
|
|
|
|
# Manpage
|
|
|
|
##
|
|
|
|
man1_MANS=\
|
|
|
|
doc/rofi.1
|
|
|
|
|
2014-03-18 03:40:23 -04:00
|
|
|
##
|
|
|
|
# Readme.md
|
|
|
|
##
|
2014-03-20 03:51:54 -04:00
|
|
|
markdown_SC_FILES=\
|
2014-03-18 03:40:23 -04:00
|
|
|
README.md
|
|
|
|
|
2014-03-20 03:51:54 -04: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=\
|
|
|
|
README.html
|
|
|
|
|
2014-04-15 11:16:55 -04:00
|
|
|
README.html: README.md
|
2014-03-20 03:51:54 -04:00
|
|
|
$(md_verbose) markdown $< > $@
|
2014-03-17 13:00:09 -04:00
|
|
|
|
|
|
|
##
|
|
|
|
# Extra DIST
|
|
|
|
##
|
|
|
|
EXTRA_DIST=\
|
2014-03-18 03:40:23 -04:00
|
|
|
$(man1_MANS)\
|
2014-04-24 02:03:38 -04:00
|
|
|
$(markdown_FILES)\
|
|
|
|
$(markdown_SC_FILES)
|
2014-05-24 04:18:36 -04:00
|
|
|
|
|
|
|
##
|
|
|
|
# Indent
|
|
|
|
##
|
|
|
|
|
|
|
|
indent: ${rofi_SOURCES}
|
|
|
|
uncrustify -c ${top_srcdir}/data/uncrustify.cfg --replace $^
|
|
|
|
|
|
|
|
update-manpage: ${top_srcdir}/doc/rofi-manpage.markdown
|
|
|
|
md2man-roff $^ > ${top_srcdir}/doc/rofi.1
|