]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - man/Makefile
Merge branch 'iproute2-master' into iproute2-next
[mirror_iproute2.git] / man / Makefile
index 67fea0566e5fbe30893299a204528e84a06a207e..6b095ee4664746c92e5ac86eb82e2f024fe522bd 100644 (file)
@@ -1,20 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0
 INSTALL=install
 INSTALLDIR=install -m 0755 -d
 INSTALLMAN=install -m 0644
 
-SUBDIRS = man3 man8
+SUBDIRS = man3 man7 man8
 
-all:
-       @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir; done
+all clean install:
+       @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir $@ || exit $$?; done
 
 distclean: clean
 
-clean:
-       @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir clean; done
-
-install:
-       @for subdir in $(SUBDIRS); do $(MAKE) -C $$subdir install; done
-
 .PHONY: install clean distclean
 
 .EXPORT_ALL_VARIABLES: