Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
cd587c54
Commit
cd587c54
authored
Apr 22, 2011
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: added fixinfo to automatically update stuff
parent
567c51a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
Makefile
doc/Makefile
+3
-2
fixinfo
doc/fixinfo
+18
-0
No files found.
doc/Makefile
View file @
cd587c54
#
# Makefile for the documentation directory
#
# Copyright 1994,2000,2010 Alessandro Rubini <rubini@linux.it>
# Copyright 1994,2000,2010
,2011
Alessandro Rubini <rubini@linux.it>
#
#################
#
...
...
@@ -29,8 +29,9 @@ TEXI = $(INPUT:.in=.texi)
.SUFFIXES
:
.in .texi .info .html .txt
.in.texi
:
@
rm
-f
$@
2> /dev/null
@
rm
-f
$@
sed
-f
./infofilter
$<
>
$@
emacs
-batch
--no-site-file
-l
fixinfo
$@
chmod
-w
$@
# unfortuantely implicit rules are not concatenated, so force a make run
...
...
doc/fixinfo
0 → 100644
View file @
cd587c54
;; use:
;; emacs -batch -l ./fixinfo.el <file>
;; or, better:
;; emacs -batch --no-site-file -l ./fixinfo.el <file>
(defun fixinfo (file)
(find-file-other-window file)
(message (concat "Maxing texinfo tree in " file))
(texinfo-all-menus-update)
(texinfo-every-node-update)
(save-buffer)
(kill-buffer (current-buffer))
)
;; loop over command line arguments
(mapcar 'fixinfo command-line-args-left)
(kill-emacs)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment