mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
(dist-hook): Simplified to not use "cd"; now it works for relative
pathnames in $(distdir).
This commit is contained in:
parent
a44e61ac79
commit
595f15f48d
1 changed files with 4 additions and 5 deletions
|
@ -32,12 +32,11 @@ EXAMPLE_SMOB_FILES = \
|
||||||
OLDFMT = oldfmt.c
|
OLDFMT = oldfmt.c
|
||||||
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
|
cp $(srcdir)/$(OLDFMT) $(distdir)/
|
||||||
mkdir $(distdir)/example-smob
|
mkdir $(distdir)/example-smob
|
||||||
(cd $(srcdir); \
|
for f in $(EXAMPLE_SMOB_FILES); do \
|
||||||
cp $(OLDFMT) $(distdir); \
|
cp $(srcdir)/example-smob/$$f $(distdir)/example-smob/; \
|
||||||
dest="`cd $(distdir)/example-smob; pwd`"; \
|
done
|
||||||
cd example-smob; \
|
|
||||||
cp $(EXAMPLE_SMOB_FILES) $$dest)
|
|
||||||
|
|
||||||
# pending the papers from Robert Merkel
|
# pending the papers from Robert Merkel
|
||||||
# EXTRA_DIST = guile.1
|
# EXTRA_DIST = guile.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue