forked from MosheWagner/zmanimcli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (31 loc) · 902 Bytes
/
Makefile
File metadata and controls
40 lines (31 loc) · 902 Bytes
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
40
####### Compiler, tools and options
COPY = cp -f
SED = sed
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
STRIP = strip
INSTALL_FILE = install -m 644 -p
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
#######
install_jar:
@$(CHK_DIR_EXISTS) $(DESTDIR)/usr/bin/ || $(MKDIR) $(DESTDIR)/usr/bin/
-$(INSTALL_PROGRAM) `pwd`/ZmanimCLI.jar $(DESTDIR)/usr/bin/
uninstall_jar:
-$(DEL_FILE) $(DESTDIR)/usr/bin/ZmanimCLI.jar
install_sh:
@$(CHK_DIR_EXISTS) $(DESTDIR)/usr/bin/ || $(MKDIR) $(DESTDIR)/usr/bin/
-$(INSTALL_PROGRAM) `pwd`/zmanimcli $(DESTDIR)/usr/bin/
uninstall_sh:
-$(DEL_FILE) $(DESTDIR)/usr/bin/ZmanimCLI
install: install_jar install_sh
uninstall: uninstall_jar uninstall_sh
clean:
FORCE:
all: