mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
tools: improve emacs tags, include js/docs etc.
This commit is contained in:
parent
0ab008ed5e
commit
c8347b00cf
10
Makefile
10
Makefile
@ -125,7 +125,7 @@ CABALFILES:= \
|
|||||||
HPACKFILES:= \
|
HPACKFILES:= \
|
||||||
hledger/package.yaml \
|
hledger/package.yaml \
|
||||||
hledger-*/package.yaml \
|
hledger-*/package.yaml \
|
||||||
site/package.yaml
|
site/hakyll-std/package.yaml
|
||||||
|
|
||||||
WEBFILES:= \
|
WEBFILES:= \
|
||||||
hledger-web/templates/* \
|
hledger-web/templates/* \
|
||||||
@ -133,7 +133,7 @@ WEBFILES:= \
|
|||||||
hledger-web/static/*.css
|
hledger-web/static/*.css
|
||||||
|
|
||||||
DOCFILES:= \
|
DOCFILES:= \
|
||||||
doc/*.md
|
*/*.md
|
||||||
|
|
||||||
# files which should be updated when the version changes
|
# files which should be updated when the version changes
|
||||||
VERSIONSENSITIVEFILES=\
|
VERSIONSENSITIVEFILES=\
|
||||||
@ -1392,7 +1392,11 @@ tag: emacstags \
|
|||||||
$(call def-help,tag, generate tag files for source code navigation (for emacs) )
|
$(call def-help,tag, generate tag files for source code navigation (for emacs) )
|
||||||
|
|
||||||
emacstags:
|
emacstags:
|
||||||
-@rm -f TAGS; hasktags -e $(SOURCEFILES) $(WEBFILES) $(CABALFILES) $(HPACKFILES) $(DOCFILES) Makefile
|
rm -f TAGS
|
||||||
|
hasktags -e $(SOURCEFILES)
|
||||||
|
for f in Makefile $(WEBFILES) $(HPACKFILES) $(CABALFILES) $(DOCFILES); do \
|
||||||
|
printf "\n$$f,1\n" >> TAGS; \
|
||||||
|
done
|
||||||
|
|
||||||
cleantags: \
|
cleantags: \
|
||||||
$(call def-help-hide,cleantags, remove tag files )
|
$(call def-help-hide,cleantags, remove tag files )
|
||||||
|
Loading…
Reference in New Issue
Block a user