3 |
## Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. |
## Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. |
4 |
## |
## |
5 |
## This file is part of GUILE. |
## This file is part of GUILE. |
6 |
## |
## |
7 |
## GUILE is free software; you can redistribute it and/or modify |
## GUILE is free software; you can redistribute it and/or modify |
8 |
## it under the terms of the GNU General Public License as |
## it under the terms of the GNU General Public License as |
9 |
## published by the Free Software Foundation; either version 2, or |
## published by the Free Software Foundation; either version 2, or |
10 |
## (at your option) any later version. |
## (at your option) any later version. |
11 |
## |
## |
12 |
## GUILE is distributed in the hope that it will be useful, but |
## GUILE is distributed in the hope that it will be useful, but |
13 |
## WITHOUT ANY WARRANTY; without even the implied warranty of |
## WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
## GNU General Public License for more details. |
## GNU General Public License for more details. |
16 |
## |
## |
17 |
## You should have received a copy of the GNU General Public |
## You should have received a copy of the GNU General Public |
18 |
## License along with GUILE; see the file COPYING. If not, write |
## License along with GUILE; see the file COPYING. If not, write |
19 |
## to the Free Software Foundation, Inc., 59 Temple Place, Suite |
## to the Free Software Foundation, Inc., 59 Temple Place, Suite |
42 |
EXTRA_DIST = $(ice9_sources) test.scm compile-psyntax.scm |
EXTRA_DIST = $(ice9_sources) test.scm compile-psyntax.scm |
43 |
|
|
44 |
if MAINTAINER_MODE |
if MAINTAINER_MODE |
45 |
|
# We expect this to never be invoked when there is not already |
46 |
|
# ice-9/psyntax.pp in %load-path, since compile-psyntax.scm depends |
47 |
|
# on ice-9/syncase.scm, which does `(load-from-path "ice-9/psyntax.pp")'. |
48 |
|
# In other words, to bootstrap this file, you need to do something like: |
49 |
|
# GUILE_LOAD_PATH=/usr/local/share/guile/1.5.4 make psyntax.pp |
50 |
|
include $(top_srcdir)/pre-inst-guile.am |
51 |
psyntax.pp: psyntax.ss |
psyntax.pp: psyntax.ss |
52 |
GUILE_LOAD_PATH=$(srcdir)/..:.. ../libguile/guile -s $(srcdir)/compile-psyntax.scm $(srcdir)/psyntax.ss $(srcdir)/psyntax.pp |
$(preinstguile) -s $(srcdir)/compile-psyntax.scm \ |
53 |
|
$(srcdir)/psyntax.ss $(srcdir)/psyntax.pp |
54 |
endif |
endif |