Skip to content

Commit a4e0971

Browse files
authored
Merge pull request unihedron#1 from biot/build+gravity
Build+gravity
2 parents 5ec7fdf + 260e951 commit a4e0971

File tree

7 files changed

+27
-81
lines changed

7 files changed

+27
-81
lines changed

Makefile.in

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11

2-
VERSION=@VERSION@
3-
NAME=@FULL-PACKAGE-NAME@
2+
VERSION=@PACKAGE_VERSION@
3+
NAME=@PACKAGE_NAME@
44
LATEX=@LATEX@
55
DVIPS=@DVIPS@
6-
PDF_VIEWER=@PDF_VIEWER@
76
GS=@GS@
87
CC=@CC@
98

@@ -17,7 +16,6 @@ spectrum: pictures
1716
$(LATEX) tex/spectrum.tex
1817
$(DVIPS) -Ppdf -T 24in,36in spectrum.dvi -f > spectrum.eps
1918
$(GS) -dSAFER -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=spectrum_current.pdf -dSAFER -c .setpdfwrite -f spectrum.eps
20-
$(PDF_VIEWER) spectrum_current.pdf&
2119

2220
pictures:
2321
cd pictures && make
@@ -42,7 +40,6 @@ jpeg600:
4240
split:
4341
poster -v -c5% -s1 -mletter spectrum.eps -ospectrum_pages.eps
4442
ps2pdf spectrum_pages.eps
45-
$(PDF_VIEWER) spectrum_pages.pdf&
4643
zip spectrum_pages spectrum_pages.pdf
4744

4845
# Compile the C program that generates the numbers on the scales
@@ -110,8 +107,5 @@ dist:
110107
configure: configure.ac
111108
autoconf
112109

113-
Makefile: Makefile.in config.status
114-
./config.status
115-
116110
config.status: configure
117111
[ ! -f config.status ] || ./config.status --recheck

configure

100644100755
+13-47
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,6 @@ CPPFLAGS
594594
LDFLAGS
595595
CFLAGS
596596
CC
597-
PDF_VIEWER
598597
DVIPS
599598
LATEX
600599
GS
@@ -617,6 +616,7 @@ infodir
617616
docdir
618617
oldincludedir
619618
includedir
619+
runstatedir
620620
localstatedir
621621
sharedstatedir
622622
sysconfdir
@@ -686,6 +686,7 @@ datadir='${datarootdir}'
686686
sysconfdir='${prefix}/etc'
687687
sharedstatedir='${prefix}/com'
688688
localstatedir='${prefix}/var'
689+
runstatedir='${localstatedir}/run'
689690
includedir='${prefix}/include'
690691
oldincludedir='/usr/include'
691692
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -938,6 +939,15 @@ do
938939
| -silent | --silent | --silen | --sile | --sil)
939940
silent=yes ;;
940941

