Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added files to build and package the info file for Marmalade.
- Loading branch information
Aidan Gauland
committed
Sep 24, 2012
1 parent
46bb417
commit 491fe0d
Showing
3 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# package.el multi-file package install | ||
|
||
# These are the variables that are specific to the package | ||
NAME=eshell-manual | ||
VERSION=$(shell git show | head -n1 | cut -d' ' -f2 | head -c8) | ||
DOC="An updated manual for Eshell." | ||
|
||
# Everything beyond here should be generic | ||
package_parts = $(shell cat build-parts.txt) | ||
PACKAGE=$(NAME)-$(VERSION) | ||
TARBALL=$(PACKAGE).tar | ||
|
||
all: tarball | ||
|
||
# Really would like this to clean the elc files of the package_parts | ||
clean-elc: | ||
rm -f *.elc | ||
|
||
clean: clean-elc | ||
rm -f eshell.info | ||
rm -f dir | ||
rm -f $(TARBALL) | ||
rm -rf $(PACKAGE) | ||
rm -f $(NAME)-pkg.el | ||
|
||
tarball: $(TARBALL) | ||
|
||
$(TARBALL): $(PACKAGE) $(PACKAGE)/$(NAME)-pkg.el | ||
tar cf $@ $< | ||
|
||
$(PACKAGE): $(package_parts) | ||
mkdir $@ | ||
cp $(package_parts) $@ | ||
|
||
$(PACKAGE)/$(NAME)-pkg.el: $(PACKAGE) | ||
echo "(define-package \"$(NAME)\" \"$(VERSION)\" \"$(DOC)\")" > $@ | ||
|
||
dir: eshell.info | ||
install-info --dir=dir eshell.info | ||
|
||
eshell.info: | ||
makeinfo -o $@ eshell.texi | ||
|
||
# End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dir | ||
eshell.info | ||
eshell-manual.el |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
;;; eshell-info.el --- dummy elisp for the eshell info package | ||
|
||
;; Author: Aidan Gauland <aidalgol@no8wireless.co.nz> | ||
;; Keywords: lisp eshell | ||
|
||
;; This program is free software; you can redistribute it and/or modify | ||
;; it under the terms of the GNU General Public License as published by | ||
;; the Free Software Foundation, either version 3 of the License, or | ||
;; (at your option) any later version. | ||
|
||
;; This program is distributed in the hope that it will be useful, | ||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
;; GNU General Public License for more details. | ||
|
||
;; You should have received a copy of the GNU General Public License | ||
;; along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
;;; Commentary: | ||
|
||
;; This file does nothing at all | ||
|
||
;;; Code: | ||
|
||
|
||
|
||
(provide 'eshell-info) | ||
|
||
;;; eshell-info.el ends here |