blob: 826c6243b9adc6e60863086fb53151a081eba562 [file] [log] [blame]
--- a/Makefile
+++ b/Makefile
@@ -12,19 +12,12 @@
TARBALL_FILES += $(FILES) Changelog
all:
- @echo "Building cmds files..."
- @$(MAKE) -C cmds
- @echo "Building scripts files..."
- @$(MAKE) -C scripts
- @echo "Building doc files..."
- @$(MAKE) -C doc
+ @$(foreach d,$(SUBDIRS), $(MAKE) -C $d;)
install: all
- @$(call install_doc,$(FILES),$(DESTDIR))
@$(foreach d,$(SUBDIRS), $(MAKE) -C $d install;)
uninstall:
- @$(call uninstall_doc,$(FILES),$(DESTDIR))
@$(foreach d,$(SUBDIRS), $(MAKE) -C $d uninstall;)
rpm: all