mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
78 lines
1.3 KiB
Makefile
78 lines
1.3 KiB
Makefile
##
|
|
# Rofi the program
|
|
##
|
|
bin_PROGRAMS=rofi
|
|
|
|
LIBS=\
|
|
@xft_LIBS@\
|
|
@x11_LIBS@\
|
|
@xdgbasedir_LIBS@\
|
|
@xinerama_LIBS@
|
|
|
|
AM_CFLAGS=\
|
|
@xft_CFLAGS@\
|
|
@x11_CFLAGS@\
|
|
@xdgbasedir_CFLAGS@\
|
|
@xinerama_CFLAGS@\
|
|
-DMANPAGE_PATH="\"$(mandir)/man1/rofi.1\""\
|
|
-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\
|
|
source/history.c\
|
|
config/config.c\
|
|
include/rofi.h\
|
|
include/run-dialog.h\
|
|
include/ssh-dialog.h\
|
|
include/dmenu-dialog.h\
|
|
include/xrmoptions.h\
|
|
include/history.h\
|
|
include/textbox.h
|
|
|
|
##
|
|
# Manpage
|
|
##
|
|
man1_MANS=\
|
|
doc/rofi.1
|
|
|
|
##
|
|
# Readme.md
|
|
##
|
|
markdown_SC_FILES=\
|
|
README.md
|
|
|
|
# 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
|
|
|
|
README.html: README.md
|
|
$(md_verbose) markdown $< > $@
|
|
|
|
##
|
|
# Extra DIST
|
|
##
|
|
EXTRA_DIST=\
|
|
$(man1_MANS)\
|
|
$(markdown_FILES)\
|
|
$(markdown_SC_FILES)
|
|
|
|
##
|
|
# 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
|