1
Fork 0
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:
Marius Vollmer 2002-04-17 17:38:41 +00:00
parent a44e61ac79
commit 595f15f48d

View file

@ -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