mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* Makefile.am (TAGS): modify to fix the problem where you had to
run make twice to get it to succeed. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6197 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
82a2cd436b
commit
b63af95544
18
Makefile.am
18
Makefile.am
@ -85,19 +85,11 @@ cscope.out: cscope.files
|
||||
|
||||
if GNC_TAGS_FILE
|
||||
|
||||
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
|
||||
|
||||
TAGS: etags.files $(shell cat etags.files)
|
||||
etags `cat etags.files`
|
||||
TAGS:
|
||||
# make sure etags.files is up to date.
|
||||
${MAKE} -f Makefile.TAGS etags.files
|
||||
# now use the contents of etags.files to re-make TAGS if needed.
|
||||
${MAKE} -f Makefile.TAGS TAGS
|
||||
|
||||
else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user