942+
-runstatedir | --runstatedir | --runstatedi | --runstated \
943+
| --runstate | --runstat | --runsta | --runst | --runs \
944+
| --run | --ru | --r)
945+
ac_prev=runstatedir ;;
946+
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
947+
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
948+
| --run=* | --ru=* | --r=*)
949+
runstatedir=$ac_optarg ;;
950+
941951
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
942952
ac_prev=sbindir ;;
943953
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1075,7 +1085,7 @@ fi
10751085
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
10761086
datadir sysconfdir sharedstatedir localstatedir includedir \
10771087
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1078-
libdir localedir mandir
1088+
libdir localedir mandir runstatedir
10791089
do
10801090
eval ac_val=\$$ac_var
10811091
# Remove trailing slashes.
@@ -1228,6 +1238,7 @@ Fine tuning of the installation directories:
12281238
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
12291239
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
12301240
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1241+
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
12311242
--libdir=DIR object code libraries [EPREFIX/lib]
12321243
--includedir=DIR C header files [PREFIX/include]
12331244
--oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -1981,51 +1992,6 @@ $as_echo "no" >&6; }
19811992
fi
19821993
19831994
1984-
for ac_prog in acroread, open
1985-
do
1986-
# Extract the first word of "$ac_prog", so it can be a program name with args.
1987-
set dummy $ac_prog; ac_word=$2
1988-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1989-
$as_echo_n "checking for $ac_word... " >&6; }
1990-
if ${ac_cv_path_PDF_VIEWER+:} false; then :
1991-
$as_echo_n "(cached) " >&6
1992-
else
1993-
case $PDF_VIEWER in
1994-
[\\/]* | ?:[\\/]*)
1995-
ac_cv_path_PDF_VIEWER="$PDF_VIEWER" # Let the user override the test with a path.
1996-
;;
1997-
*)
1998-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999-
for as_dir in $PATH
2000-
do
2001-
IFS=$as_save_IFS
2002-
test -z "$as_dir" && as_dir=.
2003-
for ac_exec_ext in '' $ac_executable_extensions; do
2004-
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2005-
ac_cv_path_PDF_VIEWER="$as_dir/$ac_word$ac_exec_ext"
2006-
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2007-
break 2
2008-
fi
2009-
done
2010-
done
2011-
IFS=$as_save_IFS
2012-
2013-
;;
2014-
esac
2015-
fi
2016-
PDF_VIEWER=$ac_cv_path_PDF_VIEWER
2017-
if test -n "$PDF_VIEWER"; then
2018-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDF_VIEWER" >&5
2019-
$as_echo "$PDF_VIEWER" >&6; }
2020-
else
2021-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2022-
$as_echo "no" >&6; }
2023-
fi
2024-
2025-
2026-
test -n "$PDF_VIEWER" && break
2027-
done
2028-
20291995
20301996
# Checks for programs.
20311997
ac_ext=c

configure.ac

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ For example, run '$0 LATEX=some-other-latex'.]])
1515
}
1616

1717
AC_PATH_PROG([DVIPS], [dvips])
18-
AC_PATH_PROGS([PDF_VIEWER], [acroread, open], [])
1918

2019
# Checks for programs.
2120
AC_PROG_CC

doc/README

+9
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,17 @@ If you want to make changes and compile your own copy:
99
LaTeX
1010
Ghostscript
1111
SIunits (Tex) for the mathematical symbols.
12+
PSTricks
13+
14+
On Debian-derived systems, install the following packages:
15+
ghostscript
16+
texlive-science (for SIunits)
17+
texlive-pstricks (for PSTricks)
18+
texlive-lang-cyrillic (for Cyrillic text)
1219

1320
==========================================================================
1421
To Build from source:
1522

1623
./configure && make
24+
25+
The output is in spectrum_current.pdf

pictures/Makefile

-21
This file was deleted.

pictures/Makefile.in

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ emr.pdf: emr.tex
66
@DVIPS@ -Ppdf -G0 emrmaster.dvi -f > emrmaster.eps
77
#ps2pdf emrmaster.eps
88
@GS@ -dSAFER -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=emrmaster.pdf -dSAFER -c .setpdfwrite -f emrmaster.eps
9-
@PDF_VIEWER@ emrmaster.pdf&
109

1110
waves: waves.c
1211
cc -lm -o waves waves.c

tex/gravity.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
\begin{itemize}
66

7-
\item Gravity is the mysterious force that holds large objects together and binds our planets, stars, and galaxies together. Many people have unsuccessfully theorized about the details of gravity and its relationship to other forces. There have been no links between gravity waves and electromagnetic radiation.
7+
\item Gravity is the mysterious force which holds large objects together and binds our planets, stars, and galaxies together. Many people have unsuccessfully theorized about the details of gravity and its relationship to other forces. No links have been established between gravity waves and electromagnetic radiation.
88

99
\item Gravity is theorized to warp space and time. In fact, gravity is responsible for bending light as observed by the gravity-lens example of distant galaxies.
1010

11-
\item ``Gravitational waves" would appear as ripples in space-time formed by large objects moving through space that might possibly be detected in the future by very sensitive instruments.
11+
\item ``Gravitational waves" appear as ripples in space-time. Long theorized, a gravitational wave was first detected in 2015, and was caused by the merger of two black holes 1.4 billion light years away.
1212

13-
\item The speed that gravity propagates through space has not yet been been determined.
13+
\item The speed with which gravity propagates through space has not yet been determined.
1414

1515
\end{itemize}
1616
}

0 commit comments

Comments
 (0)