File tree Expand file tree Collapse file tree 9 files changed +30
-33
lines changed Expand file tree Collapse file tree 9 files changed +30
-33
lines changed Original file line number Diff line number Diff line change 33.gitignore
44LICENSE
55Makefile
6- doc2texi.el
7- gnuplot-debug-context.el
8- gnuplot-test-context.el
9- gnuplot-tests.el
6+ admin
7+ test
Original file line number Diff line number Diff line change 11* .elc
22* .tar. *
33* ~
4- \# * \#
54/* -autoloads.el
65/* -pkg.el
7- /gnuplot- * /
6+ /admin /* /
7+ \# * \#
Original file line number Diff line number Diff line change 1- EMACS ?= emacs
2-
31LOAD = -l gnuplot \
42 -l gnuplot-context \
53 -l gnuplot-debug-context \
64 -l gnuplot-gui \
7- -l gnuplot-tests
5+ -l gnuplot-test
86
9- .PHONY : all default clean
7+ .PHONY : all default clean regen test
108
119default : compile
1210
1311test :
14- $( EMACS ) --batch -L . -f package-initialize $(LOAD ) -f ert-run-tests-batch-and-exit
12+ emacs --batch -L test -L . -f package-initialize $(LOAD ) -f ert-run-tests-batch-and-exit
1513
1614compile :
17- $( EMACS ) --batch -L . -f package-initialize -f batch-byte-compile gnuplot-* .el
15+ emacs --batch -L test -L . -f package-initialize -f batch-byte-compile gnuplot- * .el test/ gnuplot-* .el
1816
1917clean :
20- rm -f * .elc
18+ rm -f * .elc * / * .elc
Original file line number Diff line number Diff line change @@ -137,22 +137,5 @@ until this issue is fixed upstream.
137137
138138The files ~gnuplot.texi~ and ~gnuplot-eldoc.el~ are generated from the Gnuplot
139139source, which can be obtained from https://packages.debian.org/unstable/gnuplot.
140-
141- #+begin_src bash
142- # Download and extract the Gnuplot source
143- [ -e gnuplot-source.tar.xz ] || curl -o gnuplot-source.tar.xz http://deb.debian.org/debian/pool/main/g/gnuplot/gnuplot_6.0.2+dfsg1.orig.tar.xz
144- rm -rf gnuplot-source/
145- mkdir gnuplot-source
146- tar --strip-components=1 -C gnuplot-source -xf gnuplot-source.tar.xz
147-
148- # Run doc2texi.el inside the gnuplot-source/docs directory
149- cp doc2texi.el gnuplot-source/docs
150- cd gnuplot-source/docs
151- emacs -batch -l doc2texi.el -f d2t-doc-to-texi
152-
153- # Make sure that the info file compiles cleanly
154- makeinfo --no-split gnuplot.texi
155-
156- # Copy the updated gnuplot-eldoc.el and gnuplot.texi to the package directory
157- cp gnuplot.texi gnuplot-eldoc.el ../..
158- #+end_src
140+ Run ~make~ inside the ~admin~ directory to download the source and regenerate the
141+ files.
Original file line number Diff line number Diff line change 1+ src = gnuplot-source
2+
3+ regen :
4+ # Download and extract the Gnuplot source
5+ [ -e $( src) .tar.xz ] || curl -o $(src ) .tar.xz http://deb.debian.org/debian/pool/main/g/gnuplot/gnuplot_6.0.2+dfsg1.orig.tar.xz
6+ rm -rf $(src ) /
7+ mkdir $(src )
8+ tar --strip-components=1 -C $(src ) -xf $(src ) .tar.xz
9+
10+ # Run doc2texi.el inside the $(src)/docs directory
11+ cp doc2texi.el $(src)/docs
12+ (cd $(src)/docs; emacs --batch -l doc2texi.el -f d2t-doc-to-texi)
13+
14+ # Make sure that the info file compiles cleanly
15+ (cd $(src)/docs; makeinfo --no-split gnuplot.texi)
16+
17+ # Copy the updated gnuplot-eldoc.el and gnuplot.texi to the package directory
18+ cp $(src)/docs/gnuplot.texi $(src)/docs/gnuplot-eldoc.el ..
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -249,4 +249,4 @@ mutliple # lines #")
249249'comment' \
250250\" containing strings\" " )
251251
252- ; ;; gnuplot-tests .el ends here
252+ ; ;; gnuplot-test .el ends here
You can’t perform that action at this time.
0 commit comments