Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
2cc98e16
Commit
2cc98e16
authored
Feb 15, 2016
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
man: do not install pages for disabled commands
parent
5bf8112a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
man/Makefile
man/Makefile
+9
-0
No files found.
man/Makefile
View file @
2cc98e16
...
@@ -39,6 +39,14 @@ else
...
@@ -39,6 +39,14 @@ else
LANGS
=
en_US
LANGS
=
en_US
endif
endif
IGNORE_CMDS
=
""
ifneq
($(HAVE_IP_TOOLS),1)
IGNORE_CMDS
+=
|ipmaddr.?|iptunnel.?
endif
ifneq
($(HAVE_MII),1)
IGNORE_CMDS
+=
|mii-tool.?
endif
all
:
all
:
clean
:
clean
:
...
@@ -60,6 +68,7 @@ install:
...
@@ -60,6 +68,7 @@ install:
$(INSTALL)
-d
-m
755
$$
MAN_DIR
;
\
$(INSTALL)
-d
-m
755
$$
MAN_DIR
;
\
for
CMD
in
*
.
$$
SECTION
;
do
\
for
CMD
in
*
.
$$
SECTION
;
do
\
[
-e
$$
CMD
]
||
continue
;
\
[
-e
$$
CMD
]
||
continue
;
\
case
$$
CMD
in
$(IGNORE_CMDS)
)
continue
;;
esac
;
\
$(INSTALL)
-m
644
$$
CMD
$$
MAN_DIR
||
exit
1
;
\
$(INSTALL)
-m
644
$$
CMD
$$
MAN_DIR
||
exit
1
;
\
done
;
\
done
;
\
done
;
\
done
;
\
...
...
Write
Preview
Markdown
is supported
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