@@ -819,6 +819,13 @@ manuals: Shake $(call def-help,manuals, regenerate and commit CLI help and manua
819
819
./Shake manuals
820
820
git commit -m " ;doc: regen manuals" -m " [ci skip]" hledger* /hledger* .{1,5,info,txt} hledger/Hledger/Cli/Commands/* .txt
821
821
822
+ tag-all : $(call def-help,tag-all, make git release tags and for the project and all packages )
823
+ for p in $( PACKAGES) ; do make -s tag-$$ p; done
824
+ git tag -fs ` cat .version` -m " Release ` cat .version` , https://hledger.org/release-notes.html#hledger-` cat .version | sed -e ' s/\./-/g' ` "
825
+
826
+ tag-% : $(call def-help,tag-PKG, make a git release tag for PKG )
827
+ git tag -fs $* -` cat $* /.version` -m " Release $* -` cat $* /.version` "
828
+
822
829
# hackageupload-dry: \
823
830
# $(call def-help,hackageupload-dry,\
824
831
# upload all packages to hackage; dry run\
@@ -975,12 +982,9 @@ cabalusage: \
975
982
$(call def-help,cabalusage, show size of cabal working dirs if any )
976
983
-du -shc * /dist* 2> /dev/null
977
984
978
- tag : emacstags-ctags \
979
- $(call def-help,tag, generate tag files for source code navigation (for emacs) )
980
-
981
985
# Tag haskell files with hasktags and just list the other main source files
982
986
# so they will be traversed by tags-search/tags-query-replace.
983
- # emacstags :
987
+ # etags :
984
988
# rm -f TAGS
985
989
# hasktags -e $(SOURCEFILES)
986
990
# for f in Makefile $(WEBCODEFILES) $(HPACKFILES) $(CABALFILES) $(DOCSOURCEFILES); do \
@@ -991,7 +995,7 @@ tag: emacstags-ctags \
991
995
# - haskell files, with hasktags
992
996
# - everything else not excluded by .ctags, with (exuberant) ctags
993
997
# - files currently missed by the above, just their names (docs, hpack, cabal..)
994
- emacstags-ctags :
998
+ etags : $( call def-help,etags, generate emacs tag files for source code navigation )
995
999
hasktags -e $(SOURCEFILES )
996
1000
ctags -a -e -R
997
1001
for f in \
0 commit comments