pax_global_header 0000666 0000000 0000000 00000000064 14774037274 0014531 g ustar 00root root 0000000 0000000 52 comment=03d830866f76dc91d1b43edb926272e76359bf77
gle-manual-4.3.6/ 0000775 0000000 0000000 00000000000 14774037274 0013565 5 ustar 00root root 0000000 0000000 gle-manual-4.3.6/.github/ 0000775 0000000 0000000 00000000000 14774037274 0015125 5 ustar 00root root 0000000 0000000 gle-manual-4.3.6/.github/workflows/ 0000775 0000000 0000000 00000000000 14774037274 0017162 5 ustar 00root root 0000000 0000000 gle-manual-4.3.6/.github/workflows/build.yml 0000664 0000000 0000000 00000011301 14774037274 0021000 0 ustar 00root root 0000000 0000000 #
# -- build.yml - build PDF version of the GLE manual on linux
#
name: Build PDF of GLE Manual
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Run workflow from GLE release workflow - uploads artifacts to release
repository_dispatch:
types: [gle-release]
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout GLE Manual
uses: actions/checkout@v4
- name: Checkout GLE
uses: actions/checkout@v4
with:
repository: "vlabella/gle"
path: gle
- name: Get Version Number from GLE's CMakeLists.txt file
id: version-number
run: echo "VERSION=$(awk 'tolower($0) ~ /project\([[:blank:]]*[[:alnum:]]+[[:blank:]]+version[[:blank:]]+[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+[[:blank:]]*\)/{print $4}' gle/src/CMakeLists.txt)" >> $GITHUB_ENV
- name: Checkout GLE Library
uses: actions/checkout@v4
with:
repository: "vlabella/gle-library"
path: gle-library
- name: Add gle-library to GLE_USRLIB
working-directory: ${{github.workspace}}
run: export GLE_USRLIB=${{github.workspace}}/gle-library/include:$GLE_USRLIB
- name: update apt
run: sudo apt update
- name: install packages
# dont install qt - not building the GUI
run: |
set -x
touch ${{github.workspace}}/gle/configure.args
sudo apt install ghostscript texlive texlive-latex-extra texlive-science dvipng \
cmake freeglut3-dev libboost-dev libcairo-dev libdeflate-dev libgs-dev \
libjpeg-turbo8-dev liblzma-dev libpixman-1-dev libpng-dev libtiff-dev libz-dev
- name: Configure cmake
working-directory: ${{github.workspace}}/gle
run: cmake -S src -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=OFF -DBUILD_MANIP=OFF
- name: Build GLE
working-directory: ${{github.workspace}}/gle
run: cmake --build build
- name: Install GLE
working-directory: ${{github.workspace}}/gle
run: DESTDIR=destroot cmake --install build
- name: Add GLE to PATH
working-directory: ${{github.workspace}}
run: export PATH=${{github.workspace}}/gle/destroot/usr/local/bin:$PATH
- name: Build GLE Manual
working-directory: ${{github.workspace}}
run: |
export GLE_USRLIB=${{github.workspace}}/gle-library/include:$GLE_USRLIB \
PATH=${{github.workspace}}/gle/destroot/usr/local/bin:$PATH && \
make -f Makefile.gcc
- name: Upload Artifacts - GLE Manual PDF
uses: actions/upload-artifact@v4.4.3
with:
name: GLE Manual PDF
path: ${{github.workspace}}/gle-manual.pdf
if-no-files-found: warn
retention-days: 0
compression-level: 0
# create release if started from gle-release workflow
- name: Create Release
if: ${{ github.event_name == 'repository_dispatch' && github.event.action == 'gle-release'}}
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
tag_name: ${{ github.event.client_payload.tag }}
name: ${{ github.event.client_payload.tag }}
body: "Release to coincide with GLE release of same tag"
draft: false
prerelease: false
# upload to release location if started from gle-release workflow
- name: Upload PDF to Release Location
if: ${{ github.event_name == 'repository_dispatch' && github.event.action == 'gle-release'}}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file_glob: true
file: ${{github.workspace}}/gle-manual.pdf
tag: ${{ github.event.client_payload.tag }}
overwrite: true
# upload to GLE release location as well
- name: Upload PDF to Release Location
if: ${{ github.event_name == 'repository_dispatch' && github.event.action == 'gle-release'}}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GLE_PAT }}
file_glob: true
file: ${{github.workspace}}/gle-manual.pdf
tag: ${{ github.event.client_payload.tag }}
overwrite: true
repo_name: vlabella/GLE
gle-manual-4.3.6/.github/workflows/testtrigger.yml 0000664 0000000 0000000 00000000662 14774037274 0022254 0 ustar 00root root 0000000 0000000 #
# -- testtrigger.yml - testing of event triggering
#
name: Test Release Trigger
on:
workflow_dispatch:
# workflow_run:
# workflows: [Create Release]
# types:
# - completed
repository_dispatch:
types: [test-trigger]
jobs:
build:
name: Test Release Trigger
runs-on: ubuntu-latest
steps:
- name: echo info
run: |
cat << OBJECT
${{ toJson(github) }}
OBJECT
gle-manual-4.3.6/LICENSE 0000664 0000000 0000000 00000002455 14774037274 0014600 0 ustar 00root root 0000000 0000000 BSD 2-Clause License
Copyright (c) 2022, Vincent LaBella
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
gle-manual-4.3.6/Makefile.gcc 0000664 0000000 0000000 00000010317 14774037274 0015762 0 ustar 00root root 0000000 0000000 ########################################################################
# #
# GLE - Graphics Layout Engine #
# #
# Modified BSD License #
# #
# Copyright (C) 2009 GLE. #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions #
# are met: #
# #
# 1. Redistributions of source code must retain the above copyright #
# notice, this list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above #
# copyright notice, this list of conditions and the following #
# disclaimer in the documentation and/or other materials provided with #
# the distribution. #
# #
# 3. The name of the author may not be used to endorse or promote #
# products derived from this software without specific prior written #
# permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR #
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE #
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY #
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE #
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS #
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER #
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR #
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN #
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
########################################################################
UNAME_S := $(shell uname -s)
all: fig fonts pdf defs.tex
fig:
$(MAKE) -C title -f Makefile.gcc
$(MAKE) -C tutorial/fig -f Makefile.gcc
$(MAKE) -C primitives/fig -f Makefile.gcc
$(MAKE) -C graph/fig -f Makefile.gcc
$(MAKE) -C key/fig -f Makefile.gcc
$(MAKE) -C advanced/fig -f Makefile.gcc
$(MAKE) -C utilities/fig -f Makefile.gcc
$(MAKE) -C appendix/fig -f Makefile.gcc
$(MAKE) -C prog/fig -f Makefile.gcc
ifneq ($(UNAME_S),Darwin)
pdf: defs.tex
pdflatex gle-manual.tex
else
# define the APPLE command to elimnate the countour plots for macOS in utilities\countour.tex
# the coutour figures cause a seg fault in GLE and this workaround eliminates
# them so the workflow finishes on GitHub. Need to fix.
pdf: defs.tex
pdflatex "\def\APPLE{1} \input{gle-manual.tex}"
endif
dvi:
latex gle-manual.tex
index:
makeindex gle-manual
fonts:
$(MAKE) -C fonttest -f Makefile.gcc
cfonts:
$(MAKE) -C fonttest -f Makefile.gcc clean
clean:
rm -rf *.pdf *.idx *.aux *.dvi *.log *.out *.ilg *.ind *.toc defs.tex
$(MAKE) -C title -f Makefile.gcc clean
$(MAKE) -C tutorial/fig -f Makefile.gcc clean
$(MAKE) -C primitives/fig -f Makefile.gcc clean
$(MAKE) -C graph/fig -f Makefile.gcc clean
$(MAKE) -C key/fig -f Makefile.gcc clean
$(MAKE) -C advanced/fig -f Makefile.gcc clean
$(MAKE) -C utilities/fig -f Makefile.gcc clean
$(MAKE) -C appendix/fig -f Makefile.gcc clean
$(MAKE) -C prog/fig -f Makefile.gcc clean
# PDFS = $(addsuffix .pdf, $(basename $(EPSS)))
# %.pdf: %.eps
# epstopdf $<
defs.tex:
glebtool -latexdef defs.tex hascairo $(HAVE_CAIRO)
glebtool -latexversion defs.tex
gle-manual-4.3.6/Makefile.os2 0000664 0000000 0000000 00000006751 14774037274 0015740 0 ustar 00root root 0000000 0000000 ########################################################################
# #
# GLE - Graphics Layout Engine #
# #
# Modified BSD License #
# #
# Copyright (C) 2009 GLE. #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions #
# are met: #
# #
# 1. Redistributions of source code must retain the above copyright #
# notice, this list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above #
# copyright notice, this list of conditions and the following #
# disclaimer in the documentation and/or other materials provided with #
# the distribution. #
# #
# 3. The name of the author may not be used to endorse or promote #
# products derived from this software without specific prior written #
# permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR #
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE #
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY #
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE #
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS #
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER #
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR #
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN #
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
########################################################################
all: fig pdf
fig:
make -C title -f Makefile.os2
make -C tutorial/fig -f Makefile.os2
make -C primitives/fig -f Makefile.os2
make -C graph/fig -f Makefile.os2
make -C key/fig -f Makefile.os2
make -C advanced/fig -f Makefile.os2
make -C utilities/fig -f Makefile.os2
make -C appendix/fig -f Makefile.os2
pdf:
vlatex gle-manual.tex
index:
vmakeindex gle-manual
clean:
rm -rf *.pdf *.idx *.aux *.dvi *.log *.out *.ilg *.ind *.toc
make -C title -f Makefile.os2 clean
make -C tutorial/fig -f Makefile.os2 clean
make -C primitives/fig -f Makefile.os2 clean
make -C graph/fig -f Makefile.os2 clean
make -C key/fig -f Makefile.os2 clean
make -C advanced/fig -f Makefile.os2 clean
make -C utilities/fig -f Makefile.os2 clean
make -C appendix/fig -f Makefile.os2 clean
# PDFS = $(addsuffix .pdf, $(basename $(EPSS)))
# %.pdf: %.eps
# epstopdf $<
gle-manual-4.3.6/Makefile.vc 0000664 0000000 0000000 00000017664 14774037274 0015652 0 ustar 00root root 0000000 0000000 ########################################################################
# #
# GLE - Graphics Layout Engine #
# #
# Modified BSD License #
# #
# Copyright (C) 2009 GLE. #
# #
# Redistribution and use in source and binary forms, with or without #
# modification, are permitted provided that the following conditions #
# are met: #
# #
# 1. Redistributions of source code must retain the above copyright #
# notice, this list of conditions and the following disclaimer. #
# #
# 2. Redistributions in binary form must reproduce the above #
# copyright notice, this list of conditions and the following #
# disclaimer in the documentation and/or other materials provided with #
# the distribution. #
# #
# 3. The name of the author may not be used to endorse or promote #
# products derived from this software without specific prior written #
# permission. #
# #
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR #
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED #
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE #
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY #
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL #
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE #
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS #
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER #
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR #
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN #
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #
# #
########################################################################
GLE_FIGURES = \
title\glelogo.pdf \
advanced\fig\gc_clip.pdf \
advanced\fig\gc_join.pdf \
advanced\fig\house.pdf \
advanced\fig\join.pdf \
advanced\fig\texgraph.inc \
appendix\fig\ap_marker.pdf \
appendix\fig\ap_fonts.pdf \
appendix\fig\wall.pdf \
appendix\fig\join.pdf \
appendix\fig\single.pdf \
appendix\fig\stack2.pdf \
appendix\fig\stack1.pdf \
appendix\fig\stack4b.pdf \
appendix\fig\loop.pdf \
appendix\fig\clip.pdf \
appendix\fig\color_sample.inc \
appendix\fig\color_list_svg.inc \
appendix\fig\symbols.inc \
tutorial\fig\tut_simple.inc \
tutorial\fig\tut_graph.inc \
tutorial\fig\tut_graph2.inc \
tutorial\fig\tut_graph3.inc \
primitives\fig\gc_arc.pdf \
primitives\fig\gc_arcto.pdf \
primitives\fig\gc_beginbox.pdf \
primitives\fig\gc_bezier.pdf \
primitives\fig\gc_cap.pdf \
primitives\fig\gc_color.pdf \
primitives\fig\gc_curve.pdf \
primitives\fig\gc_fontlwidth.pdf \
primitives\fig\gc_for.pdf \
primitives\fig\gc_justify.pdf \
primitives\fig\gc_ljoin.pdf \
primitives\fig\gc_lstyle.pdf \
primitives\fig\gc_marker.inc\
primitives\fig\gc_nonzero.pdf \
primitives\fig\gc_rot1.pdf \
primitives\fig\gc_rot2.pdf \
primitives\fig\gc_table.pdf \
primitives\fig\gc_text.pdf \
primitives\fig\gc_write.pdf \
primitives\fig\gc_xend.pdf \
primitives\fig\grids.inc \
primitives\fig\setcolor.inc \
primitives\fig\curve.inc \
primitives\fig\fullpage.inc \
primitives\fig\gc_arrstyle.pdf \
primitives\fig\curve_length.inc \
graph\fig\gc_axes.inc \
graph\fig\gc_axisall.inc \
graph\fig\gc_bargraph1.inc \
graph\fig\gc_bargraph2.inc \
graph\fig\gc_bargraph_3d.inc \
graph\fig\gc_err.inc \
graph\fig\gc_fillgraph.inc \
graph\fig\gc_let.inc \
graph\fig\gc_names.inc \
graph\fig\gc_nomiss.inc \
graph\fig\gc_fit.inc \
graph\fig\gc_fitfct.inc \
graph\fig\linemode.inc \
graph\fig\gc_loglabels.inc \
graph\fig\gc_graphscale.inc \
graph\fig\gc_horizbar.inc \
graph\fig\gc_mathmode.inc \
graph\fig\gc_logsubticks.inc \
graph\fig\noisysine.inc \
graph\fig\age.inc \
graph\fig\normal.inc \
graph\fig\gridmode.inc \
graph\fig\y2axis-scale.inc \
graph\fig\discontinuity.inc \
graph\fig\sqroot.inc \
graph\fig\cos2t.inc \
graph\fig\shadow.inc \
graph\fig\semitrans.inc \
key\fig\k_key.inc \
key\fig\keypos.inc \
key\fig\grkey.inc \
key\fig\multicolkey.inc \
utilities\fig\xyz.pdf \
utilities\fig\fitls.pdf \
utilities\fig\fitz1.pdf \
utilities\fig\jack.pdf \
utilities\fig\saddle.pdf \
utilities\fig\surf1.pdf \
utilities\fig\surf2.pdf \
utilities\fig\surf3.pdf \
utilities\fig\surf4.pdf \
utilities\fig\surf5.pdf \
utilities\fig\surf5b.pdf \
utilities\fig\saddle-contour.inc \
utilities\fig\volcano.inc \
utilities\fig\gaussian.inc \
prog\fig\axisformat.pdf
# set this to location of GLE when building manual if not installed in path
!if "$(GLE_TOP)" == ""
GLE_TOP="C:\Program Files\gle"
!endif
GLE_ROOT =$(GLE_TOP)\bin
GLE =$(GLE_ROOT)\gle
GLE_CAIRO =$(GLE_ROOT)\gle -cairo
GLEBTOOL =$(GLE_ROOT)\glebtool
HAVE_CAIRO =1
HAVE_EXTRA_FONTS=1
# location where manual PDF is installed
INSTALL_FOLDER =$(GLE_TOP)\doc
all: $(GLE_FIGURES) defstex fonts pdf
install:
-mkdir $(INSTALL_FOLDER)
copy gle-manual.pdf $(INSTALL_FOLDER)
pdf: defs.tex
texify -p gle-manual.tex
dvi:
texify -q gle-manual.tex
index:
makeindex gle-manual
fonts:
cd fonttest & nmake /nologo -f Makefile.vc
fonts-clean:
cd fonttest & nmake /nologo -f Makefile.vc clean
#fonts:
# cd fonttest & perl winfonts.pl $(GLE)
# cd fonttest & $(GLEBTOOL) -latexdef extrafonts.tex extrafonts $(HAVE_EXTRA_FONTS)
#fonts-clean:
# -erase /Q fonttest\extrafonts.tex
# cd fonttest & perl winfonts.pl $(GLE) clean
clean: fonts-clean
-erase /Q *.pdf *.idx *.aux *.dvi *.log *.out *.ilg *.ind *.toc defs.tex
-erase /Q $(GLE_FIGURES)
-erase /Q $(GLE_FIGURES:.inc=_inc.pdf)
-rmdir /S /Q utilities\fig\.gle
-rmdir /S /Q prog\fig\.gle
-rmdir /S /Q graph\fig\.gle
-rmdir /S /Q key\fig\.gle
-rmdir /S /Q primitives\fig\.gle
-rmdir /S /Q tutorial\fig\.gle
-rmdir /S /Q appendix\fig\.gle
-rmdir /S /Q advanced\fig\.gle
figures: $(GLE_FIGURES)
# PDFS = $(addsuffix .pdf, $(basename $(EPSS)))
# %.pdf: %.eps
# epstopdf $<
defstex:
$(GLEBTOOL) -latexdef defs.tex hascairo $(HAVE_CAIRO)
$(GLEBTOOL) -latexversion defs.tex
.SUFFIXES: .gle .pdf .inc
{title\}.gle{title\}.pdf:
$(GLE_CAIRO) -d pdf $<
{advanced\fig}.gle{advanced\fig}.pdf:
$(GLE_CAIRO) -d pdf $<
{advanced\fig}.gle{advanced\fig}.inc:
$(GLE_CAIRO) -texincprefix advanced/fig/ -inc -d pdf $<
{appendix\fig}.gle{appendix\fig}.pdf:
$(GLE_CAIRO) -d pdf $<
{appendix\fig}.gle{appendix\fig}.inc:
$(GLE_CAIRO) -texincprefix appendix/fig/ -inc -d pdf $<
{tutorial\fig}.gle{tutorial\fig}.pdf:
$(GLE_CAIRO) -d pdf $<
{tutorial\fig}.gle{tutorial\fig}.inc:
$(GLE_CAIRO) -texincprefix tutorial/fig/ -inc -d pdf $<
{primitives\fig}.gle{primitives\fig}.pdf:
$(GLE_CAIRO) -d pdf $<
{primitives\fig}.gle{primitives\fig}.inc:
$(GLE_CAIRO) -texincprefix primitives/fig/ -inc -d pdf $<
{graph\fig}.gle{graph\fig}.pdf:
$(GLE_CAIRO) -d pdf $<
{graph\fig}.gle{graph\fig}.inc:
$(GLE_CAIRO) -texincprefix graph/fig/ -inc -d pdf $<
{utilities\fig}.gle{utilities\fig}.pdf:
$(GLE_CAIRO) -d pdf $<
{utilities\fig}.gle{utilities\fig}.inc:
cd $(@D) & $(GLE_CAIRO) -texincprefix utilities/fig/ -inc -d pdf $(