1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00: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:
Jonas Fonseca 2005-09-27 18:27:17 +02:00 committed by Jonas Fonseca
parent 50f4b46616
commit 249fac4345
3 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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