diff options
author | Lee Duncan <lduncan@suse.com> | 2022-05-09 12:34:54 -0700 |
---|---|---|
committer | Lee Duncan <lduncan@suse.com> | 2022-05-09 12:34:54 -0700 |
commit | 9948f994b967bfef75897874673ade17c02c9f4a (patch) | |
tree | 23a305f8e58fea73e62b2445c47cef3000a583aa /libopeniscsiusr | |
parent | 8c43a977dc2aed34b7c6e7ab8d4bc31f4e2ac0b5 (diff) | |
download | open-iscsi-9948f994b967bfef75897874673ade17c02c9f4a.tar.gz |
Add a 'distclean' Makefile top-level target
This cleans up a little more than "make clean",
in particular removing files generated from templates,
and automake-generated files in iscsiuio.
Also, a ".PHONY:" target was added where needed
so that each Makefile has a complete list of
phony targets.
Diffstat (limited to 'libopeniscsiusr')
-rw-r--r-- | libopeniscsiusr/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile index 52e453a..757a853 100644 --- a/libopeniscsiusr/Makefile +++ b/libopeniscsiusr/Makefile @@ -73,6 +73,8 @@ clean: $(RM) vgcore* core *.a *.o *.gz *.so *.so.* $(TESTS) $(RM) -r docs/man +distclean: ; + $(TESTS): $(LIBS) $(TESTS): CFLAGS += -I$(TOPDIR)/libopeniscsiusr -g $(TESTS): LDFLAGS += $(LIBADD) -L$(TOPDIR)/libopeniscsiusr -lopeniscsiusr @@ -121,3 +123,6 @@ docs/man/$(EXTRA_MAN_FILES).gz: $(HEADERS) gzip -f $$file; \ done find docs/man -type f -name \*[0-9].gz + +.PHONY: all install clean distclean doc install_pkg_files install_docs \ + install_libs check |