]> git.proxmox.com Git - mirror_iproute2.git/blame - man/man8/Makefile
SPDX license identifiers
[mirror_iproute2.git] / man / man8 / Makefile
CommitLineData
6054c1eb 1# SPDX-License-Identifier: GPL-2.0
761a1e60
CT
2TARGETS = ip-address.8 ip-link.8 ip-route.8
3
f2ca4a7a 4MAN8PAGES = $(TARGETS) $(filter-out $(TARGETS),$(wildcard *.8))
761a1e60
CT
5
6all: $(TARGETS)
7
8ip-address.8: ip-address.8.in
9 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
10
11ip-link.8: ip-link.8.in
12 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
13
14ip-route.8: ip-route.8.in
15 sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
16
17distclean: clean
18
19clean:
20 @rm -f $(TARGETS)
21
22install:
23 $(INSTALLDIR) $(DESTDIR)$(MANDIR)/man8
24 $(INSTALLMAN) $(MAN8PAGES) $(DESTDIR)$(MANDIR)/man8
25
26.PHONY: install clean distclean