Commit 267b89dc authored by thomas.forbriger's avatar thomas.forbriger
Browse files

ts/wf [TASK]: keep derived source code away from editor

parent 6afc4d69
......@@ -108,6 +108,8 @@ EDITTESTS=$(wildcard testcases/*.par) $(wildcard testcases/*.tpl) \
$(TESTCASEMAKE) $(wildcard testcases/*.gpt)
DESCRIPTIONTXT=$(wildcard *_help.txt)
EDITTXT=$(DESCRIPTIONTXT)
DERIVEDCODE=$(patsubst %.txt,%.h,$(DESCRIPTIONTXT)) \
$(patsubst %.txt,%.cc,$(DESCRIPTIONTXT))
#----------------------------------------------------------------------
# standard edit targets
......@@ -116,13 +118,13 @@ clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.d | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.o *.xxx *.ps *~ $(PROGRAMS)
-/bin/rm -fv $(patsubst %.txt,%.h,$(DESCRIPTIONTXT))
-/bin/rm -fv $(patsubst %.txt,%.cc,$(DESCRIPTIONTXT))
-/bin/rm -fv $(DERIVEDCODE)
flist: $(wildcard *.txt *.c *.f *.h *.inc *_text.txt Makefile *.cc *.gpt) \
flist: $(filter-out $(DERIVEDCODE), \
$(wildcard *.txt *.c *.f *.h *.inc *_text.txt Makefile *.cc *.gpt) \
doxydoc.cfg README COPYING $(DOXYTXT) $(EDITFILES) $(EDITTXT) \
$(wildcard testcases/*.par) $(wildcard testcases/*.tpl) \
$(TESTCASEMAKE) $(wildcard testcases/*.gpt) $(TF_EDIT)
$(TESTCASEMAKE) $(wildcard testcases/*.gpt) $(TF_EDIT))
echo $(filter $(EDITFILES),$^) | tr ' ' '\n' | sort > $@
echo "---- source code ----" >> $@
echo $(filter $(EDITSRC),$^) | tr ' ' '\n' | sort >> $@
......
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