forked from vektort13/AntidetectFirefox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GNUmakefile
28 lines (21 loc) · 859 Bytes
/
GNUmakefile
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
# This Makefile is used as a shim to aid people with muscle memory
# so that they can type "make".
#
# This file and all of its targets should not be used by anything important.
check_defined = \
$(strip $(foreach 1,$1, \
$(call __check_defined,$1,$(strip $(value 2)))))
__check_defined = \
$(if $(value $1),, \
$(error Undefined $1$(if $2, ($2))))
all: build package
build: $(call check_defined, MOZCONFIG)
SSH_CLIENT= SSH_CONNECTION= SSH_TTY= ./mach -v build
clean: $(call check_defined, MOZCONFIG)
SSH_CLIENT= SSH_CONNECTION= SSH_TTY= ./mach clobber
package: $(call check_defined, MOZCONFIG)
killall -QUIT antidetect antidetect-bin || exit 0
SSH_CLIENT= SSH_CONNECTION= SSH_TTY= ./mach -v package
installer: $(call check_defined, MOZCONFIG)
SSH_CLIENT= SSH_CONNECTION= SSH_TTY= ./mach -v build installer
.PHONY: all build clean installer