[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bnf-mode 99d3931 16/22: Updated make package targed to
From: |
Stefan Monnier |
Subject: |
[elpa] externals/bnf-mode 99d3931 16/22: Updated make package targed to provide info files |
Date: |
Tue, 3 Mar 2020 10:56:55 -0500 (EST) |
branch: externals/bnf-mode
commit 99d393158b2c5ddcdcca13ab42858ec6bfc62495
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>
Updated make package targed to provide info files
---
Makefile | 10 ++++------
docs/Makefile | 2 +-
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 49e1317..fe635e7 100644
--- a/Makefile
+++ b/Makefile
@@ -28,10 +28,6 @@ define org-clean
@cat $^ | sed -e "s/\[\[.*\.svg\]\]//g"
endef
-# TODO: Move to docs
-$(PACKAGE).info: README.org
- $(call org-clean,$^) | $(PANDOC) $(PANDOCLAGS) -t texinfo | $(MAKEINFO)
-o $@
-
README: README.org
$(call org-clean,$^) | $(PANDOC) $(PANDOCLAGS) -t plain | sed -e
"s/\[\]//g" > $@
@@ -41,8 +37,10 @@ ChangeLog: NEWS
$(PACKAGE)-pkg.el: $(PACKAGE).el
@$(CASK) pkg-file
-$(ARCHIVE_NAME).tar: README ChangeLog LICENSE $(PACKAGE).el $(PACKAGE)-pkg.el
$(PACKAGE).info dir
+$(ARCHIVE_NAME).tar: README ChangeLog LICENSE $(PACKAGE).el $(PACKAGE)-pkg.el
+ @$(MAKE) info
@$(TAR) -c -v -f $(ARCHIVE_NAME).tar --transform
"s@^@$(ARCHIVE_NAME)/@" $^
+ @cd docs && $(TAR) -r -f ../$(ARCHIVE_NAME).tar --transform
"s@^@$(ARCHIVE_NAME)/@" $(PACKAGE).info dir
## Public targets
@@ -73,7 +71,7 @@ clean: clean-docs
@$(RM) README ChangeLog $(PACKAGE).info coverage-final.json
@$(RM) $(PACKAGE)-pkg.el $(PACKAGE)-*.tar
-.PHONY:
+.PHONY: clean-docs
clean-docs:
@$(MAKE) -C docs clean
diff --git a/docs/Makefile b/docs/Makefile
index 8f6630b..12c7afc 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -31,7 +31,7 @@ dir: $(INFOPAGES)
$(info Generating dir)
@echo $^ | xargs -n 1 $(INSTALL_INFO) --dir=$@
-.PHONY:
+.PHONY: clean
clean:
$(info Cleaning documentation...)
@$(RM) dir $(INFOPAGES)
- [elpa] externals/bnf-mode 55fd2bb 02/22: Merge pull request #9 from sergeyklay/sync-elpa, (continued)
- [elpa] externals/bnf-mode 55fd2bb 02/22: Merge pull request #9 from sergeyklay/sync-elpa, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode e0a3763 03/22: Update documentation, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 11b19fa 04/22: Merge pull request #10 from sergeyklay/feature/update-docs, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode fde7599 05/22: Correct info file that serves as a top level directory, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode d67b136 06/22: Rephrase project description, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode bcad720 08/22: Optimize 'make help' target performance, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 6ab82b0 10/22: Cleaned up no longer needed stuff from Makefile, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode b600de4 07/22: Added support of outline-minor-mode, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 7535299 13/22: Add initial ability to generate info page, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 61c4601 12/22: Correct copyright notice format, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 99d3931 16/22: Updated make package targed to provide info files,
Stefan Monnier <=
- [elpa] externals/bnf-mode 25d962f 18/22: Cleaned up .elpaignore, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 67fea1d 11/22: Amended documentation, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 026dfcd 09/22: Mode variables definition from Makefile to the common place, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 360bd7f 15/22: Update documentation, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode bdba298 20/22: Fixed misspelling, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 934fba4 21/22: Update change log, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 4bc5d15 17/22: Move documentation to the project root, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode eec34c9 19/22: Merge pull request #11 from sergeyklay/info-page, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode 4a7aff6 22/22: Bump version, Stefan Monnier, 2020/03/03
- [elpa] externals/bnf-mode e1adbb7 14/22: Create documentation in Texinfo format, Stefan Monnier, 2020/03/03