Mercurial > mxe-octave
annotate src/of-database-1-cross-fixes.patch @ 4224:9ded338051db
of-database: update to 2.4.2
* src/of-database.mk: update version, checksum
* build_packages.m: update database version
* src/of-database-1-cross-fixes.patch: update patch for doc building
author | John D |
---|---|
date | Wed, 05 Oct 2016 15:39:03 -0400 |
parents | 07a298959dc3 |
children |
rev | line source |
---|---|
4224 | 1 diff -ur database-2.4.2.orig/src/Makefile.in database-2.4.2/src/Makefile.in |
2 --- database-2.4.2.orig/src/Makefile.in 2016-10-02 15:12:37.447321334 -0400 | |
3 +++ database-2.4.2/src/Makefile.in 2016-10-02 18:19:06.118462056 -0400 | |
4 @@ -32,6 +32,8 @@ | |
4109
07a298959dc3
of-database: update to 2.4.1
John Donoghue <john.donoghue@ieee.org>
parents:
3892
diff
changeset
|
5 |
4224 | 6 CXXCPP = @CXXCPP@ |
7 | |
8 +BUILD_CXX ?= gcc | |
9 + | |
4109
07a298959dc3
of-database: update to 2.4.1
John Donoghue <john.donoghue@ieee.org>
parents:
3892
diff
changeset
|
10 MKOCTFILE ?= @MKOCTFILE@ |
07a298959dc3
of-database: update to 2.4.1
John Donoghue <john.donoghue@ieee.org>
parents:
3892
diff
changeset
|
11 PG_CONFIG ?= @PG_CONFIG@ |
4224 | 12 OCTAVE_CONFIG ?= @OCTAVE_CONFIG@ |
13 @@ -130,7 +132,7 @@ | |
14 %.bin: %.cc | |
15 if grep -q $(RDEFUN_DLD) $<; then echo "The string '$(RDEFUN_DLD)' must not be present in source code, but is in $<."; exit 1; fi | |
16 if grep -q $(RDEFUNX_DLD) $<; then echo "The string '$(RDEFUNX_DLD)' must not be present in source code, but is in $<."; exit 1; fi | |
17 - (echo "#include <stdio.h>"; echo "int main () {"; sed -e s/DEFUN_DLD/$(RDEFUN_DLD)/g -e s/DEFUNX_DLD/$(RDEFUNX_DLD)/g $< | $(CXXCPP) `$(MKOCTFILE) -p INCFLAGS` -I`$(PG_CONFIG) --includedir` -x c++ -iquote '.' -D'$(RDEFUN_DLD)(name,args,nargout,doc)=$(RDEFUN_DLD)(name,doc)' -D'$(RDEFUNX_DLD)(name,fname,gname,args,nargout,doc)=$(RDEFUN_DLD)(name,doc)' - | sed -e '/.*$(RDEFUN_DLD)/!D'; echo "}";) | $(CXX) -x c++ -D'$(RDEFUN_DLD)(name,doc)=printf("%c" #name "\n@c " #name " $<\n" doc "\n\n", 0x1D);' -o $@ - | |
18 + (echo "#include <stdio.h>"; echo "int main () {"; sed -e s/DEFUN_DLD/$(RDEFUN_DLD)/g -e s/DEFUNX_DLD/$(RDEFUNX_DLD)/g $< | $(CXXCPP) `$(MKOCTFILE) -p INCFLAGS` -I`$(PG_CONFIG) --includedir` -x c++ -iquote '.' -D'$(RDEFUN_DLD)(name,args,nargout,doc)=$(RDEFUN_DLD)(name,doc)' -D'$(RDEFUNX_DLD)(name,fname,gname,args,nargout,doc)=$(RDEFUN_DLD)(name,doc)' - | sed -e '/.*$(RDEFUN_DLD)/!D'; echo "}";) | $(BUILD_CXX) -x c++ -D'$(RDEFUN_DLD)(name,doc)=printf("%c" #name "\n@c " #name " $<\n" doc "\n\n", 0x1D);' -o $@ - | |
3892 | 19 |
4224 | 20 clean: |
21 $(RM) *.o octave-core *.oct *.cc.docstrings MFDOCSTRINGS $(INFOFILE) $(TEXIFILE) *~ |