mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Tune the clean-l usage
- Fix the doc/ clean target which was called clean-local - Consistently use $(RM) - Introduce CLEAN variable to make it simpler to costumize local cleaning
This commit is contained in:
parent
50f4b46616
commit
249fac4345
5
Makefile
5
Makefile
@ -4,9 +4,6 @@ include $(path_to_top)/Makefile.config
|
||||
# TODO: Automagically rerun autoconf.
|
||||
|
||||
SUBDIRS = doc po src
|
||||
|
||||
|
||||
clean-l:
|
||||
rm -rf features.log
|
||||
CLEAN = features.log
|
||||
|
||||
include $(path_to_top)/Makefile.lib
|
||||
|
@ -59,8 +59,10 @@ endif
|
||||
$(call cmd,archive)
|
||||
|
||||
ifdef OBJS
|
||||
CLEAN += $(OBJS)
|
||||
|
||||
clean-l:
|
||||
rm -f $(OBJS) *.a
|
||||
$(RM) $(CLEAN) *.a
|
||||
endif
|
||||
|
||||
|
||||
@ -81,5 +83,4 @@ all-l:
|
||||
install-l:
|
||||
clean-l:
|
||||
|
||||
|
||||
# vim:syntax=make
|
||||
|
@ -129,7 +129,7 @@ doc-dirs:
|
||||
$(INSTALL) -d $(DOC_DIRS)
|
||||
|
||||
# $(MAN_DIR) intentionally left out
|
||||
clean-local:
|
||||
clean-l:
|
||||
$(RM) -r $(HTML_DIR) $(XML_DIR) $(TXT_DIR) $(PDF_DIR) *.tmp
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user