-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
39 lines (31 loc) · 1.31 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
SUBDIRS =
if ENABLE_7ZIP
SUBDIRS += lzma/C
endif
SUBDIRS += src
man1_MANS = man/ugrep-indexer.1
EXTRA_DIST = README.md LICENSE.txt CONTRIBUTING.md CODE_OF_CONDUCT.md
all-local: cp2bin
.PHONY: cp2bin
# to copy the ugrep-indexer binary to the local bin/ugrep-indexer
cp2bin: $(top_builddir)/src/ugrep-indexer$(EXEEXT)
rm -f $(top_builddir)/bin/ugrep-indexer$(EXEEXT)
mkdir -p $(top_builddir)/bin; \
cp -f $< $(top_builddir)/bin/ugrep-indexer$(EXEEXT)
@echo
@echo "OK"
@echo
install-exec-hook:
install-data-hook:
@echo " __________________________________________________________ "; \
echo "| |"; \
echo "| You have successfully built and installed ugrep-indexer. |"; \
echo "| |"; \
echo "| Thank you for using ugrep! |"; \
echo "| |"; \
echo "| https://ugrep.com |"; \
echo "| https://github.com/Genivia/ugrep |"; \
echo "| https://github.com/Genivia/ugrep-indexer |"; \
echo "|__________________________________________________________|";
uninstall-hook:
rm -f $(DESTDIR)$(bindir)/ugrep-indexer$(EXEEXT)