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 3
3
.gitignore
4
4
LICENSE
5
5
Makefile
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 1
1
* .elc
2
2
* .tar. *
3
3
* ~
4
- \# * \#
5
4
/* -autoloads.el
6
5
/* -pkg.el
7
- /gnuplot- * /
6
+ /admin /* /
7
+ \# * \#
Original file line number Diff line number Diff line change 1
- EMACS ?= emacs
2
-
3
1
LOAD = -l gnuplot \
4
2
-l gnuplot-context \
5
3
-l gnuplot-debug-context \
6
4
-l gnuplot-gui \
7
- -l gnuplot-tests
5
+ -l gnuplot-test
8
6
9
- .PHONY : all default clean
7
+ .PHONY : all default clean regen test
10
8
11
9
default : compile
12
10
13
11
test :
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
15
13
16
14
compile :
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
18
16
19
17
clean :
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.
137
137
138
138
The files ~gnuplot.texi~ and ~gnuplot-eldoc.el~ are generated from the Gnuplot
139
139
source, 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 #")
249
249
'comment' \
250
250
\" containing strings\" " )
251
251
252
- ; ;; gnuplot-tests .el ends here
252
+ ; ;; gnuplot-test .el ends here
You can’t perform that action at this time.
0 commit comments