mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
#
|
|
# A simple static wrapper for a number of standard Makefile targets,
|
|
# mostly just forwarding to build/Makefile. This is provided only for
|
|
# convenience and supports only a subset of what CMake's Makefile
|
|
# to offer. For more, execute that one directly.
|
|
#
|
|
|
|
BUILD=build
|
|
|
|
all: configured
|
|
( cd $(BUILD) && make )
|
|
|
|
install: configured
|
|
( cd $(BUILD) && make install )
|
|
|
|
install-aux: configured
|
|
( cd $(BUILD) && make install-aux )
|
|
|
|
clean: configured docclean
|
|
( cd $(BUILD) && make clean )
|
|
|
|
doc: configured
|
|
( cd $(BUILD) && make doc )
|
|
|
|
docclean: configured
|
|
( cd $(BUILD) && make docclean )
|
|
|
|
dist:
|
|
@./pkg/make-src-packages
|
|
|
|
bindist:
|
|
@( cd pkg && ( ./make-deb-packages || ./make-mac-packages || \
|
|
./make-rpm-packages ) )
|
|
|
|
distclean:
|
|
rm -rf $(BUILD)
|
|
|
|
configured:
|
|
@test -d $(BUILD) || ( echo "Error: No build/ directory found. Did you run configure?" && exit 1 )
|
|
@test -e $(BUILD)/Makefile || ( echo "Error: No build/Makefile found. Did you run configure?" && exit 1 )
|
|
|
|
.PHONY : all install clean doc docclean dist bindist distclean configured
|