Commit 4e887471 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

tools: ynl: rename make hardclean -> distclean

The make target to remove all generated files used to be called
"hardclean" because it deleted files which were tracked by git.
We no longer track generated user space files, so use the more
common "distclean" name.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Reviewed-by: default avatarDonald Hunter <donald.hunter@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent db72b6fc
......@@ -11,7 +11,7 @@ $(SUBDIRS):
$(MAKE) -C $@ ; \
fi
clean hardclean:
clean distclean:
@for dir in $(SUBDIRS) ; do \
if [ -f "$$dir/Makefile" ] ; then \
$(MAKE) -C $$dir $@; \
......
......@@ -43,11 +43,11 @@ protos.a: $(OBJS)
clean:
rm -f *.o
hardclean: clean
distclean: clean
rm -f *.c *.h *.a
regen:
@../ynl-regen.sh
.PHONY: all clean hardclean regen
.PHONY: all clean distclean regen
.DEFAULT_GOAL: all
......@@ -18,7 +18,7 @@ ynl.a: $(OBJS)
clean:
rm -f *.o *.d *~
hardclean: clean
distclean: clean
rm -f *.a
%.o: %.c
......
......@@ -28,7 +28,7 @@ $(BINS): ../lib/ynl.a ../generated/protos.a $(SRCS)
clean:
rm -f *.o *.d *~
hardclean: clean
distclean: clean
rm -f $(BINS)
.PHONY: all clean
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment