mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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
|
||||
|
||||
dist-hook:
|
||||
cp $(srcdir)/$(OLDFMT) $(distdir)/
|
||||
mkdir $(distdir)/example-smob
|
||||
(cd $(srcdir); \
|
||||
cp $(OLDFMT) $(distdir); \
|
||||
dest="`cd $(distdir)/example-smob; pwd`"; \
|
||||
cd example-smob; \
|
||||
cp $(EXAMPLE_SMOB_FILES) $$dest)
|
||||
for f in $(EXAMPLE_SMOB_FILES); do \
|
||||
cp $(srcdir)/example-smob/$$f $(distdir)/example-smob/; \
|
||||
done
|
||||
|
||||
# pending the papers from Robert Merkel
|
||||
# EXTRA_DIST = guile.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue