Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Mareš
compctl-kam
Commits
ff1e051a
Commit
ff1e051a
authored
Mar 16, 2012
by
Petr Baudis
Browse files
Makefile: A straightforward install rule
parent
604094ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
ff1e051a
CFLAGS
=
-Wall
-Wextra
-Wno-unused
-O3
-std
=
gnu99
-ggdb3
PREFIX
:=
/usr/local
all
:
compctld compctl
...
...
@@ -11,5 +12,10 @@ help-in-quotes: README.client
cat
$<
|
sed
-e
'0,/^Usage/d; /^Description/,$$d'
|
\
tail
-n
+3 |
sed
-e
's/\(.*\)/"\1\\n"/'
>
$@
install
:
install
-g
root
-m
755
-o
root
-t
$(DESTDIR)$(PREFIX)
/bin compctl
install
-g
root
-m
755
-o
root
-t
$(DESTDIR)$(PREFIX)
/sbin compctld
install
-g
root
-m
755
-o
root
-t
$(DESTDIR)$(PREFIX)
/share/man/man1 compctl.1
clean
:
rm
-f
compctl compctld compctl.o compctld.o cgroup.o help-in-quotes
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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