mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Remove some more generated files when doing a distclean. Fixes #218
This commit is contained in:
@@ -187,7 +187,7 @@ web:
|
||||
clean: @LUA_CLEAN@ @LIBLINEAR_CLEAN@ @PCAP_CLEAN@ @PCRE_CLEAN@ @DNET_CLEAN@ \
|
||||
clean-nsock clean-nbase clean-netutil @NPING_CLEAN@ @ZENMAP_CLEAN@ \
|
||||
@NCAT_CLEAN@ @NMAP_UPDATE_CLEAN@ @NDIFF_CLEAN@ clean-tests
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
rm -f $(OBJS) main.o $(TARGET)
|
||||
# Who generates dependencies.mk? If it is generated by ./configure and
|
||||
# not by make it should be moved to distclean
|
||||
rm -f dependencies.mk
|
||||
@@ -274,7 +274,7 @@ distclean-zenmap: clean-zenmap
|
||||
-cd $(ZENMAPDIR) && rm -rf MANIFEST build/ dist/ INSTALLED_FILES
|
||||
|
||||
distclean-ndiff: clean-ndiff
|
||||
-cd $(NDIFFDIR) && rm -rf build/ dist/
|
||||
-cd $(NDIFFDIR) && rm -rf build/ dist/ INSTALLED_FILES
|
||||
|
||||
distclean-nping:
|
||||
-cd $(NPINGDIR) && $(MAKE) distclean
|
||||
|
||||
@@ -716,6 +716,7 @@ distclean: clean
|
||||
rm -f Makefile config.cache config.log config.status \
|
||||
config.h gnuc.h net os-proto.h bpf_filter.c pcap-config \
|
||||
stamp-h stamp-h.in
|
||||
rm -f version.h version.c
|
||||
rm -f $(MAN3PCAP_EXPAND:.in=) $(MANFILE:.in=) $(MANMISC:.in=)
|
||||
rm -rf autom4te.cache
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ clean: clean-test
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile makefile.dep config.log config.status ../include/nsock_config.h
|
||||
rm -f Makefile makefile.dep config.log config.status ../include/nsock_config.h $(NSOCKTESTDIR)/Makefile
|
||||
|
||||
depend:
|
||||
$(MAKEDEPEND) $(INCLS) -s "# DO NOT DELETE" -- $(DEFS) -- $(SRCS)
|
||||
|
||||
Reference in New Issue
Block a user