forked from mirrors/tftp-hpa-google
"make distclean" -> delete all files not for release
"make spotless" -> delete all non-generated files
This commit is contained in:
parent
b98d08b5d4
commit
d59b94d721
4 changed files with 9 additions and 6 deletions
9
Makefile
9
Makefile
|
@ -12,8 +12,8 @@ SUB = lib tftp tftpd
|
|||
%.clean:
|
||||
$(MAKE) -C $(patsubst %.clean, %, $@) clean
|
||||
|
||||
%.spotless:
|
||||
$(MAKE) -C $(patsubst %.spotless, %, $@) spotless
|
||||
%.distclean:
|
||||
$(MAKE) -C $(patsubst %.distclean, %, $@) distclean
|
||||
|
||||
all: MCONFIG $(patsubst %, %.build, $(SUB))
|
||||
|
||||
|
@ -21,10 +21,13 @@ install: MCONFIG $(patsubst %, %.install, $(SUB))
|
|||
|
||||
clean: $(patsubst %, %.clean, $(SUB))
|
||||
|
||||
spotless: $(patsubst %, %.spotless, $(SUB))
|
||||
distclean: $(patsubst %, %.distclean, $(SUB))
|
||||
rm -f MCONFIG config.cache config.log config.h *~ \#*
|
||||
find . -type f \( -name \*.orig -o -name \*.rej \) | xargs -r rm -f
|
||||
|
||||
spotless: distclean
|
||||
rm -f configure
|
||||
|
||||
config: MCONFIG
|
||||
|
||||
MCONFIG: configure MCONFIG.in config.h.in
|
||||
|
|
|
@ -12,7 +12,7 @@ install:
|
|||
clean:
|
||||
-rm -f *.a *.o
|
||||
|
||||
spotless: clean
|
||||
distclean: clean
|
||||
-rm -f *~
|
||||
|
||||
libxtra.a: $(LIBOBJS)
|
||||
|
|
|
@ -17,5 +17,5 @@ install: tftp
|
|||
clean:
|
||||
rm -f *.o tftp
|
||||
|
||||
spotless: clean
|
||||
distclean: clean
|
||||
rm -f *~
|
||||
|
|
|
@ -23,5 +23,5 @@ install: tftpd
|
|||
clean:
|
||||
rm -f *.o tftpd tftpsubs.c tftpsubs.h
|
||||
|
||||
spotless: clean
|
||||
distclean: clean
|
||||
rm -f *~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue