mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-09 22:23:13 +00:00

As it turned out, forgetting to add a man page to the respective Makefile when introducing it is a common mistake. Overcome this once and for all by using $(wildcard) function in Makefiles. Fixes:7124942942
("genl: add manpage") Fixes:958cd21094
("ifcfg: add manpage") Fixes:e1b7f883e5
("man: add documentation for IPv6 SR commands") Fixes:1949f82cdf
("Introduce ip vrf command") Fixes:535194a172
("tipc: add peer remove functionality") Signed-off-by: Phil Sutter <phil@nwl.cc>
14 lines
196 B
Makefile
14 lines
196 B
Makefile
MAN7PAGES = $(wildcard *.7)
|
|
|
|
all:
|
|
|
|
distclean: clean
|
|
|
|
clean:
|
|
|
|
install:
|
|
$(INSTALLDIR) $(DESTDIR)$(MANDIR)/man7
|
|
$(INSTALLMAN) $(MAN7PAGES) $(DESTDIR)$(MANDIR)/man7
|
|
|
|
.PHONY: install clean distclean
|