mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* Makefile.TAGS: new file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6196 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
66b6b43da3
commit
82a2cd436b
26
Makefile.TAGS
Normal file
26
Makefile.TAGS
Normal file
@ -0,0 +1,26 @@
|
||||
# -*-Makefile-*-
|
||||
|
||||
# These are in a separate file because we need to do one, and then the
|
||||
# other and we need to only consider the files listed inside
|
||||
# etags.files as valid dependencies *after* we've updated etags.files.
|
||||
|
||||
# i.e. TAGS: etags.files $(shell cat etags.files) doesn't work right
|
||||
# because etags.files contents are expanded before it's re-generated.
|
||||
|
||||
# The $(shell find . -type d) dependency seems to be pointless -- it
|
||||
# always fires. It appears that someone's always touching something.
|
||||
etags.files: $(shell find . -type d)
|
||||
find . -path './debian' -prune -o -name '*.[ch]' -print -o -name '*.scm' -print | sort > etags.files.tmp
|
||||
@if cmp --quiet etags.files etags.files.tmp; \
|
||||
then \
|
||||
echo "TAGS file list hasn't changed."; \
|
||||
rm -f etags.files.tmp; \
|
||||
else \
|
||||
echo "TAGS file list has changed."; \
|
||||
mv etags.files.tmp etags.files; \
|
||||
fi
|
||||
|
||||
# we don't need an etags.files dep here b/c you always call this after
|
||||
# re-generating etags.files if needed from the top-level Makefile.am.
|
||||
TAGS: $(shell cat etags.files)
|
||||
etags `cat etags.files`
|
Loading…
Reference in New Issue
Block a user