1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

gnuplot: Build and package help files for internal documentation system

This commit is contained in:
David Kühling
2011-01-05 13:30:56 +01:00
parent 21acf8eb42
commit 59ad4eac72
3 changed files with 124 additions and 31 deletions

View File

@@ -1,11 +1,13 @@
--- a/Makefile.in.orig 2010-03-13 22:20:04.000000000 +0100
+++ b/Makefile.in 2010-06-03 15:08:35.000000000 +0200
Index: gnuplot-4.4.0/Makefile.in
===================================================================
--- gnuplot-4.4.0.orig/Makefile.in 2010-03-13 22:20:04.000000000 +0100
+++ gnuplot-4.4.0/Makefile.in 2011-01-05 12:48:51.000000000 +0100
@@ -240,7 +240,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign 1.2h
-SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share
+SUBDIRS = config m4 term src $(LISPDIR) share
+SUBDIRS = config m4 term src docs $(LISPDIR) share
EXTRA_DIST = BUGS CodeStyle Copyright FAQ.pdf GNUmakefile INSTALL INSTALL.gnu \
Makefile.maint PATCHLEVEL PGPKEYS PORTING README README.1ST \
VERSION configure.vms pm3d

View File

@@ -0,0 +1,26 @@
Index: gnuplot-4.4.0/docs/Makefile.in
===================================================================
--- gnuplot-4.4.0.orig/docs/Makefile.in 2011-01-05 13:07:42.000000000 +0100
+++ gnuplot-4.4.0/docs/Makefile.in 2011-01-05 13:08:04.000000000 +0100
@@ -339,9 +339,11 @@
### gnuplot interactive help format
gih: gnuplot.gih
+# Note: here we have to use the host-compiled doc2gih tool, that the build
+# process installs in the staging bin directory
gnuplot.gih: doc2gih $(srcdir)/gnuplot.doc
@rm -f alldoc2gih
- ./doc2gih $(srcdir)/gnuplot.doc gnuplot.gih
+ doc2gih $(srcdir)/gnuplot.doc gnuplot.gih
doc2gih: doc2gih.o termdoc.o
$(LINK) doc2gih.o termdoc.o $(LIBS)
@@ -349,7 +351,7 @@
# To include all terminals in the .gih file
allgih: alldoc2gih $(srcdir)/gnuplot.doc
@rm -f doc2gih
- ./alldoc2gih $(srcdir)/gnuplot.doc gnuplot.gih
+ alldoc2gih $(srcdir)/gnuplot.doc gnuplot.gih
alldoc2gih: alldoc2gih.o termdoc.o
$(LINK) alldoc2gih.o termdoc.o $(LIBS)