mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-24 18:30:23 +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
MAN3PAGES = $(wildcard *.3)
|
|
|
|
all:
|
|
|
|
distclean: clean
|
|
|
|
clean:
|
|
|
|
install:
|
|
$(INSTALLDIR) $(DESTDIR)$(MANDIR)/man3
|
|
$(INSTALLMAN) $(MAN3PAGES) $(DESTDIR)$(MANDIR)/man3
|
|
|
|
.PHONY: install clean distclean
|