attempt to fix install on some systems (macos, linux mint) by only copying the main documentation files

FossilOrigin-Name: bedae20a6ed32c940639a2ad18bb6e0b30713b2b0ab20a84098002c35d0a21ba
This commit is contained in:
crc 2020-01-13 12:13:56 +00:00
parent c825a6b648
commit 89f46b0909
2 changed files with 3 additions and 2 deletions

View file

@ -56,9 +56,10 @@ install-data:
install-docs:
install -m 755 -d -- $(DESTDIR)$(DOCSDIR)
cp -fpR doc $(DESTDIR)$(DOCSDIR)
# cp -fpR literate $(DESTDIR)$(DOCSDIR)
install -c -m 644 README $(DESTDIR)$(DOCSDIR)/README
install -c -m 644 RELEASE-NOTES $(DESTDIR)$(DOCSDIR)/RELEASE-NOTES
install -c -m 644 doc/RETRO-Book.md $(DESTDIR)$(DOCSDIR)/RETRO-Book.md
install -c -m 644 doc/words.tsv $(DESTDIR)$(DOCSDIR)/words.tsv
install-examples:
install -m 755 -d -- $(DESTDIR)$(EXAMPLESDIR)

View file

@ -68,7 +68,7 @@ FILE-PATH 'index.html s:append file:W file:open !FID
~~~
FILE-PATH 'gophermap s:append file:W file:open !FID
'Examples\n\n s:format s:put
[ dir? &drop [ dup '0%s\texamples/%s.html\n s:format s:put ] choose ] unix:for-each-file
[ dir? &drop [ dup '0%s\t/examples/%s.html\n s:format s:put ] choose ] unix:for-each-file
@FID file:close
~~~