Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
netctl
Commits
4918a821
Commit
4918a821
authored
Mar 28, 2020
by
Jouke Witteveen
Browse files
Makefile: more compact use of `install`
parent
f80b7386
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
4918a821
...
...
@@ -17,10 +17,9 @@ install:
install
-d
$(DESTDIR)
/etc/netctl/
{
examples,hooks,interfaces
}
install
-m644
docs/examples/
*
$(DESTDIR)
/etc/netctl/examples/
# Libs
install
-d
$(DESTDIR)
/usr/lib/netctl/
{
connections,dhcp
}
install
-m644
src/lib/
{
globals,interface,ip,rfkill,wpa
}
$(DESTDIR)
/usr/lib/netctl/
install
-m644
src/lib/connections/
*
$(DESTDIR)
/usr/lib/netctl/connections/
install
-m644
src/lib/dhcp/
*
$(DESTDIR)
/usr/lib/netctl/dhcp/
install
-Dt
$(DESTDIR)
/usr/lib/netctl
-m644
src/lib/
{
globals,interface,ip,rfkill,wpa
}
install
-Dt
$(DESTDIR)
/usr/lib/netctl/connections
-m644
src/lib/connections/
*
install
-Dt
$(DESTDIR)
/usr/lib/netctl/dhcp
-m644
src/lib/dhcp/
*
install
-m755
src/lib/
{
auto.action,network
}
$(DESTDIR)
/usr/lib/netctl/
# Scripts
install
-d
$(DESTDIR)
/usr/bin
...
...
@@ -34,8 +33,7 @@ install:
$(DESTDIR)
/usr/bin/
install
-Dm755
src/ifplugd.action
$(DESTDIR)
/etc/ifplugd/netctl.action
# Services
install
-d
$(DESTDIR)$(systemdsystemunitdir)
install
-m644
services/
*
.service
$(DESTDIR)$(systemdsystemunitdir)
/
install
-Dt
$(DESTDIR)$(systemdsystemunitdir)
-m644
services/
*
.service
tarball
:
netctl-$(VERSION).tar.xz
netctl-$(VERSION).tar.xz
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment