Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
mxtools
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
15
Pull requests
5
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
a067f67
applications-defaults
blink
checktrust
clusterd
crashkernel
desktop-files
fon
hostconfig
kvm_monitor
logrotate
make-automaps
misc_etc_files
misc_systemd_units
mkmotd
mxgrub
mxmirror
mxmount
mxnetctl
mxraid
mxrouter
mxvlan
netlog
nfsdtop
nvidiactl
pdist
pkgadmin
pmirror
prun
put_websafe
serial-log
uvpn
.gitignore
Makefile
README.md
install.sh
Breadcrumbs
mxtools
/
Makefile
Blame
Blame
Latest commit
History
History
84 lines (71 loc) · 2.81 KB
Breadcrumbs
mxtools
/
Makefile
Top
File metadata and controls
Code
Blame
84 lines (71 loc) · 2.81 KB
Raw
# We don't want to touch the installed files, if the file content # wasn't changed. 'install -C' is not sufficcient, because # it touches the destination files even if they are not copied. # # If we did an install based on 'cmp' in the Makefile, the Makefile # would get quite bloated. So instead we just call an install script. # # GNU default for prefix is /usr/local but we want to put some tools # into /, some into /usr and some into /usr/local. # # This repository is not expected to be portable. So we take the # freedom to set the default prefix to empty and interpret this to # use different prefixes for individual tools. If prefix is overwritten # in the command line, all tools will go into the same tree. Alternativly, # root_prefix, usr_prefix and usrlocal_prefix may be overwritten on # the command line to individual values. # # # We honor the following conventional make variables # and pass them via environment to the install script: # prefix # root_prefix usr_prefix usrlocal_prefix # root_exec_prefix root_bindir root_sbindir # usr_exec_prefix usr_bindir usr_sbindir # usrlocal_exec_prefix usrlocal_bindir usrlocal_sbindir # sysconfdir systemdunitdir # udev_rulesdir udev_helperdir # srcdir # INSTALL INSTALL_PROGRAM INSTALL_DATA # DESTDIR prefix= ifeq "$(prefix)" "" root_prefix= usr_prefix=/usr usrlocal_prefix=/usr/local else root_prefix=$(prefix) usr_prefix=$(prefix) usrlocal_prefix=$(prefix) endif root_exec_prefix=$(root_prefix) root_bindir=$(root_exec_prefix)/bin root_sbindir=$(root_exec_prefix)/sbin usr_exec_prefix=$(usr_prefix) usr_bindir=$(usr_exec_prefix)/bin usr_sbindir=$(usr_exec_prefix)/sbin usrlocal_exec_prefix=$(usrlocal_prefix) usrlocal_bindir=$(usrlocal_exec_prefix)/bin usrlocal_sbindir=$(usrlocal_exec_prefix)/sbin sysconfdir=$(prefix)/etc systemdunitdir=$(sysconfdir)/systemd/system udev_rulesdir=$(sysconfdir)/udev/rules.d udev_helperdir=$(prefix)/lib/udev srcdir=. INSTALL=install -v INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) -m 644 all: @echo 'Nothing to be done. Ready for "make install"' install: @prefix="$(prefix)" usr_prefix="$(usr_prefix)" usrlocal_prefix="$(usrlocal_prefix)" \ root_exec_prefix="$(root_exec_prefix)" root_bindir="$(root_bindir)" root_sbindir="$(root_sbindir)" \ usr_exec_prefix="$(usr_exec_prefix)" usr_bindir="$(usr_bindir)" usr_sbindir="$(usr_sbindir)" \ usrlocal_exec_prefix="$(usrlocal_exec_prefix)" usrlocal_bindir="$(usrlocal_bindir)" usrlocal_sbindir="$(usrlocal_sbindir)" \ sysconfdir="$(sysconfdir)" systemdunitdir="$(systemdunitdir)" \ udev_rulesdir="$(udev_rulesdir)" udev_helperdir="$(udev_helperdir)" \ srcdir="$(srcdir)" \ INSTALL="$(INSTALL)" INSTALL_PROGRAM="$(INSTALL_PROGRAM)" INSTALL_DATA="$(INSTALL_DATA)" \ DESTDIR="$(DESTDIR)" \ ./install.sh .PHONY: all install
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
You can’t perform that action at this time.