Line
Link Here
|
0 |
-- java/Makefile.am |
0 |
++ java/Makefile.am |
Lines 11-18
Link Here
|
11 |
|
12 |
|
12 |
CLEANFILES = ThePEG.jar thepeg.sh |
13 |
CLEANFILES = ThePEG.jar thepeg.sh |
13 |
|
14 |
|
14 |
jardir = $(pkglibdir) |
15 |
noinst_DATA = ThePEG.jar |
15 |
nodist_jar_DATA = ThePEG.jar |
|
|
16 |
|
16 |
|
17 |
dist_noinst_DATA = $(JAVASOURCES) jar-manifest |
17 |
dist_noinst_DATA = $(JAVASOURCES) jar-manifest |
18 |
|
18 |
|
Lines 34-40
Link Here
|
34 |
$(JAR) cmf ThePEG/jar-manifest ThePEG.jar ThePEG/*.class |
34 |
$(JAR) cmf ThePEG/jar-manifest ThePEG.jar ThePEG/*.class |
35 |
|
35 |
|
36 |
thepeg.sh: thepeg.install Makefile |
36 |
thepeg.sh: thepeg.install Makefile |
37 |
sed -e s:@pkglibdir[@]:$(pkglibdir):g \ |
37 |
sed -e s:@datadir[@]:$(datadir):g \ |
38 |
-e s:@bindir[@]:$(bindir):g \ |
38 |
-e s:@bindir[@]:$(bindir):g \ |
39 |
-e s:@java[@]:$(JAVA):g $(srcdir)/thepeg.install > thepeg.sh |
39 |
-e s:@java[@]:$(JAVA):g $(srcdir)/thepeg.install > thepeg.sh |
40 |
chmod +x thepeg.sh |
40 |
chmod +x thepeg.sh |
41 |
-- java/thepeg.install |
41 |
++ java/thepeg.install |
Lines 1-6
Link Here
|
1 |
#!/bin/sh |
1 |
#!/bin/sh |
2 |
|
2 |
|
3 |
pkglibdir=@pkglibdir@ |
3 |
source @datadir@/thepeg/package.env |
4 |
bindir=@bindir@ |
4 |
bindir=@bindir@ |
5 |
|
5 |
|
6 |
ThePEG_CMD="${bindir}/setupThePEG" |
6 |
ThePEG_CMD="${bindir}/setupThePEG" |
Lines 19-22
Link Here
|
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
21 |
|
22 |
exec @java@ ${HEADLESS} -jar ${pkglibdir}/ThePEG.jar ${ThePEG_CMD} "$@" |
22 |
exec @java@ ${HEADLESS} -jar ${CLASSPATH} ${ThePEG_CMD} "$@" |