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 /etc | |
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 'etc')
-rw-r--r-- | etc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile index d065319..6a03c32 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -104,8 +104,12 @@ $(DESTDIR)$(systemddir)/system $(DESTDIR)$(systemddir)/system-generators $(DESTD $(DESTDIR)$(DBROOT)/ifaces $(DESTDIR)$(initddir)/open-iscsi: [ -d $@ ] || $(INSTALL) -d -m 775 $@ -clean: +clean: ; + +distclean: $(RM) $(SYSTEMD_GENERATED_SERVICE_FILES) .PHONY: all clean install install_iface install_initd install_initd_redhat \ - install_initd_debian install_systemd + install_initd_debian install_systemd distclean install_iname \ + install_systemd_generator_files install_systemd_service_files \ + install_initd_distro install_etc |